M16UndermountainLaunch.jpg

Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Template:Tooltip page box

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

This template is used to display tooltip data on a box.

It shouldn't be directly used on content pages; instead there are three different ways of using it indirectly depending on the situation:

On the page for the item, power, or other entity the tooltip belongs to[edit source]

In these cases, use {{Tooltip section}} where the tooltip section should go. Don't include a heading; the template automatically brings one in.

Usage:

{{Tooltip section}}

This provides a link to a subpage where the tooltip data should actually reside.

On the /Tooltip subpage[edit source]

Here, it is best used as the default template for formatting the data, as shown here:

{{ {{#if:{{{1|}}}|{{{1}}}|Tooltip}}
|title=
|body=<div>first line</div>
<div>second line</div>
...and so on...
}}

Note that if the page name is disambiguated or in some other way does not match the name of the entity in question, the correct name needs to be supplied after title= for correct display.

On other pages[edit source]

If you want to include a tooltip for an entity on a page others its own, treat the /Tooltip subpage as a template as shown here:

{{:entity page name/Tooltip}}