Help:Template cheatsheet: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) |
||
| Line 12: | Line 12: | ||
|{{Tl|eq}} |
|{{Tl|eq}} |
||
| |
| |
||
|{{smallcaps|no parameters}} |
|||
|<code><nowiki>{{eq}}</nowiki></code> |
|||
|<code><nowiki>{{eq}}</nowiki></code> |
|<code><nowiki>{{eq}}</nowiki></code> |
||
|{{eq}} |
|{{eq}} |
||
| Line 19: | Line 19: | ||
|{{Tl|!}} |
|{{Tl|!}} |
||
| |
| |
||
|{{smallcaps|no parameters}} |
|||
|<code><nowiki>{{!}}</nowiki></code> |
|||
|<code><nowiki>{{!}}</nowiki></code> |
|<code><nowiki>{{!}}</nowiki></code> |
||
|<nowiki>|</nowiki> |
|<nowiki>|</nowiki> |
||
| Line 26: | Line 26: | ||
|{{Tl|'}} |
|{{Tl|'}} |
||
|{{Tl|apostrophe}} |
|{{Tl|apostrophe}} |
||
|{{smallcaps|no parameters}} |
|||
|<code><nowiki>{{'}}</nowiki></code> |
|||
|<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. |
||
| Line 33: | Line 33: | ||
|{{Tl|`}} |
|{{Tl|`}} |
||
| |
| |
||
|{{smallcaps|no parameters}} |
|||
|<code><nowiki>{{`}}</nowiki></code> |
|||
|<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]]? |
||
| Line 45: | Line 45: | ||
|Used to encode prime symbol with leading space so it does not collide with a preceding ''italic'' character |
|Used to encode prime symbol with leading space so it does not collide with a preceding ''italic'' character |
||
|} |
|} |
||
== Text Formatting == |
== Text Formatting == |
||
Revision as of 22:47, 30 October 2020
Character Substitution
| Template | Shortcut /
Alternative |
Usage | Example | Rendered | Description |
|---|---|---|---|---|---|
| {{eq}} | no parameters | {{eq}}
|
= | Escapes "=". Allows "=" to be used in unnamed template parameters. | |
| {{!}} | no parameters | {{!}}
|
| | Escapes "|". Used to encode "|" within template parameters or wikitables. | |
| {{'}} | {{apostrophe}} | no parameters | The ''Iliad''{{'}}s vocabulary is archaic.
|
The Iliad's vocabulary is archaic. | Used to encode apostrophe to keep it separate from ('') wiki markup.
|
| {{`}} | no parameters | ... 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.
| |
| {{′}} | {{prime}} | {{′|text}} or text{{′}}s
|
''{{′|f}}''(''{{′|x}}'') ≥ 0
|
f′(x′) ≥ 0 | Used to encode prime symbol with leading space so it does not collide with a preceding italic character |
Text Formatting
| Template | Shortcut /
Alternative |
Usage | Example | Rendered | Description |
|---|---|---|---|---|---|
| {{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}} |