Шаблон:Wikipopup

Материал из Guild Wars 2 wiki
Версия от 23:52, 7 апреля 2020; Blood (обсуждение | вклад) (Новая страница: «<includeonly>{{#if: {{{1|}}}|<span class="wikipopup" style="display:none;"><!-- -->{{#arraymap: {{{1|}}}|\n\n|@@@|<!-- -->{{#arraymap: @@@|*|$$$|<!-- -->…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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

  1. \n\n and replaces any occurence with  #&10 (breaking <span> otherwise)
  2. * and replaces any occurence with  #&10;•  (breaking <span> otherwise)
  3. \n and replaces any occurence with  #&10
  4. <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
1Yes — uses this template
0No — possible candidates
0No — no need for this template

See also[править]