Template:!/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(specific cat)
No edit summary
 
Line 4: Line 4:


There are no parameters; simply type {{t|!}}.
There are no parameters; simply type {{t|!}}.
This common template has been superseded by an equivalent [[mw:Help:Magic words|magic word]] in recent versions of MediaWiki and may no longer be needed.


==Example==
==Example==

Latest revision as of 11:08, 14 July 2021

This page contains the documentation for Template:!. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is used to escape a pipe character ( | ). The most common usage is for wikitable code within parser functions such as #if.

There are no parameters; simply type {{!}}.

This common template has been superseded by an equivalent magic word in recent versions of MediaWiki and may no longer be needed.

Example

{|
|-
{{#if:{{{parameter|}}}|
! Row heading
{{!}} {{{parameter}}}
{{!}}-
}}
|}