Template:Wikipopup
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This templates is called in the several infoboxes and handles the description for the wiki popups. The description is usually displayed with the template {{quotation}} using <div>
tags which are omitted by the popup extension. Therefore the description is called again with this template for wiki popups only. Sets #var:show in wikipopup
to "true", which enables the quotation source in {{quotation}}.
This template removes
\n\n
and replaces any occurence with#&10
(breaking<span>
otherwise)*
and replaces any occurence with#&10;•
(breaking<span>
otherwise)\n
and replaces any occurence with#&10
<br>
and replaces any occurence with
Usage[edit]
{{wikipopup|<description>}}
Parameters[edit]
- 1 (unnamed parameter)
- Required. Text displayed in the wiki popup.
Used in[edit]
- {{wikipopup}} is used in the following infoboxes
- 1 — uses this template
- 0 — possible candidates
- 0 — no need for this template
- A
- B
- 1 Template:Back item infobox — uses also {{Wikipopup prefix}}
- L
- 0 Template:League infobox
- 0 Template:Living world infobox — deprecated
- 0 Template:Location infobox — uses {{quotation}}
- N
- 0 Template:NPC infobox — uses {{quotation}}
- S
- T
- 1 Template:Trait infobox
- 0 Template:Trait infobox/historical
- 1 Template:Trinket infobox — uses also {{Wikipopup prefix}}
- W
- 1 Template:Weapon infobox — uses also {{Wikipopup prefix}}
- 1 Template:Weapon set infobox
- 1 Template:Weapon type infobox