Template:Test/adventure: Difference between revisions

From A KoL Wiki
imported>Dehstil
m see what it looks like indented more
imported>QuietBot
{{typo}} -> {{sic}} (496/847)
 
(7 intermediate revisions by 4 users not shown)
Line 8: Line 8:
  #switch:{{{clover}}}|
  #switch:{{{clover}}}|
   1|2=thin dashed|none}}}}; {{
   1|2=thin dashed|none}}}}; {{
#ifeq:{{{occurs}}}|rarely||border-left:medium solid; border-bottom:thin solid;}} border-color:{{
#ifeq:{{{occurs}}}|rarely||border-left:{{#ifeq:{{{nest}}}|0|thin|medium}} solid; border-bottom:thin solid;}} border-color:{{
#switch:{{{choice}}},{{{clover}}},{{{quest|}}},{{{occurs}}}|
#switch:{{{choice}}},{{{clover}}},{{{quest|}}},{{{occurs}}}|
  {{{choice}}},{{{clover}}},{{{quest|}}},rarely=red|
  {{{choice}}},{{{clover}}},{{{quest|}}},rarely=red|
  {{{choice}}},{{{clover}}},{{{quest}}},{{{occurs}}}=purple|
  {{{choice}}},{{{clover}}},{{{quest}}},{{{occurs}}}=purple|
  {{{choice}}},1,{{{quest|}}},{{{occurs}}}|{{{choice}}},2,{{{quest|}}},{{{occurs}}}=green|
  {{{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;"
  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%;" |
{{#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}}}'''
{{#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}}}'''
Line 28: Line 28:
#if:{{{quest|}}}|*This adventure occurs as part of a [[{{{quest}}}|quest]].}}{{
#if:{{{quest|}}}|*This adventure occurs as part of a [[{{{quest}}}|quest]].}}{{
#switch:{{{occurs}}}|
#switch:{{{occurs}}}|
  once per ascension=*This adventure occurs [[Ascension#One Time|once per ascension]].|
  once per ascension=*This adventure occurs [[Ascension#One-Time|once per ascension]].|
  once=*This adventure occurs only [[Ascension#Really, Really One Time|
  once=*This adventure occurs only [[Ascension#Really, Really One-Time|once per player account]].|
once per player account]].|
  rarely=*This adventure is an [[Ultra Rares|ultra-rare encounter]].}}
  rarely=*This adventure is an [[Ultra Rares|ultra-rare encounter]].}}
{{{notes|}}}
{{{notes|}}}
Line 52: Line 51:
**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
*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==
Line 96: Line 96:
  meat=0|
  meat=0|
  stat=37}}
  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|
{{test/adventure|
  name=Heart of Very, Very Dark Darkness|
  name=Heart of Very, Very Dark Darkness|
Line 150: Line 159:
  choice=1|
  choice=1|
  occurs=conditionally|
  occurs=conditionally|
quest=Defeat Felonia|
  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]].|
  subadvs={{test/adventure|name=Darker Than Dark|
  subadvs={{test/adventure|name=Darker Than Dark|
  nest=0|
   image=darkness.gif|
   image=darkness.gif|
   choice1name=Stumble around blindly|
   choice1name=Stumble around blindly|
Line 158: Line 169:
   choice=1|
   choice=1|
   occurs=conditionally|
   occurs=conditionally|
  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|
  {{test/adventure|
  nest=0|
   name=How Depressing|
   name=How Depressing|
   image=handdoor1.gif|
   image=handdoor1.gif|
Line 168: Line 179:
   choice=1|
   choice=1|
   occurs=conditionally|
   occurs=conditionally|
  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]].|
  subadvs={{test/adventure|
  subadvs={{test/adventure|
  nest=0|
   name=On the Verge of a Dirge|
   name=On the Verge of a Dirge|
   image=handdoor2.gif|
   image=handdoor2.gif|
Line 181: Line 192:
   choice=1|
   choice=1|
   occurs=conditionally|
   occurs=conditionally|
   nest=2|
   notes=*Only occurs as a choice of [[How Depressing]].|
   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.}}
  }}
  }}
  }}
}}
}}
Line 206: Line 228:


*Does not appear once you defeat [[Felonia, Queen of the Spooky Gravy Fairies]].}}
*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