Template:Test/adventure: Difference between revisions

From A KoL Wiki
imported>Dehstil
mNo edit summary
imported>QuietBot
{{typo}} -> {{sic}} (496/847)
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<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; margin:1em;"
<includeonly>{| 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:{{#ifeq:{{{nest}}}|0|thin|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:{{#expr:{{{nest|0}}}*1.5+.3}}em;{{{override|}}}"
|-
|-
| 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}}}}
| colspan="2" | '''[[{{{name}}}]]''' {{#ifeq:{{{choice}}}|1|[[File:confused.gif|link=Choice Adventures by Number]]}}{{#switch:{{{clover}}}|1|2=[[File:clover.gif|link=Clover Adventures]]}}{{#if:{{{quest|}}}|[[File:timesword.gif|link=Quest Spoilers]]}}{{#ifeq:{{{occurs}}}|rarely|[[File:pebbles.gif|link=Ultra Rares]]}}
|-
|-
| [[Image:{{{image|nopic.gif}}}|{{{name}}}]]
| [[File:{{{image|nopic.gif}}}|{{{name}}}]]
| style="width:100%;" |
| style="width:100%;" |
*'''Item Drops:''' {{{drops}}}
{{#ifeq:{{{choice|0}}}|1|{{#if:{{{choice1name|}}}|*'''{{{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}}}'''
*'''Meat Drop:''' {{{meat}}}
{{#if:{{{choice5|}}}|<nowiki>:</nowiki> {{{choice5}}}}}}}}}|*'''Item Drops''': {{{drops}}}
*'''Substat Gain:''' {{{stat}}}
*'''Meat Drop''': {{{meat}}}
{{#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]].}}
*'''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|}}}
{{{notes|}}}
|}</includeonly><noinclude>
|-
 
| colspan="2" |
{{Code2}}
{{{subadvs|}}}
|}</includeonly><noinclude>{{Code2}}


See [[Discussion#Adventure Sort Order]].
See [[Discussion#Adventure Sort Order]].
Line 20: Line 43:
*image: The adventure image
*image: The adventure image
*occurs: The occurrence rate of the adventure ([normally], conditionally, once, once per ascension, or rarely)
*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=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.
**choice''n''name: Button text 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 (temporary behavior before editing monobook.css: nest=0 makes left border thin)
*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.
*notes: Bulleted list of extra adventure notes
*notes: Bulleted list of extra adventure notes
*override: temporary parameter to inject css directly into a block for previewing without changing the template


==Examples==
==Examples==
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=rare|choice=1|clover=1|quest=Toot Oriole Quest}}
{{test/adventure|
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=normally}}
name=Forward to the Past|
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=conditionally}}
image=keaton.gif|
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once|choice=1|clover=1|quest=Toot Oriole Quest}}
occurs=rarely|clover=1|
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once per ascension|choice=1|clover=1}}
quest=Toot Oriole Quest|
{{test/adventure|name=Forward to the Past|image=keaton.gif|occurs=once per ascension|choice=1|notes=*This is a note.}}
drops=none|
meat=0|
stat=37}}
{{test/adventure|
name=Forward to the Past|
image=keaton.gif|
occurs=normally|
drops=none|
meat=0|
stat=37}}
{{test/adventure|
name=Forward to the Past|
image=keaton.gif|
occurs=conditionally|
drops=none|
meat=0|
stat=37}}
{{test/adventure|
name=Forward to the Past|
image=keaton.gif|
occurs=once|
clover=2|
quest=Toot Oriole Quest|
drops=none|
meat=0|
stat=37}}
{{test/adventure|
name=Forward to the Past|
image=keaton.gif|
occurs=once per ascension|
clover=1|drops=none|
meat=0|
stat=37}}
{{test/adventure|
name=Forward to the Past|
image=wagon.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=once}}
 
==Examples 1==
{{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]].}}
{{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]].}}
{{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]].}}
 
{{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|
quest=Defeat Felonia|
notes=*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].|
subadvs={{test/adventure|name=Darker Than Dark|
  nest=0|
  image=darkness.gif|
  choice1name=Stumble around blindly|
  choice1=Lose all [[HP]], get [[Beaten Up]]|
  choice2name=Leave the cave|
  choice=1|
  occurs=conditionally|
  notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].}}
{{test/adventure|
  nest=0|
  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|
  notes=*Only occurs as a choice of [[Heart of Very, Very Dark Darkness]].|
subadvs={{test/adventure|
  nest=0|
  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|
  notes=*Only occurs as a choice of [[How Depressing]].|
  subadvs={{test/combat|
  name=Felonia, Queen of the Spooky Gravy Fairies|
  drops=[[spooky bicycle chain]], [[spooky cosmetics bag]], [[miniature carton of clove cigarettes]]*|
  meat=0|
  stat=15|
  image=Felonia.gif|
  element=spooky|
  level=?|
  hp=115|
  notes=*Only occurs as a choice of [[On the Verge of a Dirge]].
*The [[miniature carton of clove cigarettes]] only drops if you defeat her with a [[Spooky Gravy Fairy]] equipped.}}
  }}
}}
}}
 
==Examples 3==
{{test/adventure|
name=Heart of Very, Very Dark Darkness|
image=darkness.gif|
choice=1|
occurs=conditionally|
notes=*'''Enter the cave'''
**''With [[inexplicably glowing rock]]'': [[How Depressing]]
***'''Put your hand in the depression'''
****''With [[spooky glove]] equipped'': [[On the Verge of a Dirge]]
*****'''Enter the chamber''': Fight [[Felonia, Queen of the Spooky Gravy Fairies]]
*****'''Enter the chamber (No Other Possibility)''': Fight [[Felonia, Queen of the Spooky Gravy Fairies]]
*****'''Enter the chamber (Seriously).''': Fight [[Felonia, Queen of the Spooky Gravy Fairies]]
***'''Leave'''
**''Without'': [[Darker Than Dark]]
***'''Stumble around blindly''': Lose all [[HP]], get [[Beaten Up]]
***'''Leave the cave'''
*'''Don't enter the cave'''
 
*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].}}
 
==Eternal Example==
{{test/adventure|
name=The Warehouse of Eternal Stench|
image=darkness.gif|
choice=1|
occurs=conditionally|
notes=*'''Enter the mansion'''
**''With [[inexplicably glowing rock|enough sanity]]'': [[File:Handdoor1.gif|35px]] [[How Depressing|Insanity!]]
***'''Put your hand in the depression'''
****''With [[spooky glove|Magick]]'': [[File:Handdoor2.gif|35px]] [[On the Verge of a Dirge|The Darkness Approaches]]
*****'''Enter Chamber 1''': [[File:Minotaur.gif|35px]] Fight [[Felonia, Queen of the Spooky Gravy Fairies|Ulyaoth]]
*****'''Enter Chamber 2''': [[File:Haiku9.gif|35px]] Fight [[Felonia, Queen of the Spooky Gravy Fairies|Xel'lotath]]
*****'''Enter Chamber 3''': [[File:Satyr.gif|35px]] Fight [[Felonia, Queen of the Spooky Gravy Fairies|Chattur'gha]]
***'''Leave'''
**''Without'': [[File:Darkness.gif|35px]] [[Darker Than Dark]]
***'''Stumble around blindly''': Lose all [[HP]], get [[Beaten Up]]
***'''Leave the mansion'''
*'''Don't enter the mansion'''}}


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

Latest revision as of 13:20, 10 June 2014

{| 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:{{#ifeq:{{{nest}}}|0|thin|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:{{#expr:{{{nest|0}}}*1.5+.3}}em;{{{override|}}}" |- | colspan="2" | '''[[{{{name}}}]]''' {{#ifeq:{{{choice}}}|1|[[File:confused.gif|link=Choice Adventures by Number]]}}{{#switch:{{{clover}}}|1|2=[[File:clover.gif|link=Clover Adventures]]}}{{#if:{{{quest|}}}|[[File:timesword.gif|link=Quest Spoilers]]}}{{#ifeq:{{{occurs}}}|rarely|[[File:pebbles.gif|link=Ultra Rares]]}} |- | [[File:{{{image|nopic.gif}}}|{{{name}}}]] | style="width:100%;" | {{#ifeq:{{{choice|0}}}|1|{{#if:{{{choice1name|}}}|*'''{{{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 (temporary behavior before editing monobook.css: nest=0 makes left border thin)
  • 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
  • override: temporary parameter to inject css directly into a block for previewing without changing the template

Examples

Forward to the Past
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
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
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.
Forward to the Past
Forward to the Past

Examples 1

Heart of Very, Very Dark Darkness
Heart of Very, Very Dark Darkness
Darker Than Dark
Darker Than Dark
How Depressing
How Depressing
On the Verge of a Dirge
On the Verge of a Dirge
Forward to the Past
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
Heart of Very, Very Dark Darkness
Darker Than Dark
Darker Than Dark
How Depressing
How Depressing
On the Verge of a Dirge
On the Verge of a Dirge
Felonia, Queen of the Spooky Gravy Fairies
Felonia, Queen of the Spooky Gravy Fairies
  • Item Drops: spooky bicycle chain, spooky cosmetics bag, miniature carton of clove cigarettes*
  • Meat Drop: 0
  • Substat Gain: 15
  • Monster Level: ?
  • Moxie for No Hit*: ?
  • Hit Points: 115
  • Elemental Resistance: {{element|spooky|}}
  • Elemental Weakness: hot and stench
  • Only occurs as a choice of On the Verge of a Dirge.
  • The miniature carton of clove cigarettes only drops if you defeat her with a Spooky Gravy Fairy equipped.

Examples 3

Heart of Very, Very Dark Darkness
Heart of Very, Very Dark Darkness

Eternal Example

The Warehouse of Eternal Stench
The Warehouse of Eternal Stench