Difference between revisions of "Template:!/doc"
Dinoguy1000 (talk | contribs) (Undo revision 2999679 by Dinoguy1000 (talk) - nice idea, doesn't work as intended) |
Dinoguy1000 (talk | contribs) (and {{(-}}) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 42: | Line 42: | ||
<td><code>{{pound}}</code></td> | <td><code>{{pound}}</code></td> | ||
<td></td> | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|(-}}</code></td> | ||
+ | <td><code>{{(-}}</code></td> | ||
+ | <td>Inserts extra padding after an opening parenthesis, when the parenthesized content is italicized but the parentheses are not.</td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|-)}}</code></td> | ||
+ | <td><code>{{-)}}</code></td> | ||
+ | <td>Inserts extra padding before a closing parenthesis, when the parenthesized content is italicized but the parentheses are not.</td> | ||
</tr><tr> | </tr><tr> | ||
<td><code>{{tl|!(}}</code></td> | <td><code>{{tl|!(}}</code></td> | ||
Line 69: | Line 77: | ||
<td><code>{{tl|!)}}</code></td> | <td><code>{{tl|!)}}</code></td> | ||
<td><code>{{!)}}</code></td> | <td><code>{{!)}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!!}}</code></td> | ||
+ | <td><code>{{!!}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
Line 100: | Line 112: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
− | [[Category:Character escape templates | + | [[Category:Character escape templates]] |
</includeonly> | </includeonly> |
Latest revision as of 17:25, 10 July 2016
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[edit]
Template | Output | Notes |
---|---|---|
{{!}} |
| |
|
{{(}} |
{ |
|
{{)}} |
} |
|
{{'}} |
' |
|
{{colon}} |
: |
|
{{;}} |
; |
|
|
= |
Allows equals signs to be used in unnamed parameters. |
{{pound}} |
# |
|
{{(-}} |
( |
Inserts extra padding after an opening parenthesis, when the parenthesized content is italicized but the parentheses are not. |
{{-)}} |
) |
Inserts extra padding before a closing parenthesis, when the parenthesized content is italicized but the parentheses are not. |
{{!(}} |
[ |
|
{{)!}} |
] |
|
{{!((}} |
[[ |
|
{{))!}} |
]] |
|
{{(!}} |
{| |
|
{{!-}} |
|- |
|
{{!)}} |
|} |
|
{{!!}} |
|| |
|
{{!-!}} |
|-| |
|
{{((}} |
{{ |
|
{{))}} |
}} |
|
{{(((}} |
{{{ |
|
{{)))}} |
}}} |
See also[edit]
- Template:- - inserts a clear
- Template:· - inserts a non-breaking space and a middot
- Template:• - inserts a non-breaking space and a bullet