Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(External links)
 
(+piececount to render)
 
Line 1: Line 1:
  +
<onlyinclude><includeonly>{{#switch:{{{mode|{{#ifeq:{{{nobox|}}}|true|itemtip}}}}}
<!-- [[Image:Auctioneer Beardo.jpg|right|frame|Auctioneer Beardo]]
 
  +
|arg={{{{{{arg|}}}|--}}}
-->{{npcbox
 
  +
|render={{:{{{arg|}}}|name={{{name|}}}|req={{{req|}}}|pieces={{{pieces|}}}|piececount={{{piececount|}}}|bonus={{{bonus|}}}|stats={{{stats|}}}|sockets={{{sockets|}}}|effects={{{effects|}}}|disambigpage={{{disambigpage|{{{name|}}}}}}}}
| name = Auctioneer Beardo
 
  +
|itemtip=<!--
| image = Auctioneer Beardo.jpg
 
  +
Set Name -->{{#if:{{{name|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] <span class="setcount">({{{piececount|?}}} pieces)</span></li>}}<!--
| title =
 
  +
Set Requirements -->{{#if:{{{req|}}}|<li class="setdesc req">Requires {{{req}}}</li>}}<!--
| level = 50
 
  +
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%" class="setdesc">{{{pieces}}}</li>}}<!--
| type =
 
  +
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}
| faction = Neutral
 
  +
|#default=<div style="font-size: {{#ifeq:{{#replace:{{FULLPAGENAME}}|&#39;|'}}|{{{disambigpage|{{{name}}}}}}|1em; float: {{{float|right}}}|0.85em; float: {{{float|left}}}}}; width: {{{width|18em}}};" class="itemtooltip settip"><div class="tooltip-content"><ul><!--
| city = Gadgetzan
 
  +
Set Name (Title) -->{{#if:{{{name|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]]</li>}}<!--
| race = Goblin
 
  +
Set Stats Summary -->{{#if:{{{stats|}}}|<li>{{{stats}}}</li>}}<!--
| creature = Humanoid
 
  +
Set Sockets Summary -->{{#if:{{{sockets|}}}|<li class="socket">{{{sockets}}}</li>}}<!--
| sex = Male
 
  +
Set Effects Summary -->{{#if:{{{effects|}}}|<li class="bonus">{{{effects}}}</li>}}<!--
| location = [[Tanaris]]
 
  +
Set Name (Before Item List) -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="set">[[{{{disambigpage|{{{name}}}}}}|{{{name}}}]] ({{{piececount|?}}} pieces)</li>}}<!--
}}
 
  +
Set Requirements -->{{#if:{{{req|}}}|<li class="req">Requires {{{req}}}</li>}}<!--
'''Auctioneer Beardo''' is a level 50 [[auctioneer]] located in the [[Gadgetzan]] [[auction house]] in the [[contested]] territory of [[Tanaris]].
 
  +
Set Pieces -->{{#if:{{{pieces|}}}|<li style="padding-left: 5%">{{{pieces}}}</li>}}<!--
<br><br>
 
  +
Set Bonuses -->{{#if:{{{bonus|}}}|<li class="setbonus">{{{bonus}}}</li>}}<!--
See [[List of Tanaris NPCs]].
 
  +
Summary Description -->{{#if:{{{stats|}}}{{{effects|}}}{{{sockets|}}}|<li class="flavor">''Combined stats. {{#if:{{{sockets|}}}|Numbers in [brackets] indicate socket bonuses}}''</li>}}<!--
 
  +
End Tooltip --></ul></div></div>
== External links ==
 
  +
}}</includeonly></onlyinclude><noinclude>
{{elinks-NPC|8661}}
 
  +
{{documentation}}</noinclude>
 
[[Category:Goblins|Beardo, Auctioneer]]
 
[[Category:Auctioneers|Beardo, Auctioneer]]
 
[[Category:City:Gadgetzan|Beardo, Auctioneer]]
 

Revision as of 22:38, 15 January 2011

Tooltip-style extension for set details.

Required Prefix

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

{{#data:settip

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.
<stat/effect>=
Sums of stats, attributes and ratings of this set (Armor, Stamina, Intellect, Spirit, Agility, Strength, etc), socket bonuses as [+X] (full list in boilerplate).
effects=
Effects not covered by combat ratings (increased movement speed, increased ability damage, etc), separate by <br />.
<color>-sockets=
Sum of sockets on of the specific color on the set.
req=
Requirement text to receive set bonuses, omit Requires.
pieces=
List of all set pieces, separate by <br />.
bonus=
List of all set bonuses (format: (#) Set: bonus text), separate by <br />.
categories=
A list of categories set items should be put in.

Formatting/ arguments

width=
Optional: width of the tooltip, defaults to 18em.
show=
Optonal: if passed as "away", displays a smaller tooltip that float to the left.

Copyable boilerplate

{{#data:Settip
|name=
|piececount=
|armor=
|strength=
|agility=
|stamina=
|intellect=
|dodge=
|haste=
|mastery=
|crit=
|versatility=
|attackpower=
|spellpower=
|resilience=
|pvppower=
|effects=
|meta-sockets=
|prismatic-sockets=
|pieces=
|bonus=
|categories=
}}