NW M17Launch.jpg

The Turkish Neverwinter Wiki has been slated for deletion on or after November 21, 2019.

This is due to inactivity in editing and low page views. This decision is not yet final and we are open to appeals to save the wiki. If you feel this wiki should not be shut down, please leave a message on the community portal talk page explaining why.

Template:TooltipItem

From Neverwinter Wiki
Jump to: navigation, search
The following documentation is transcluded from Template:TooltipItem/doc (edit):

This template setup Tooltip that contains reusable information. Information can be used on {{Tooltip infobox}} (alias of {{Infobox item}}), {{Tooltip itemstat}}, {{Tooltip setbonus}}, {{Tooltip link}}, and {{Tooltip iconlink}}.

Usage[edit source]

Simple usage:

{{:item name/Tooltip}}


Infobox style usage:

{{:item name/Tooltip|style=infobox}}


Display as section usage in "item name" page:

{{Tooltip section}}


Display as short list (Only display Icon and Item link.):

{{Table header item}}
{{:item name/Tooltip|style=tablerow}}
|}


Display stat table:

{{Table header itemstat}}
{{:item name/Tooltip|style=itemstat}}
|}


Display stat table (included Tenacity):

{{Table header itemstat|form=tenacity}}
{{:item name/Tooltip|style=itemstattenacity}}
|}


Display set bonus:

{{:item name/Tooltip|style=setbonus}}


Display as item-link:

{{:item/Tooltip|style=link}}
{{:item/Tooltip|style=link|uncommon}}
  • 1st usage is displayed in quality color of /Tooltip subpage.
  • 2nd usage is displayed with specified quality color.


Display as item-link with icon:

{{:item/Tooltip|style=iconlink}}
{{:item/Tooltip|style=iconlink|uncommon}}
  • 1st usage is displayed in quality color of /Tooltip subpage.
  • 2nd usage is displayed with specified quality color.

/Tooltip subpage[edit source]

{{ {{#if:{{{style|}}}
 |{{#ifexist:Template:Tooltip {{lc:{{{style}}}}}|Tooltip {{lc:{{{style}}}}}|TooltipItem}}
 |TooltipItem}}
  |{{#if:{{{1|}}}|{{{1}}}|Tooltip float box}}
  |title=item title in tooltip. Don't use {{BASEPAGENAME}} if reuse other pages.
  |link=if page name different with title
  |icon=Inventory_Feet_Pvp01_Control_01.png
  |binding=(blank)|bopc|bopa|abop cbop|bope
  |category=Equipment|Artifact...
  |tag1=Head|Body...
  |tag2 ... tag10
  |quality=mythic|legendary|epic|rare|uncommon|common|junk
  |level=60
  |ilevel=92
  |statMHP=511
  |statP=282
  :
}}<noinclude>[[Category:Tooltips]]</noinclude>