Difference between revisions of "Template:Encounter"
From Twilight Heroes Wiki
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== | ||
− | + | <pre> | |
− | |name= | + | {{encounter |
− | |image= | + | |name= |
− | |desc=}}</ | + | |image= |
+ | |desc= | ||
+ | |loc1= | ||
+ | |loc2= | ||
+ | |loc3=}} | ||
+ | </pre> | ||
==Usage== | ==Usage== | ||
'''Adding...''' | '''Adding...''' | ||
− | <nowiki> | + | <nowiki>{{</nowiki>encounter<br /> |
− | {{ | + | |name=Jackpot!<br /> |
− | |name=Jackpot!</ | + | |image=jackpot.gif<br /> |
− | |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!<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 |
− | | | + | |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 |
− | | | + | |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 20: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...
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
- This template autocategorizes the pages it's used on into the noncombat adventure category.