Jump to content

Help:Template cheatsheet: Difference between revisions

From pool
Content deleted Content added
No edit summary
No edit summary
Line 7: Line 7:
!Rendered
!Rendered
!Description
!Description
|-
|{{Tl|eq}}
|
|<code><nowiki>{{eq}}</nowiki></code>
|
|
|Allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.
|-
|{{Tl|!}}
|
|
|
|
|<nowiki>Really a magic word and not a template, used to encode "|" within template parameters or wikitables.</nowiki>
|-
|{{Tl|'}}
|
|
|
|
|Used to encode apostrophe to keep it separate from <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code> markup.
|-
|-
|{{Tl|Highlight}}
|{{Tl|Highlight}}
Line 15: Line 36:
|Colour and date are optional Parameters, if a date is added the text will not be highlighted after the date has passed
|Colour and date are optional Parameters, if a date is added the text will not be highlighted after the date has passed
|-
|-
|{{Tl|em}}
|
|
|
|
|
Line 22: Line 43:
|
|
|-
|-
|{{Tl|strong}}
|
|
|
|
|
|
|-
|{{Tl|clear}}
|
|
|
|

Revision as of 17:59, 30 October 2020

Template Shortcut Usage Example Rendered Description
{{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.
{{'}} Used to encode apostrophe to keep it separate from '' and ''' 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}}