Template:Adventure
From TheKolWiki
{{Adventure}} <includeonly>{{#if:{{{noline|}}}| |----}}
{| style="margin-left: {{#expr: {{{nest|0}}} * 2}}em;"
|-
| colspan="2" | '''[[{{{name}}}]]'''
|-
| {{#if:{{{image|}}}|{{#ifexist:{{{name}}}|{{click|image={{{image}}}|link={{{name}}}}}|[[Image:{{{image}}}|{{{name}}}]]}}}}
|{{#if:{{{drops|}}}|*'''Item Drops:''' {{{drops}}}<br>}}{{#if:{{{meat|}}}|*'''Meat Drops:''' {{{meat}}}<br>}}{{#if:{{{stat|}}}|*'''Substat Gain:''' {{{stat}}}}}{{#if:{{{note1|}}}|*''Note:'' {{{note1}}}<br>}}{{#if:{{{note2|}}}|*''Note:'' {{{note2}}}<br>}}{{#if:{{{note3|}}}|*''Note:'' {{{note3}}}<br>}}{{#if:{{{note4|}}}|*''Note:'' {{{note4}}}}}
|}</includeonly><noinclude>
{{Code2}}
==Usage==
{{adventure|
noline=1|
name=''adventure name''|
image=''image name''.gif|
drops=''item drops''|
meat=''meat drops''|
stats=''stat gains''|
note1=''additional notes''|
note2=''additional notes''|
note3=''additional notes''|
note4=''additional notes''|
}}
- "drops", "meat", "stats", and fields should only be included if they are relevant to the adventure. For instance, if an adventure gives 20 meat and an ice cold beer, the "drops" and "meat" field should be included, while the "stat" field should be omitted.
- Similarly, only include the "note" fields when there is something to note about the adventure.
- Only include "noline" when there is a reason to suppress the line above the adventure summary. Otherwise, omit it.
==Examples==
<nowiki>{{adventure|
name=Bar! Bar!|
stat=4 (Moxie)|
image=bar.gif}}</nowiki>
{{adventure|name=Bar! Bar!|stat=4 (Moxie)|image=bar.gif}}
<nowiki>{{adventure|
name=Gravy Ring|
drops=3 [[spooky mushroom]]s|
image=haiku6.gif}}</nowiki>
{{adventure|name=Gravy Ring|drops=3 [[spooky mushroom]]s|image=haiku6.gif}}
<nowiki>{{adventure|
name=Radio Decomposer|
meat=50|
image=wagon.gif}}</nowiki>
{{adventure|name=Radio Decomposer|meat=50|image=wagon.gif}}
<nowiki>{{adventure|
name=The Ghost of Dr. Hobo Jones|
drops=[[Dr. Hobo's map]]|
note1=A [[Ascension#One Time|one time]] adventure.|
image=hoboghost.gif}}</nowiki>
{{adventure|name=The Ghost of Dr. Hobo Jones|drops=[[Dr. Hobo's map]]|note1=A [[Ascension#One Time|one time]] adventure.|image=hoboghost.gif}}
<nowiki>{{adventure|
name=A Funny Thing Happened...|
meat=75|
note1=<font color=red>Lose</font> 1 HP|
note2=A [[Ascension#One Time|one time]] adventure.|
image=chest.gif}}</nowiki>
{{adventure|name=A Funny Thing Happened...|meat=75|note1=<font color=red>Lose</font> 1 HP|note2=A [[Ascension#One Time|one time]] adventure.|image=chest.gif}}
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
Usage
{{adventure|
noline=1|
name=adventure name|
image=image name.gif|
drops=item drops|
meat=meat drops|
stats=stat gains|
note1=additional notes|
note2=additional notes|
note3=additional notes|
note4=additional notes|
}}
- "drops", "meat", "stats", and fields should only be included if they are relevant to the adventure. For instance, if an adventure gives 20 meat and an ice cold beer, the "drops" and "meat" field should be included, while the "stat" field should be omitted.
- Similarly, only include the "note" fields when there is something to note about the adventure.
- Only include "noline" when there is a reason to suppress the line above the adventure summary. Otherwise, omit it.
Examples
{{adventure|
name=Bar! Bar!|
stat=4 (Moxie)|
image=bar.gif}}
{{adventure|
name=Gravy Ring|
drops=3 [[spooky mushroom]]s|
image=haiku6.gif}}
{{adventure|
name=Radio Decomposer|
meat=50|
image=wagon.gif}}
{{adventure|
name=The Ghost of Dr. Hobo Jones|
drops=[[Dr. Hobo's map]]|
note1=A [[Ascension#One Time|one time]] adventure.|
image=hoboghost.gif}}
{{adventure|
name=A Funny Thing Happened...|
meat=75|
note1=<font color=red>Lose</font> 1 HP|
note2=A [[Ascension#One Time|one time]] adventure.|
image=chest.gif}}
|