Wowpedia
Bumblepo (Discusión | contribs.)
m (1 revision)
Sin resumen de edición
Línea 4: Línea 4:
 
|itemtip=<!--
 
|itemtip=<!--
 
Set Name -->{{#if:{{{name|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] <span class="setcount">({{{piececount|?}}} pieces)</span></li>}}<!--
 
Set Name -->{{#if:{{{name|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] <span class="setcount">({{{piececount|?}}} pieces)</span></li>}}<!--
Set Requirements -->{{#if:{{{req|}}}|<li class="setdesc req">Requires {{{req}}}</li>}}<!--
+
Set Requirements -->{{#if:{{{req|}}}|<li class="setdesc req">Requiere {{{req}}}</li>}}<!--
 
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%" class="setdesc">{{{pieces}}}</li>}}<!--
 
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%" class="setdesc">{{{pieces}}}</li>}}<!--
 
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}
 
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}
Línea 12: Línea 12:
 
Set Sockets Summary -->{{#if:{{{sockets|}}}|<li class="socket">{{{sockets}}}</li>}}<!--
 
Set Sockets Summary -->{{#if:{{{sockets|}}}|<li class="socket">{{{sockets}}}</li>}}<!--
 
Set Effects Summary -->{{#if:{{{effects|}}}|<li class="bonus">{{{effects}}}</li>}}<!--
 
Set Effects Summary -->{{#if:{{{effects|}}}|<li class="bonus">{{{effects}}}</li>}}<!--
Set Name (Before Item List) -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] ({{{piececount|?}}} pieces)</li>}}<!--
+
Set Name (Before Item List) -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] ({{{piececount|?}}} piezas)</li>}}<!--
Set Requirements -->{{#if:{{{req|}}}|<li class="req">Requires {{{req}}}</li>}}<!--
+
Set Requirements -->{{#if:{{{req|}}}|<li class="req">Requiere {{{req}}}</li>}}<!--
 
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%">{{{pieces}}}</li>}}<!--
 
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%">{{{pieces}}}</li>}}<!--
 
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}<!--
 
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}<!--
Summary Description -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="flavor">''Combined stats. {{#if:{{{sockets|}}}|Numbers in [brackets] indicate socket bonuses}}''</li>}}<!--
+
Summary Description -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="flavor">''Estadísticas combinadas. {{#if:{{{sockets|}}}|Numbers in [brackets] indicate socket bonuses}}''</li>}}<!--
 
End Tooltip --></ul></div></div>
 
End Tooltip --></ul></div></div>
 
}}</includeonly></onlyinclude><noinclude>
 
}}</includeonly></onlyinclude><noinclude>

Revisión del 23:04 8 jul 2013

Tooltip-style extension for set details, supports being embedded into {{tooltip}} itself (tooltip passes nobox=true to page, page passes nobox=true to settip, settip refrains from generating div and ul tags, appending itself to existing tooltip). This is useful for including it conditionally - for example, only on the item detail page.

Required Prefix

All set articles are required to start the settip code with the following fragment exactly as it appears here:

{{settip
|mode={{{mode|}}}
|arg={{{arg|}}}

This fragment manages transclusion of set data, making set entries in tooltips possible.

Set data arguments

name=
Set name
piececount=
Number of pieces in this set
stats=
Sums of stats and attributes of this set (Armor, Sta, Int, Spi, Agi, Str), socket bonuses as [+ X], separate by <br />.
effects=
Sums of all effects (increased ratings, mana per 5, etc), separate by <br />.
sockets=
List of sockets on all items, separate by <br />.
req=
Requirement text to receive set bonuses, omit Requires.
pieces=
List of all set pieces using {{loot}}, separate by <br />
bonus=
List of all set bonuses (format: (#) Set: bonus text), separate by <br />


Formatting/ arguments

disambigpage=
Name of the page containing the tooltip, if the not Set Name itself (used to allow default-page formatting on disambiguated pages).
width=
Width of the tooltip, defaults to 18em.
float=
Where to float the tooltip, defaults to right on own page, left elsewhere.

Copyable boilerplate

{{Settip/Dev
|mode={{{mode|}}}
|arg={{{arg|}}}
|name=Redemption Armor
|piececount=9
|stats=6475 [[Armor]]<br />+207 Stamina<br />+208 Intellect
|effects=Equip: Restores 58 mana per 5 sec.<br />
Equip: Increases healing done by spells and effects by up to 388 and damage done by spells and effects by up to 133.<br />
Equip: Increases your spell critical strike rating by 70.
|pieces={{loot|Epic|Redemption Boots}}<br />{{loot|Epic|Redemption Girdle}}<br />{{loot|Epic|Redemption Handguards}}<br />{{loot|Epic|Redemption Headpiece}}<br />{{loot|Epic|Redemption Legguards}}<br />{{loot|Epic|Redemption Spaulders}}<br />{{loot|Epic|Redemption Tunic}}<br />{{loot|Epic|Redemption Wristguards}}<br />{{loot|Epic|Ring of Redemption}}
|bonus=(2) Set: {{spelllink|28775|Set}}<br />(4) Set: {{spelllink|28774|Set}}<br />(6) Set: {{spelllink|28789|Set}}<br />(8) Set: {{spelllink|28787|Set}}
}}

Examples

  • Redemption Armor
  • 6475 Armor
    +207 Stamina
    +208 Intellect
  • Equip: Restores 58 mana per 5 sec.

    Equip: Increases healing done by spells and effects by up to 388 and damage done by spells and effects by up to 133.

    Equip: Increases your spell critical strike rating by 70.
  • Redemption Armor (9 piezas)
  • [Redemption Boots]
    [Redemption Girdle]
    [Redemption Handguards]
    [Redemption Headpiece]
    [Redemption Legguards]
    [Redemption Spaulders]
    [Redemption Tunic]
    [Redemption Wristguards]
    [Ring of Redemption]
  • (2) Set: Increases the amount healed by your Judgement of Light by 20.
    (4) Set: Reduces cooldown on your Lay on Hands by 12 min.
    (6) Set: Your Flash of Light and Holy Light spells have a chance to imbue your target with Holy Power.
    (8) Set: Your Cleanse spell also heals the target for 200.
  • Estadísticas combinadas.
  • Cyclone Raiment
  • [Cyclone Gloves]
    [Cyclone Hauberk]
    [Cyclone Headdress]
    [Cyclone Kilt]
    [Cyclone Shoulderpads]
  • (2) Set: Your Mana Spring Totem ability grants an additional 3 mana every 2 sec.
    (4) Set: Reduces the cooldown on your Nature's Swiftness ability by 24 sec.
  • Blood Tiger Harness
  • Requiere Leatherworking (300)
  • [Blood Tiger Shoulders]
    [Blood Tiger Breastplate]
  • (2) Set: Increases your critical strike rating by 14.
    (2) Set: Increases your spell critical strike rating by 14.