Template:Var
Jump to navigation
Jump to search
{{{1}}}
This documentation is transcluded from Template:Var/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
See also
- {{Strong}} – for semantically indicating strong emphasis instead of simple typographical boldfacing.
- {{Strongbad}} – same as {{Strong}} but red like this: Never use {{Strongbad}} in articles.
- {{Stronggood}} – same as {{Strongbad}} but green like this: Only use {{Stronggood}} on non-article pages.
- {{Em}} – similar template for semantically indicating mild emphasis instead of simple typographical italicization.
- {{Var}} – same as {{Varserif}} use for all variables (e.g. StrIllustratePrefix), except for 'I' (upper-case i) and 'l' (lower-case L) for which use {{Varserif}} allows visible distinctions.
- {{Varserif}} – same as {{Var}} but uses serif font (e.g. StrIllustratePrefix), especially for distinguishing between 'I' (upper-case i) and 'l' (lower-case L) as variables.
- {{Wikivar}} – for displaying wikicode variables and magicwords as they would appear in source code, e.g. {{PAGENAME}}, {{DEFAULTSORT:Lastname, Firstname}}.
- {{Para}} – for displaying wiki template parameters (e.g. |title =) or parameters and values (e.g. |year = 2008)
- {{Tlx}} and related – for displaying entire templates (with or without parameters and values) as code
- {{HtmlTag}} – for using HTML elements ("tags") in prose (e.g. "When coding HTML <img> tags, always include ...")
- {{Code}} – for computer source code (e.g. "... always include the alt parameter.").
- {{Syntaxhighlight}} or {{Sxhl}} – wrapper for <syntaxhighlight />, but will wrap overflowing text
- {{Deprecated code}} or {{Dc}} – for deprecated source code in template documentation, articles on HTML specs, etc.
- {{Pre}} – for larger blocks of source code and other pre-formatted text
- {{Bq}} – for indented blocks of content, such as block quotations, examples, poems, etc.
- {{Kbd}} – for indicating user input
- {{Key press}} – for indicating the input of specific keystrokes, e.g. Ctrl+X
- {{Samp}} – for example output