Difference between revisions of "Template:Encounter"

From Twilight Heroes Wiki
Jump to: navigation, search
m (example didn't match parameter)
(add location/alignment is weird...)
Line 1: Line 1:
<includeonly>{|
+
<includeonly>__NOTOC__{|
 
|width="700"|<font size="+2" color="990000">{{{name}}}</font>
 
|width="700"|<font size="+2" color="990000">{{{name}}}</font>
  
Line 5: Line 5:
 
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
 
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
 
|}
 
|}
[[Category:Noncombat Adventures|{{PAGENAME}}]]</includeonly>
+
 
 +
==Location(s)==
 +
*[[{{{loc1}}}]]
 +
*{{#if:{{{loc2|}}}|*[[{{{loc2}}}]]}}
 +
*{{#if:{{{loc3|}}}|*[[{{{loc3}}}]]}}
 +
 
 +
{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Adventures|{{PAGENAME}}]]}}</includeonly>
  
 
<noinclude>
 
<noinclude>
 
==Template==
 
==Template==
'''<nowiki>{{encounter</nowiki><br><nowiki>
+
<pre>
|name=</nowiki><br><nowiki>
+
{{encounter
|image=</nowiki><br><nowiki>
+
|name=
|desc=}}</nowiki>'''
+
|image=
 +
|desc=
 +
|loc1=
 +
|loc2=
 +
|loc3=}}
 +
</pre>
  
 
==Usage==
 
==Usage==
 
'''Adding...'''
 
'''Adding...'''
  
<nowiki>
+
<nowiki>{{</nowiki>encounter<br />
{{encounter</nowiki><br><nowiki>
+
|name=Jackpot!<br />
|name=Jackpot!</nowiki><br><nowiki>
+
|image=jackpot.gif<br />
|image=jackpot.gif</nowiki><br><nowiki>
+
|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!<br />
|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!</nowiki>
+
|loc1=Golden Wooden Nickel Casino<nowiki>}}</nowiki>
  
 
'''Results in...'''
 
'''Results in...'''
{|
+
{{encounter
|width="700"|<font size="+2" color="990000">Jackpot!</font>
+
|name=Jackpot!
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!
+
|image=jackpot.gif
|<table cellpadding="3"><td style="background-color: black;">[[image:jackpot.gif]]</td></table>
+
|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
 +
|nocat=1}}
  
 
==Notes==
 
==Notes==

Revision as of 21:20, 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