Template:!

From PZwiki
Notebook.pngTemplate Documentation
Lock-locked.png
This page has been put into protection by a PZwiki administrator.
Only users in the sysop user group may edit this page.
Imbox notice.png
This template may have no transclusions.
It is substituted by a magic word. Magic words should be written with a colon : instead of a pipe |.

The template {{!}} is used to create a vertical bar character "|", also known as a pipe, so it can be used in wikitext markup and not recognised as a special character in parser functions.

Usage

{{!}} is used to escape the vertical bar "|", so that it is interpreted later than it would be otherwise.

This is typically used in two ways, firstly, for a table that is used in a template:

{{{!}} class{{=}}"pztable"
{{!}}+ Caption text
{{!}}-
! Header text !! Header text
{{!}}-
{{!}} Example1 {{!!}} Example2
{{!}}-
{{!}} Example3 {{!!}} Example4
{{!}}}

Secondly, it may be used in templates that expect a file name for parameters not defined in the template.

{{infobox item|icon=Image.png{{!}}left}}

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.