Difference between revisions of "Template:!/doc"

From Yugipedia
Jump to: navigation, search
(Undo revision 2999679 by Dinoguy1000 (talk) - nice idea, doesn't work as intended)
(See also: rm redundant sortkey(s))
Line 100: Line 100:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Character escape templates|{{PAGENAME}}]]
+
[[Category:Character escape templates]]
 
</includeonly>
 
</includeonly>

Revision as of 15:34, 15 February 2015

This is a metatemplate intended to escape a character or group of characters in other templates that would otherwise be difficult to use with wikimarkup. The canonical example of this is the pipe character (|), which is heavily used in ParserFunctions. See wikipedia:Template:! for more information and examples.

Character escape templates

Template Output Notes
{{!}} |
{{(}} {
{{)}} }
{{'}} '
{{colon}} :
{{;}} ;
= Allows equals signs to be used in unnamed parameters.
{{pound}} #
{{!(}} [
{{)!}} ]
{{!((}} [[
{{))!}} ]]
{{(!}} {|
{{!-}} |-
{{!)}} |}
{{!-!}} |-|
{{((}} {{
{{))}} }}
{{(((}} {{{
{{)))}} }}}

See also