Wikia

WoWWiki

Changes: Template:Tooltip/Dev

Edit

Back to page

(Rest back to no categorization)
(gem)
(13 intermediate revisions by one user not shown)
Line 60: Line 60:
 
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}}} [[Charges]]}}<!--
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{{flavor|{{{desc|{{{comment}}}}}}}}}"}}<!--
+
Item Flavor Text -->{{#if:{{{flavor|{{{desc|{{{comment|}}}}}}}}}|<li class="flavor">"{{#if:{{{gem|}}}|{{#switch:{{{gem}}}
  +
|Red=Matches a Red Socket.|Yellow=Matches a Yellow Socket.|Blue=Matches a Blue Socket.
  +
|Orange=Matches a Red or Yellow Socket.|Green=Matches a Yellow or Blue Socket.
  +
|Purple=Matches a Red or Blue Socket.|Prismatic=Matches any socket.
  +
|Meta=Only fits in a meta gem socket.}} }}{{{flavor|{{{desc|{{{comment}}}}}}}}}"}}<!--
 
Item is Readable -->{{#if:{{{read|}}}|<li class="bonus"><Right Click to Read>}}<!--
 
Item is Readable -->{{#if:{{{read|}}}|<li class="bonus"><Right Click to Read>}}<!--
 
Item is Openable -->{{#if:{{{open|}}}|<li class="bonus"><Right Click to Open>}}<!--
 
Item is Openable -->{{#if:{{{open|}}}|<li class="bonus"><Right Click to Open>}}<!--
Line 71: Line 71:
 
Item Sell Price -->{{#if:{{{sell|}}}|<li class="detail">Sell {{{sell}}}}}<!--
 
Item Sell Price -->{{#if:{{{sell|}}}|<li class="detail">Sell {{{sell}}}}}<!--
 
Categorize -->[[Category:Item pages]]<!--
 
Categorize -->[[Category:Item pages]]<!--
  +
  +
MORE CATEGORIES
  +
  +
type, slot & quality -->{{#if:{{{slot|}}}|{{#if:{{{type|}}}|<!--
  +
slot and type defined. exceptions to the general rule: -->{{#switch:{{lc:{{{type}}}}}
  +
|libram=[[Category:Librams]]
  +
|idol=[[Category:Idols]]
  +
|sigil=[[Category:Sigils]]
  +
|totem=[[Category:Totems]]
  +
|staff=[[Category:World of Warcraft {{lc:{{{quality}}}}} staves]][[Category:World of Warcraft two-hand items]]
  +
|bow|crossbow|gun=[[Category:World of Warcraft {{lc:{{{quality}}}}} {{lc:{{{type}}}}}s]][[Category:World of Warcraft ranged items]]
  +
|axe|dagger|fist weapon|mace|polearm|sword=[[Category:World of Warcraft {{lc:{{{type}}}}} items]][[Category:World of Warcraft {{lc:{{{slot}}}}} items]]<!--
  +
non-exceptions -->|[[Category:World of Warcraft {{lc:{{{type}}}}} {{lc:{{{slot}}}}} items]][[Category:World of Warcraft {{lc:{{{quality}}}}} items]]}}<!--
  +
slot only -->|[[Category:World of Warcraft {{lc:{{{slot}}}}} items]]}}<!--
  +
else -->|[[Category:World of Warcraft {{lc:{{{quality}}}}} items]]}}<!--
  +
  +
###gems###
  +
bind type: -->{{#if:{{{gem|}}}|{{#ifeq:{{{bind}}}|BoP|<!--
  +
BoP gems-->[[Category:Bind on pickup gems]]<!--
  +
BoE gems-->|[[Category:Bind on equip gems]]}}<!--
  +
main gem cats-->[[Category:{{{gem}}} socketable gems]][[Category:{{{quality}}} gems]]}}<!--
  +
  +
###simple cats###
  +
Bag -->{{#if:{{{bag|}}}|[[Category:Bags]]}}<!--
  +
Book -->{{#if:{{{read|}}}|[[Category:World of Warcraft book items]]}}<!--
  +
BoP -->{{#ifeq:{{{bind|}}}|BoP|[[Category:World of Warcraft bind on pickup items]]}}<!--
  +
conjured -->{{#if:{{{conjured|}}}|[[Category:World of Warcraft conjured items]]}}<!--
  +
faction -->{{#if:{{{rfaction|}}}|[[Category:{{{rfaction}}} rewards]]}}<!--
  +
locked -->{{#if:{{{locked|}}}|[[Category:Lockboxes]]}}<!--
  +
socketed -->{{#if:{{{sockets|}}}|[[Category:World of Warcraft socketed items]]}}<!--
  +
qitem -->{{#if:{{{qitem|}}}|[[Category:World of Warcraft {{lc:{{{quality}}}}} quest items]]}} <!--
  +
qbegin -->{{#if:{{{qbegin|}}}|[[Category:World of Warcraft {{lc:{{{quality}}}}} quest starting items]]}}<!--
  +
qreward -->{{#if:{{{qreward|}}}|[[Category:World of Warcraft {{lc:{{{quality}}}}} quest rewards]]}}<!--
   
 
# SHOW ONLY OFF OWN PAGE # -->|<!--
 
# SHOW ONLY OFF OWN PAGE # -->|<!--

Revision as of 02:29, August 19, 2009

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

Around Wikia's network

Random Wiki