Help:Template cheatsheet: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 13: | Line 13: | ||
|<code><nowiki>{{eq}}</nowiki></code> |
|<code><nowiki>{{eq}}</nowiki></code> |
||
|{{eq}} |
|{{eq}} |
||
|Allows "=" to be used in unnamed template parameters |
|Escapes "=". Allows "=" to be used in unnamed template parameters. |
||
|- |
|- |
||
|{{Tl|!}} |
|{{Tl|!}} |
||
| Line 20: | Line 20: | ||
|<code><nowiki>{{!}}</nowiki></code> |
|<code><nowiki>{{!}}</nowiki></code> |
||
|<nowiki>|</nowiki> |
|<nowiki>|</nowiki> |
||
| |
|<nowiki>Escapes "|". Used to encode </nowiki><nowiki>"|"</nowiki> within template parameters or wikitables. |
||
|- |
|- |
||
|{{Tl|'}} |
|{{Tl|'}} |
||
| Line 27: | Line 27: | ||
|<code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code> |
|<code><nowiki>The ''Iliad''{{'}}s vocabulary is archaic.</nowiki></code> |
||
|The ''Iliad''{{'}}s vocabulary is archaic. |
|The ''Iliad''{{'}}s vocabulary is archaic. |
||
|Used to encode apostrophe to keep it separate from <code><nowiki>''</nowiki></code> |
|Used to encode apostrophe to keep it separate from (<code><nowiki>''</nowiki></code>) wiki markup. |
||
|- |
|- |
||
|{{Tl|`}} |
|{{Tl|`}} |
||
| Line 34: | Line 34: | ||
|<code><nowiki>... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]?</nowiki></code> |
|<code><nowiki>... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]?</nowiki></code> |
||
|... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]? |
|... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]? |
||
| |
|Used to encode apostrophe to keep it separate from (<code><nowiki>'''</nowiki></code>) wiki markup. |
||
|- |
|- |
||
|{{Tl|Highlight}} |
|{{Tl|Highlight}} |
||
Revision as of 21:56, 30 October 2020
| Template | Shortcut | Usage | Example | Rendered | Description |
|---|---|---|---|---|---|
| {{eq}} | {{eq}}
|
{{eq}}
|
= | Escapes "=". Allows "=" to be used in unnamed template parameters. | |
| {{!}} | {{!}}
|
{{!}}
|
| | Escapes "|". Used to encode "|" within template parameters or wikitables. | |
| {{'}} | {{'}}
|
The ''Iliad''{{'}}s vocabulary is archaic.
|
The Iliad's vocabulary is archaic. | Used to encode apostrophe to keep it separate from ('') wiki markup.
| |
| {{`}} | {{`}}
|
... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]?
|
... that Bhutan's capital is Thimphu? | Used to encode apostrophe to keep it separate from (''') wiki markup.
| |
| {{Highlight}} | {{H}} | {{H|text|colour|expiry}}
|
some text with a {{H| highlighted | #00FF00 | 1 January 2099}} portion
|
some text with a highlighted portion | Colour and date are optional Parameters, if a date is added the text will not be highlighted after the date has passed |
| {{em}} | |||||
| {{strong}} | |||||
| {{clear}} |