Template:Test/adventure: Difference between revisions

From A KoL Wiki
imported>Dehstil
m rv. eh, not particularly as pretty as indenting
imported>Dehstil
m eh, leave both ways for now
Line 33: Line 33:
  rarely=*This adventure is an [[Ultra Rares|ultra-rare encounter]].}}
  rarely=*This adventure is an [[Ultra Rares|ultra-rare encounter]].}}
{{{notes|}}}
{{{notes|}}}
|-
| colspan="2" |
{{{subadvs|}}}
|}</includeonly><noinclude>{{Code2}}
|}</includeonly><noinclude>{{Code2}}


Line 49: Line 52:
**choice''n'': Result for the ''n''th choice
**choice''n'': Result for the ''n''th choice
*nest: the level of nesting as part of a choice adventure
*nest: the level of nesting as part of a choice adventure
*subadvs: a block of subadventures for a choice adventure
*clover: Set to 1 if the adventure is the only clover adventure for that location. Set to 2 to the adventure is one of multiple clover adventures for that location.
*clover: Set to 1 if the adventure is the only clover adventure for that location. Set to 2 to the adventure is one of multiple clover adventures for that location.
*quest: Set to the quest page name if related to a quest.
*quest: Set to the quest page name if related to a quest.
Line 136: Line 140:


{{test/adventure|name=Forward to the Past|image=keaton.gif|clover=1|drops=none|meat=0|stat=37}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|clover=1|drops=none|meat=0|stat=37}}
==Examples 2==
{{test/adventure|
name=Heart of Very, Very Dark Darkness|
image=darkness.gif|
choice1name=Enter the cave|
choice1=With [[inexplicably glowing rock]], [[How Depressing]], else [[Darker Than Dark]].|
choice2name=Don't enter the cave|
choice=1|
occurs=conditionally|
notes=*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].|
subadvs={{test/adventure|name=Darker Than Dark|
  image=darkness.gif|
  choice1name=Stumble around blindly|
  choice1=Lose all [[HP]], get [[Beaten Up]]|
  choice2name=Leave the cave|
  choice=1|
  occurs=conditionally|
  nest=1|
  notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].}}
{{test/adventure|
  name=How Depressing|
  image=handdoor1.gif|
  choice1name=Put your hand in the depression|
  choice1=With [[spooky glove]] equipped: [[On the Verge of a Dirge]]|
  choice2name=Leave|
  choice=1|
  occurs=conditionally|
  nest=1|
  notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].|
subadvs={{test/adventure|
  name=On the Verge of a Dirge|
  image=handdoor2.gif|
  choice1name=Enter the chamber|
  choice1=Fight [[Felonia, Queen of the Spooky Gravy Fairies]]|
  choice2name=Enter the chamber (No Other Possibility)|
  choice2=Fight [[Felonia, Queen of the Spooky Gravy Fairies]]|
  choice3name=Enter the chamber (Seriously).|
  choice3=Fight [[Felonia, Queen of the Spooky Gravy Fairies]]|
  choice=1|
  occurs=conditionally|
  nest=2|
  notes=*Only occurs as a choice of [[How Depressing]].}}
}}
}}


[[Category:Test Templates| {{PAGENAME}}]]</noinclude>
[[Category:Test Templates| {{PAGENAME}}]]</noinclude>

Revision as of 01:13, 24 January 2007

