Difference between revisions of "Template:!/doc"
Dinoguy1000 (talk | contribs) (try something stupid) |
Dinoguy1000 (talk | contribs) (Undo revision 2999679 by Dinoguy1000 (talk) - nice idea, doesn't work as intended) |
||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
− | This is a metatemplate intended to escape a | + | 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 (<code>|</code>), which is heavily used in [[mw:Manual:ParserFunctions|ParserFunctions]]. See [[wikipedia:Template:!]] for more information and examples. |
== Character escape templates == | == Character escape templates == |
Revision as of 23:13, 12 February 2015
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 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
- Template:- - inserts a clear
- Template:· - inserts a non-breaking space and a middot
- Template:• - inserts a non-breaking space and a bullet