Difference between revisions of "Template:GainGetEffectUsage"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
The {{tl|GainEffect}} and {{tl|GetEffect}} templates should be used whenever an effect is gained. Currently they just standardize the looks, although in the future they might do more than that.
+
The {{tl|GainEffect}}, {{tl|GetEffect}} and {{tl|AcquireEffect}} templates should be used whenever an effect is gained. Currently they just standardize the looks, although in the future they might do more than that.
 +
 
 +
{{tl|GainEffect}} are {{tl|GetEffect}} are used when an effect is gained from using an item. {{tl|AcquireEffect}} is used when a detrimental effect is acquired from a foe.
  
 
==Usage==
 
==Usage==
Line 18: Line 20:
  
 
'''<nowiki>{{GetEffect|Effect Name}}</nowiki>'''
 
'''<nowiki>{{GetEffect|Effect Name}}</nowiki>'''
 +
 +
* When a detrimental effect is acquired from a foe:
 +
 +
'''<nowiki>{{AcquireEffect|Effect Name|time}}</nowiki>'''
  
 
==Examples==
 
==Examples==
Line 28: Line 34:
  
 
'''<nowiki>{{GetEffect|Feelin' Festive}}</nowiki>''':{{GetEffect|Feelin' Festive}}
 
'''<nowiki>{{GetEffect|Feelin' Festive}}</nowiki>''':{{GetEffect|Feelin' Festive}}
 +
 +
'''<nowiki>{{AcquireEffect|Weakened|30}}</nowiki>''':{{AcquireEffect|Weakened|30}}
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 02:09, 23 October 2009

The {{GainEffect}}, {{GetEffect}} and {{AcquireEffect}} templates should be used whenever an effect is gained. Currently they just standardize the looks, although in the future they might do more than that.

{{GainEffect}} are {{GetEffect}} are used when an effect is gained from using an item. {{AcquireEffect}} is used when a detrimental effect is acquired from a foe.

Usage

  • When an effect is gained from using an item:

{{GainEffect|Effect Name|time}}

or

{{GetEffect|Effect Name|time}}


  • For multiuse, where the time of the effect is dependent on the amount used:

{{GainEffect|Effect Name}}

or

{{GetEffect|Effect Name}}

  • When a detrimental effect is acquired from a foe:

{{AcquireEffect|Effect Name|time}}

Examples

{{GainEffect|Synergy Energy|60}}: You gain an effect: Synergy Energy. (Added for 60 minutes.)

{{GetEffect|Feelin' Festive|30}}:You get an effect, Feelin' Festive. (Added for 30 minutes.)

{{GainEffect|Synergy Energy}}:You gain an effect: Synergy Energy. (Added for some minutes.)

{{GetEffect|Feelin' Festive}}:You get an effect, Feelin' Festive. (Added for some minutes.)

{{AcquireEffect|Weakened|30}}:You acquire an effect: Weakened. (Added for 30 minutes.)