Difference between revisions of "Template:!/doc"
Dinoguy1000 (talk | contribs) (→Character escape templates: updates - why in God's name is it so freaking hard to link to {{=}}?!) |
Dinoguy1000 (talk | contribs) (and {{(-}}) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
<th scope="col">Notes</th> | <th scope="col">Notes</th> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{ | + | <td><code>{{tn|!}}</code></td> |
<td><code>{{!}}</code></td> | <td><code>{{!}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{ | + | <td><code>{{tn|(}}</code></td> |
<td><code>{{(}}</code></td> | <td><code>{{(}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{ | + | <td><code>{{tn|)}}</code></td> |
<td><code>{{)}}</code></td> | <td><code>{{)}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{ | + | <td><code>{{tn|'}}</code></td> |
<td><code>{{'}}</code></td> | <td><code>{{'}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td> | + | <td><code>{{tl|colon}}</code></td> |
+ | <td><code>{{colon}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tn|;}}</code></td> | ||
+ | <td><code>{{;}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tn|=}}</code></td> | ||
<td><code>{{=}}</code></td> | <td><code>{{=}}</code></td> | ||
<td>Allows equals signs to be used in unnamed parameters.</td> | <td>Allows equals signs to be used in unnamed parameters.</td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{{ | + | <td><code>{{tl|pound}}</code></td> |
+ | <td><code>{{pound}}</code></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> | ||
+ | <td><code>{{tl|!(}}</code></td> | ||
+ | <td><code>{{!(}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|)!}}</code></td> | ||
+ | <td><code>{{)!}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!((}}</code></td> | ||
+ | <td><code>{{!((}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|))!}}</code></td> | ||
+ | <td><code>{{))!}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|(!}}</code></td> | ||
+ | <td><code><nowiki>{|</nowiki></code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!-}}</code></td> | ||
+ | <td><code>{{!-}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!)}}</code></td> | ||
+ | <td><code>{{!)}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!!}}</code></td> | ||
+ | <td><code>{{!!}}</code></td> | ||
+ | <td></td> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|!-!}}</code></td> | ||
<td><code>{{!-!}}</code></td> | <td><code>{{!-!}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{{ | + | <td><code>{{tl|((}}</code></td> |
<td><code>{{((}}</code></td> | <td><code>{{((}}</code></td> | ||
<td></td> | <td></td> | ||
</tr><tr> | </tr><tr> | ||
− | <td><code>{{ | + | <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> | ||
+ | </tr><tr> | ||
+ | <td><code>{{tl|)))}}</code></td> | ||
+ | <td><code>{{)))}}</code></td> | ||
<td></td> | <td></td> | ||
</tr> | </tr> | ||
Line 52: | 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