Difference between revisions of "Template:!/doc"
Dinoguy1000 (talk | contribs) (→Character escape templates: add {{colon}}/{{;}}) |
Dinoguy1000 (talk | contribs) (→Character escape templates: add {{pound}}, use {{tn}}) |
||
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> | ||
Line 31: | Line 31: | ||
<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> | ||
Line 38: | Line 38: | ||
<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> | ||
+ | <td><code>{{tl|pound}}</code></td> | ||
+ | <td><code>{{pound}}</code></td> | ||
+ | <td></td> | ||
</tr><tr> | </tr><tr> | ||
<td><code>{{t|!(}}</code></td> | <td><code>{{t|!(}}</code></td> |
Revision as of 09:00, 26 December 2013
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}} |
: |
|
{{;}} |
; |
|
Template:= | = |
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