Template:!/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(generic category)
Line 3: Line 3:
This template is used to escape a pipe character ( | ). The most common usage is for wikitable code within [[mw:Help:Extension:ParserFunctions|parser functions]] such as #if.
This template is used to escape a pipe character ( | ). The most common usage is for wikitable code within [[mw:Help:Extension:ParserFunctions|parser functions]] such as #if.


There are no parameters, simply type {{t|!}}.
There are no parameters; simply type {{t|!}}.


==Example==
==Example==
<pre>
<pre>
{|
{|
! Heading
|-
|-
{{#if:{{{parameter|}}}|
{{#if:{{{parameter|}}}|
! Row heading
{{!}} {{{parameter}}}
{{!}} {{{parameter}}}
{{!}}-
}}
}}
|}
|}
</pre>
</pre>
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 05:29, 21 August 2020

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 {{!}}.

Example

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