Template:Test/adventure: Difference between revisions

From A KoL Wiki
imported>Dehstil
test
 
imported>Dehstil
m tweak
Line 1: Line 1:
<includeonly>{| style="border:thin {{switch:{{occur}}|conditional=dashed|once=solid|rare=double|normal|none}}; border-left:medium solid; border-color:{{switch:{{{choice}}},{{{clover}}},{{{quest|}}},{{{rare}}}|{{{choice}}},{{{clover}}},{{{quest|}}},1=red|{{{choice}}},{{{clover}}},{{{quest}}},{{{rare}}}=purple|{{{choice}}},1,{{{quest|}}},{{{rare}}}|{{{choice}}},2,{{{quest|}}},{{{rare}}}=green|1,{{{clover}}},{{{quest|}}},{{{rare}}}=blue}}; width:100%; padding:.5em;"
<includeonly>{| style="border:thin {{switch:{{{occurs}}}|conditionally=dashed|once per ascension|once=solid|rarely=double|normally|none}}; border-left:medium 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;"
|-
|-
| 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=image=timesword.gif|link=Quest Spoilers}}}}{{ifeq:{{{rare}}}|1|{{click|image=pebbles.gif|link=Ultra Rares}}}}
| 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=image=timesword.gif|link=Quest Spoilers}}}}{{ifeq:{{{occurs}}}|rarely|{{click|image=pebbles.gif|link=Ultra Rares}}}}
|-
|-
| [[Image:{{{image|nopic.gif}}}|{{{name}}}]]
| [[Image:{{{image|nopic.gif}}}|{{{name}}}]]
Line 8: Line 8:
*'''Meat Drop:''' {{{meat}}}
*'''Meat Drop:''' {{{meat}}}
*'''Substat Gain:''' {{{stat}}}
*'''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]].}}{{ifeq:{{{rare}}}|1|*This adventure in an [[Ultra Rares|ultra-rare encounter]].}}{{{notes}}}
{{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}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>


Line 18: Line 18:
*name: The adventure name
*name: The adventure name
*image: The adventure image
*image: The adventure image
*occur: The occurrence rate of the adventure (conditional,once,rare,[normal])
*occurs: The occurrence rate of the adventure ([normally], conditionally, once, once per ascension, or rarely)
*choice: Set to 1 if the adventure is a choice adventure.
*choice: Set to 1 if the adventure is 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 name if related to a quest
*quest: Set to the quest page name if related to a quest.
*rare: Set to 1 if the adventure is an ultra-rare encounter.
*notes: Bulleted list of extra adventure notes
*notes: Bulleted list of extra adventure notes
==Examples==
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=rare|choice=1|clover=1|quest=Toot Oriole Quest}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=normally}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=conditionally}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once|choice=1|clover=1|quest=Toot Oriole Quest}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once per ascension|choice=1|clover=1}}
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once per ascension|choice=1|notes=*This is a note.}}


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

Revision as of 23:48, 21 January 2007


{| style="border:thin {{switch:{{{occurs}}}|conditionally=dashed|once per ascension|once=solid|rarely=double|normally|none}}; border-left:medium 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;"

|- | 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=image=timesword.gif|link=Quest Spoilers}}}}{{ifeq:{{{occurs}}}|rarely|{{click|image=pebbles.gif|link=Ultra Rares}}}} |- | [[Image:{{{image|nopic.gif}}}|{{{name}}}]] | style="width:100%;" | *'''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}}}

|}

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: Set to 1 if the adventure is 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:Ifeq:1Template:Switch:1Template:If:Toot Oriole QuestTemplate:Ifeq:rare
Forward to the Past
  • Item Drops: {{{drops}}}
  • Meat Drop: {{{meat}}}
  • Substat Gain: {{{stat}}}

Template:Switch:1Template:If:Toot Oriole QuestTemplate:Switch:rare{{{notes}}}

Forward to the Past {{ifeq:{{{choice}}}|1|Template:Click}}{{switch:{{{clover}}}|1|2=Template:Click}}Template:If:Template:Ifeq:normally
Forward to the Past
  • 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.}}Template:If:Template:Switch:normally{{{notes}}}

Forward to the Past {{ifeq:{{{choice}}}|1|Template:Click}}{{switch:{{{clover}}}|1|2=Template:Click}}Template:If:Template:Ifeq:conditionally
Forward to the Past
  • 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.}}Template:If:Template:Switch:conditionally{{{notes}}}

Forward to the Past Template:Ifeq:1Template:Switch:1Template:If:Toot Oriole QuestTemplate:Ifeq:once
Forward to the Past
  • Item Drops: {{{drops}}}
  • Meat Drop: {{{meat}}}
  • Substat Gain: {{{stat}}}

Template:Switch:1Template:If:Toot Oriole QuestTemplate:Switch:once{{{notes}}}

Forward to the Past Template:Ifeq:1Template:Switch:1Template:If:Template:Ifeq:once per ascension
Forward to the Past
  • Item Drops: {{{drops}}}
  • Meat Drop: {{{meat}}}
  • Substat Gain: {{{stat}}}

Template:Switch:1Template:If:Template:Switch:once per ascension{{{notes}}}

Forward to the Past Template:Ifeq:1{{switch:{{{clover}}}|1|2=Template:Click}}Template:If:Template:Ifeq:once per ascension
Forward to the Past
  • 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.}}Template:If:Template:Switch:once per ascension*This is a note.