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

  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[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
1Yes — uses this template
0No — possible candidates
0No — no need for this template

See also[edit]