m (1 revision) |
Sin resumen de edición |
||
Línea 3: | Línea 3: | ||
|imlink={{#if:{{{icon|}}}|[[Image:{{{icon}}}.png|16px]] }}{{loot|common|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}} |
|imlink={{#if:{{{icon|}}}|[[Image:{{{icon}}}.png|16px]] }}{{loot|common|{{{disambigpage|{{{name}}}}}}|{{#if:{{{arg|}}}|{{{arg}}}|{{{name}}}}}}} |
||
|arg={{{{{{arg|name}}}|--}}} |
|arg={{{{{{arg|name}}}|--}}} |
||
− | |#default=<div style="font-size: {{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{FULLPAGENAME}}|'|'}}|&|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|1em; float: {{{float|right}}}|0.85em; float: {{{float|left}}}}}; width: {{{width|18em}}};" class="itemtooltip"><!-- |
+ | |#default=<div style="font-size: {{#ifeq:{{#ifeq:{{{mode|}}}|home|{{{disambigpage|{{{name}}}}}}|{{#replace:{{#replace:{{FULLPAGENAME}}|'|'}}|&|&}}}}|{{#ifeq:{{{mode|}}}|away|<|{{{disambigpage|{{{name}}}}}}}}|1em; float: {{{float|right}}}|0.85em; float: {{{float|left}}}}}; width: {{{width|18em}}};" class="wtooltip itemtooltip"><!-- |
Icon -->{{#if:{{{icon|}}}|<div style="position: relative; float: right; margin: 0; font-size: 1em;">[[File:{{{icon}}}.png|32px]]</div>}}<ul><!-- |
Icon -->{{#if:{{{icon|}}}|<div style="position: relative; float: right; margin: 0; font-size: 1em;">[[File:{{{icon}}}.png|32px]]</div>}}<ul><!-- |
||
Línea 10: | Línea 10: | ||
Sellable -->{{#if:{{{sell|}}}|<li class="flavor">[[Image:WC3gold.gif]] {{{sell}}}}}<!-- |
Sellable -->{{#if:{{{sell|}}}|<li class="flavor">[[Image:WC3gold.gif]] {{{sell}}}}}<!-- |
||
Conjured Flag -->{{#if:{{{conjured|}}}|<li>[[Conjured Item]]|}}<!-- |
Conjured Flag -->{{#if:{{{conjured|}}}|<li>[[Conjured Item]]|}}<!-- |
||
− | Item Duration -->{{#if:{{{duration|}}}|<li>[[ |
+ | Item Duration -->{{#if:{{{duration|}}}|<li>[[Duración (Item)|Duración: {{{duration}}}]]}}<!-- |
Item is an Artifact item -->{{#if:{{{artifact|}}}|<li><span class="qc-legendary">Artifact</span>}}<!-- |
Item is an Artifact item -->{{#if:{{{artifact|}}}|<li><span class="qc-legendary">Artifact</span>}}<!-- |
||
Item is a Legendary item -->{{#if:{{{legendary|}}}|<li>Legendary}}<!-- |
Item is a Legendary item -->{{#if:{{{legendary|}}}|<li>Legendary}}<!-- |
||
Línea 16: | Línea 16: | ||
Item is Unique -->{{#if:{{{unique|}}}|<li><span class="qc-epic">Unique</span>}}<!-- |
Item is Unique -->{{#if:{{{unique|}}}|<li><span class="qc-epic">Unique</span>}}<!-- |
||
Item Description -->{{#if:{{{desc|}}}|<li>{{{desc}}}}}<!-- |
Item Description -->{{#if:{{{desc|}}}|<li>{{{desc}}}}}<!-- |
||
− | Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} [[ |
+ | Item Charges -->{{#if:{{{charges|}}}|<li>{{{charges}}} [[Cargas]]}}<!-- |
Item History Text -->{{#if:{{{history|}}}|<li class="flavor">History</li><li><span class="qc-artifact">{{{history}}}</span></li>}}<!-- |
Item History Text -->{{#if:{{{history|}}}|<li class="flavor">History</li><li><span class="qc-artifact">{{{history}}}</span></li>}}<!-- |
||
Revisión actual - 23:36 23 feb 2014
The template creates a WC3 styled tooltip for items; you can supply any number of the named parameters to display specific text in the tooltip.
Required Minimal Syntax
Begin all item-page tooltips with the following three lines:
{{tooltip-wc3 |mode={{{mode|}}} |arg={{{arg|}}}
The template parameters displayed here are required to enable item pages interact with other consumers of tooltip data, and do not change from page to page.
Named parameters
|
|