Шаблон:Wikipopup/doc
Материал из Guild Wars 2 wiki
< Шаблон:Wikipopup
Версия от 23:53, 7 апреля 2020; Blood (обсуждение | вклад) (Новая страница: «== Description == This templates is called in the several infoboxes and handles the description for the wiki popups. The descripti…»)
Содержание
Description
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
{{wikipopup|<description>}}
Parameters
- 1 (unnamed parameter)
- Required. Text displayed in the wiki popup.
Used in
- {{wikipopup}} is used in the following infoboxes
- A
- 1 Template:Adventure infobox
- 0 Template:API endpoint infobox
- 0 Template:ArenaNet employee infobox
- 1 Template:Armor infobox — uses also {{Wikipopup prefix}}
- 0 Template:Armor set infobox
- B
- 1 Template:Back item infobox — uses also {{Wikipopup prefix}}
- L
- N
- 0 Template:NPC infobox — uses {{quotation}}
- R
- 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
See also
- {{Wikipopup prefix}}
- {{Wikipopup upgrade}}
- {{Wikipopup quotation}}
- Guild Wars 2 Wiki:Popups