Wikia

WoWWiki

Changes: Template:Tooltip/Dev

Edit

Back to page

(Adding #if to remove the "s" from charges when {{{charges}}}==1)
Line 59: Line 59:
 
Item Creates Item -->{{#if:{{{create|}}}|<li>{{Loot|{{{createq|}}}|{{{create}}}}}}}<!--
 
Item Creates Item -->{{#if:{{{create|}}}|<li>{{Loot|{{{createq|}}}|{{{create}}}}}}}<!--
 
Item Required Mats to Create -->{{#if:{{{mats|}}}|<li>Requires {{{mats}}}}}<!--
 
Item Required Mats to Create -->{{#if:{{{mats|}}}|<li>Requires {{{mats}}}}}<!--
Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} [[Charges]]}}<!--
+
Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} {{#ifeq: {{{charges}}}|1|{{pipe|charges|charge}}|[[charges]] }} }} <!--
 
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{#if:{{{gem|}}}|{{#switch:{{lc:{{{gem}}}}}
 
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{#if:{{{gem|}}}|{{#switch:{{lc:{{{gem}}}}}
 
|red=Matches a Red Socket.|yellow=Matches a Yellow Socket.|blue=Matches a Blue Socket.
 
|red=Matches a Red Socket.|yellow=Matches a Yellow Socket.|blue=Matches a Blue Socket.

Revision as of 23:32, February 16, 2010

This is a development sandbox version of {{tooltip}}.

Around Wikia's network

Random Wiki