Template:AcquireEffect

From TheKolWiki
Revision as of 18:36, 24 February 2016 by Fig bucket (Talk | contribs) (add a nosome option for cowrruption)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Chest.gif This high-use template has been protected from editing to prevent inaccurate edits and/or vandalism. Please use the talk page to discuss changes, and/or to ask an administrator to make an edit for you.
{{AcquireEffect}}
<table align="center"><tr><td valign="middle">{{#if:{{{effect|}}}|[[File:{{Data|{{{effect}}}|image|nopic2.gif}}|link={{{effect|}}}]]|[[File:confused.gif|Something]]}}</td><td valign="middle">You {{#ifeq:{{{type|gain}}}|lose|lose{{#if:{{{duration|}}}|{{#if:{{{nosome|}}}||&nbsp;some of}}}}|acquire}} an effect: {{#if:{{{effect|}}}|'''[[{{{effect}}}|{{Data|{{{effect}}}|name|{{{effect}}}(?)}}]]'''|... something}}{{#ifeq:{{{type|gain}}}|lose|{{#if:{{{duration|}}}|&nbsp;({{{duration}}} [[Adventures|{{plural:{{{duration}}}|Adventure|Adventures}}]])}}|<br />(duration: {{{duration|?}}} [[Adventures|{{plural:{{{duration}}}|Adventure|Adventures}}]])}}{{#ifexist:Data:{{{effect}}}||<span style="display:none">[[Data:{{{effect}}}]]</span>}}</td></tr></table>

Syntax

{{acquireEffect|effect=Hernia!|duration=5}}
Hernia.gifYou acquire an effect: Hernia!
(duration: 5 Adventures)
{{acquireEffect|effect=Knob Goblin Perfume|duration=1}}
Spraycan.gifYou acquire an effect: Knob Goblin Perfume
(duration: 1 Adventure)
{{acquireEffect|effect=Enraged}}
Angry.gifYou acquire an effect: Enraged
(duration: ? Adventures)
{{acquireEffect|effect=new unrecognized effect}}
Nopic2.gifYou acquire an effect: new unrecognized effect(?)
(duration: ? Adventures)Data:new unrecognized effect
{{acquireEffect|effect=Enraged|type=lose}}
Angry.gifYou lose an effect: Enraged
{{acquireEffect|effect=Sugar Rush|type=lose|duration=1}}
Hoppedup.gifYou lose some of an effect: Sugar Rush (1 Adventure)
{{acquireEffect|effect=Sugar Rush|type=lose|duration=3|nosome=1}}
Hoppedup.gifYou lose an effect: Sugar Rush (3 Adventures)
{{acquireEffect}}
SomethingYou acquire an effect: ... something
(duration: ? Adventures)[[Data:{{{effect}}}]]