Jump to content

Help:Template cheatsheet: Difference between revisions

From pool
Content deleted Content added
No edit summary
No edit summary
Line 11: Line 11:
|
|
|<code><nowiki>{{eq}}</nowiki></code>
|<code><nowiki>{{eq}}</nowiki></code>
|<code><nowiki>{{eq}}</nowiki></code>
|
|{{eq}}
|
|Allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.
|Allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.
|-
|-
|{{Tl|!}}
|{{Tl|!}}
|
|
|<code><nowiki>{{!}}</nowiki></code>
|
|<code><nowiki>{{!}}</nowiki></code>
|
|{{!}}
|
|<nowiki>Really a magic word and not a template, used to encode "|" within template parameters or wikitables.</nowiki>
|<nowiki>Really a magic word and not a template, used to encode "|" within template parameters or wikitables.</nowiki>
|-
|-
|{{Tl|'}}
|{{Tl|'}}
|
|
|<code><nowiki>{{'}}</nowiki></code>
|
|<code><nowiki>{{'}}</nowiki></code>
|
|{{'}}
|
|Used to encode apostrophe to keep it separate from <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code> markup.
|Used to encode apostrophe to keep it separate from <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code> markup.
|-
|-

Revision as of 18: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.
{{'}} {{'}} {{'}} ' 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}}