Difference between revisions of "Template:Encounter"

From Twilight Heroes Wiki
Jump to: navigation, search
m (grrr...)
m (missed the other align=top; get rid of extra spaces)
Line 4: Line 4:
  
 
{{{desc}}}
 
{{{desc}}}
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
+
|valign="top" |<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
 
|}
 
|}
  
Line 11: Line 11:
 
{{#if:{{{loc2|}}}|*[[{{{loc2}}}]]}}
 
{{#if:{{{loc2|}}}|*[[{{{loc2}}}]]}}
 
{{#if:{{{loc3|}}}|*[[{{{loc3}}}]]}}
 
{{#if:{{{loc3|}}}|*[[{{{loc3}}}]]}}
 
+
{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Adventures|{{PAGENAME}}]]}}</includeonly><noinclude>
{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Adventures|{{PAGENAME}}]]}}</includeonly>
 
 
 
<noinclude>
 
 
==Template==
 
==Template==
 
<pre>
 
<pre>

Revision as of 21:29, 13 March 2008

Template

{{encounter
|name=
|image=
|desc=
|loc1=
|loc2=
|loc3=}}

Usage

Adding...

{{encounter
|name=Jackpot!
|image=jackpot.gif
|desc=On your way through the casino, on a whim you drop a chip into one of the machines. You watch as, surprisingly, all the right pictures line up. Lights start flashing and sirens blare out at you, while chips start pouring out of the slot machine. Jackpot, baby, yeah!
|loc1=Golden Wooden Nickel Casino}}

Results in...

Jackpot.gif

On your way through the casino, on a whim you drop a chip into one of the machines. You watch as, surprisingly, all the right pictures line up. Lights start flashing and sirens blare out at you, while chips start pouring out of the slot machine. Jackpot, baby, yeah!

Location(s)



Notes