Jump to content

Help:Template cheatsheet: Difference between revisions

From pool
Content deleted Content added
No edit summary
No edit summary
Line 31: Line 31:
|{{Tl|`}}
|{{Tl|`}}
|
|
|<code><nowiki>{{`}}</nowiki></code>
|
|<code><nowiki><code><nowiki>... that '''[[Bhutan]]'''{{`}}s capital is [[Thimphu]]?</nowiki></code></nowiki></code>
|
|<code><nowiki>... that '''[[Bhutan]]'''{{`}}s capital is [[Thimphu]]?</nowiki></code>
|
|This template uses the decimal code for the apostrophe or single-quote character so that it does not become interpreted with adjacent bold (''') wiki markup
|
|-
|-
|{{Tl|Highlight}}
|{{Tl|Highlight}}

Revision as of 20:03, 30 October 2020

Template Shortcut Usage Example Rendered Description
{{eq}} {{eq}} {{eq}} = Allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.
{{!}} {{!}} {{!}} | Really a magic word and not a template, 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 '' and ''' markup.
{{`}} {{`}} <code><nowiki>... that '''[[Bhutan]]'''{{`}}s capital is [[Thimphu]]?</nowiki> ... that '''[[Bhutan]]'''{{`}}s capital is [[Thimphu]]? This template uses the decimal code for the apostrophe or single-quote character so that it does not become interpreted with adjacent bold () 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}}