|
---|
|
Template | Example output | Use | Template:Tlb | strong semantic emphasis | To indicate <strong> emphasis instead of (or as well as) simple typographical boldfacing. | Template:Tlb | "Never use..." | Same as {{strong}} but in red. | Template:Tlb | "Only use..." | Same as {{strong}} but in green. | Template:Tlb | mild semantic emphasis | As per {{strong}} but for the milder <em> emphasis (instead of / as well as typographical italicization). | Template:Tlb | strPrefix | To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{varserif}} should be used to ensure a noticeable distinction. | Template:Tlb | Template:Varserif | (see {{var}} above) | Template:Tlb | {{DEFAULTSORT|Y, X}} | To display wikicode variables and magic words as they would appear in code. | Template:Tlb | |year=2008 | To display template parameters with or without values. | Template:Tlb | {{{title|alt}}} | To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{para}} above. | Template:Tlb etc. | {{Template|1|2|...|10}} | To display a template call (with or without parameters and values) as code. | Template:Tlb | "The <img>...</img> tags..." | To render HTML elements ("tags") as prose. | Template:Tlb | "Ensure the <syntaxhighlight lang="text" class="" id="" style="" inline="1">alt=</syntaxhighlight> parameter..." | To indicate text is source code. To nest other templates within {{code}}, use <code>...</code> . | {{subst:codenowiki}} | <code><nowiki> code ... ...</nowiki></code> | To wrap example code in <code> and nested <nowiki> tags. | Template:Tlb | | ( or {{sxhl}} ) Wrapper for <syntaxhighlight>...</syntaxhighlight> , but will wrap overflowing text. | Template:Tlb | "Do not use <blink>." | ( or {{dc}} ) To indicate deprecated source code in template documentation, articles on HTML specs, etc. The {{dc2}} variant uses strike-through (<blink>) while {{dc|red{{=}}y}} uses red (<blink>). | Template:Tlb | | For larger blocks of source code and other pre-formatted text. | Template:Tlb | | For indented blocks of content, such as block quotations, examples, poems, etc. | Template:Tlb | user input | To indicate user input. | Template:Tlb | CtrlX | To indicate specific-keystroke input. | Template:Tlb | × | To indicate PlayStation-style gamepad key presses. | Template:Tlb | example output | To indicate sample or example output. |
|
<templatestyles src="Module:Message box/fmbox.css"></templatestyles>