Template:Test/adventure

From A KoL Wiki
{| 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