Template:Test/adventure: Difference between revisions

From A KoL Wiki
imported>Dehstil
tweak, try choice stuff
imported>Dehstil
try true nesting look
Line 34: Line 34:
{{{notes|}}}
{{{notes|}}}
|}</includeonly><noinclude>{{Code2}}
|}</includeonly><noinclude>{{Code2}}
{| 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;"
|-
| 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|}}}
|-
|{{{subadvs}}}
|}


See [[Discussion#Adventure Sort Order]].
See [[Discussion#Adventure Sort Order]].
Line 48: Line 86:
**choice''n''name: Button text for the ''n''th choice
**choice''n''name: Button text for the ''n''th choice
**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
*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 101: Line 139:
  choice=1|
  choice=1|
  occurs=conditionally|
  occurs=conditionally|
  notes=*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].}}
  notes=*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].|
  {{test/adventure|name=Darker Than Dark|
  subadvs={{test/adventure|name=Darker Than Dark|
   image=darkness.gif|
   image=darkness.gif|
   choice1name=Stumble around blindly|
   choice1name=Stumble around blindly|
Line 120: Line 158:
   occurs=conditionally|
   occurs=conditionally|
   nest=1|
   nest=1|
   notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].}}
   notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].|
  {{test/adventure|
  subadvs={{test/adventure|
   name=On the Verge of a Dirge|
   name=On the Verge of a Dirge|
   image=handdoor2.gif|
   image=handdoor2.gif|
Line 134: Line 172:
   nest=2|
   nest=2|
   notes=*Only occurs as a choice of [[How Depressing]].}}
   notes=*Only occurs as a choice of [[How Depressing]].}}
}}
}}


{{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}}


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

Revision as of 01:03, 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|}}}

|}
[[{{{name}}}]]
{{{name}}}
  • Item Drops: {{{drops}}}
  • Meat Drop: {{{meat}}}
  • Substat Gain: {{{stat}}}
{{{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
  • 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
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.