Template:!!/doc View history

(Documentation for double pipe template)
 
m (Updated doc page)
 
Line 2: Line 2:
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
<!-- ADD DOCUMENTATION BELOW THIS LINE -->


This is an auxiliary template allowing one to encode "<code>||</code>"
This is an auxiliary template which enables encoding "<code>||</code>"
within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;&amp;#124;</code>" which is rendered the same. Use this template in parameter values of templates and parser functions of which the result is used in table syntax, since this requires the "real" pipe character.  
within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;&amp;#124;</code>" which is rendered the same. Use this template in parameter values of templates and parser functions of which the result is used in table syntax, since this requires the "real" pipe character.  


Line 10: Line 10:


See [http://meta.wikimedia.org/wiki/Template:!! Wikimedia Template:!!]
See [http://meta.wikimedia.org/wiki/Template:!! Wikimedia Template:!!]
{{Auxiliary template common notice}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Escape character templates]]
[[Category:Escape character templates]]
 
[[Category:Character-substitution templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Latest revision as of 07:13, 15 May 2017

This is a documentation subpage for Template:!!.
It contains usage information, categories and other content that is not part of the original template page.

This is an auxiliary template which enables encoding "||" within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "&#124;&#124;" which is rendered the same. Use this template in parameter values of templates and parser functions of which the result is used in table syntax, since this requires the "real" pipe character.

This template cannot be used for putting the character as text in a wiki table; in that case, again, "&#124;&#124;" can be used.

Note that the table syntax code "!!" (double exclamation mark) can be used directly in parameter values, so for that a template like this is not needed.

See Wikimedia Template:!!


Use this template to produce the character or characters "||" as ordinary text rather than as part of a link [[ ]], transclusion {{ }}, variable {{{ }}}, etc.

Similar templates

Template Output HTML alternative
{{!!}} || &#124;&#124;
{{!(}} Template:!( &#91;
{{)!}} Template:)! &#93;
{{!((}} [[ &#91;&#91;
{{))!}} Template:))! &#93;&#93;
{{(}} Template:( &#123;
{{)}} Template:) &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} Template:((( &#123;&#123;&#123;
{{)))}} Template:))) &#125;&#125;&#125;