{| style="border:{{

#switch:{{{occurs}}}| conditionally=thin dashed| once per ascension| once=thin solid| rarely=medium double| normally|{{ #switch:{{{clover}}}| 1|2=thin dashed|none}}}}; {{ #ifeq:{{{occurs}}}|rarely||border-left:medium solid; border-bottom:thin solid;}} border-color:{{ #switch:{{{choice}}},{{{clover}}},{{{quest|}}},{{{occurs}}}| {{{choice}}},{{{clover}}},{{{quest|}}},rarely=red| {{{choice}}},{{{clover}}},{{{quest}}},{{{occurs}}}=purple| {{{choice}}},1,{{{quest|}}},{{{occurs}}}|{{{choice}}},2,{{{quest|}}},{{{occurs}}}=green| 1,{{{clover}}},{{{quest|}}},{{{occurs}}}=blue}}; width:100%; padding:.5em; margin:.3em; margin-left:{{{nest|0}}}.3em;" |- | colspan="2" | '''[[{{{name}}}]]''' {{#ifeq:{{{choice}}}|1|{{click|image=confused.gif|link=Choice Adventures by Number}}}}{{#switch:{{{clover}}}|1|2={{click|image=clover.gif|link=Clover Adventures}}}}{{#if:{{{quest|}}}|{{click|image=timesword.gif|link=Quest Spoilers}}}}{{#ifeq:{{{occurs}}}|rarely|{{click|image=pebbles.gif|link=Ultra Rares}}}} |- | [[Image:{{{image|nopic.gif}}}|{{{name}}}]] | style="width:100%;" | {{#ifeq:{{{choice|0}}}|1|*'''{{{choice1name}}}'''{{#if:{{{choice1|}}}|<nowiki>:</nowiki> {{{choice1}}}}}{{#if:{{{choice2name|}}}|*'''{{{choice2name}}}'''{{#if:{{{choice2|}}}|<nowiki>:</nowiki> {{{choice2}}}}}}}{{#if:{{{choice3name|}}}|*'''{{{choice3name}}}'''{{#if:{{{choice3|}}}|<nowiki>:</nowiki> {{{choice3}}}}}}}{{#if:{{{choice4name|}}}|*'''{{{choice4name}}}'''{{#if:{{{choice4|}}}|<nowiki>:</nowiki> {{{choice4}}}}}}}{{#if:{{{choice5name|}}}|*'''{{{choice5name}}}''' {{#if:{{{choice5|}}}|<nowiki>:</nowiki> {{{choice5}}}}}}}|*'''Item Drops''': {{{drops}}} *'''Meat Drop''': {{{meat}}} *'''Substat Gain''': {{{stat}}}}}{{ #switch:{{{clover}}}| 1=*This adventure is triggered whenever you adventure here with a [[ten-leaf clover]] in your inventory.| 2=*Either this or another adventure is triggered when you adventure here with a [[ten-leaf clover]] in your inventory.}}{{ #if:{{{quest|}}}|*This adventure occurs as part of a [[{{{quest}}}|quest]].}}{{ #switch:{{{occurs}}}| once per ascension=*This adventure occurs [[Ascension#One Time|once per ascension]].| once=*This adventure occurs only [[Ascension#Really, Really One Time| once per player account]].| rarely=*This adventure is an [[Ultra Rares|ultra-rare encounter]].}} {{{notes|}}} |- | colspan="2" | {{{subadvs|}}}

|}

See Discussion#Adventure Sort Order.

Usage

  • name: The adventure name
  • image: The adventure image
  • occurs: The occurrence rate of the adventure ([normally], conditionally, once, once per ascension, or rarely)
  • choice=0: if the adventure is not a choice adventure.
    • drops: The adventure's item drops
    • meat: The adventure's meat drop
    • stat: The adventure's substat gain
  • choice=1: if the adventure is a choice adventure.
    • choicenname: Button text for the nth choice
    • choicen: Result for the nth choice
  • nest: the level of nesting as part of a choice adventure
  • subadvs: a block of subadventures for a choice adventure
  • clover: Set to 1 if the adventure is the only clover adventure for that location. Set to 2 to the adventure is one of multiple clover adventures for that location.
  • quest: Set to the quest page name if related to a quest.
  • notes: Bulleted list of extra adventure notes

Examples

Forward to the Past Template:ClickTemplate:ClickTemplate:Click
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
  • This adventure is triggered whenever you adventure here with a ten-leaf clover in your inventory.
  • This adventure occurs as part of a quest.
  • This adventure is an ultra-rare encounter.
Forward to the Past
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
Forward to the Past
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
Forward to the Past Template:ClickTemplate:Click
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
  • Either this or another adventure is triggered when you adventure here with a ten-leaf clover in your inventory.
  • This adventure occurs as part of a quest.
  • This adventure occurs only once per player account.
Forward to the Past Template:Click
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
  • This adventure is triggered whenever you adventure here with a ten-leaf clover in your inventory.
  • This adventure occurs once per ascension.
Heart of Very, Very Dark Darkness Template:Click
Heart of Very, Very Dark Darkness
Darker Than Dark Template:Click
Darker Than Dark
How Depressing Template:Click
How Depressing
On the Verge of a Dirge Template:Click
On the Verge of a Dirge
Forward to the Past Template:Click
Forward to the Past
  • Item Drops: none
  • Meat Drop: 0
  • Substat Gain: 37
  • This adventure is triggered whenever you adventure here with a ten-leaf clover in your inventory.

Examples 2

Heart of Very, Very Dark Darkness Template:Click
Heart of Very, Very Dark Darkness
Darker Than Dark Template:Click
Darker Than Dark
How Depressing Template:Click
How Depressing
On the Verge of a Dirge Template:Click
On the Verge of a Dirge