Jump to content

Help:Template cheatsheet

From pool
Revision as of 16:42, 11 November 2020 by Caleb Cooper (talk | contribs) (Tables)
This content is in the Help Namespace.

Character Substitution

Template Shortcut /

Alternative

HTML Entity Code Usage Example Rendered Description
Decimal Named
{{=}} {{eq}} = = no parameters {{eq}} = Escapes "=". Allows "=" to be used in unnamed template parameters.
{{!}} na | ! no parameters {{!}} | Escapes "|". Used to encode "|" within template parameters or wikitables.
{{'}} {{apostrophe}} ' ' no parameters The ''Iliad''{{'}}s vocabulary is archaic. The Iliad's vocabulary is archaic. Used to encode apostrophe to keep it separate from ('') wiki markup.
{{`}} na `
` no parameters ... that '''[[Wikipedia:Bhutan|Bhutan]]'''{{`}}s capital is [[Wikipedia:Thimphu|Thimphu]]? ... that Bhutan's capital is Thimphu? Used to encode apostrophe to keep it separate from (''') wiki markup.
{{}} {{prime}} ′ ′ {{′|text}} or text{{′}}s ''{{′|f}}''(''{{′|x}}'') ≥ 0 f(x) ≥ 0 Used to encode prime symbol with leading space so it does not collide with a preceding italic character
{{braces}} {{braces|code=on/off |Templatename|item1|item2}} {{braces|Templatename}} {{Templatename}}
{{bracket}} {{bracket|text}} {{bracket|test}} [test]
{{brackets}} {{brackets|text}} or {{brackets|text|more}} {{brackets|test}} [[test]]
{{sp}}     no parameters green{{sp}}and blue green and blue
{{colon}} : : no parameters {{colon}} :
{{!!}} || {{!!}} ||
{{!(}} [ {{!(}} [
{{)!}} ] {{)!}} ]
{{!((}} [[ {{!((}} [[
{{))!}} ]] {{))!}} ]]
{{(}} { {{(}} {
{{)}} } {{)}} }
{{((}} {{ {{((}} {{
{{))}} }} {{))}} }}
{{(((}} {{{ {{(((}} {{{
{{)))}} }}} {{)))}} }}}


Code Markup

 
  
For most use cases the tags <code>...</code>, <pre>...</pre> and <syntaxhighlight>...</syntaxhighlight> are best, these templates have been created for specific use cases. See Script Samples for examples
Template Shortcut /

Alternative

Usage Example Rendered Description
{{key press}} {{key press| 1st key | 2nd Key | 3rd Key | chain= }} {{key press|Ctrl|Alt|Del}} Ctrl+Alt+Del Illustrates keys and keystrokes on a computer keyboard.
{{code}} {{code|lang= |1=short snippet of code}} {{code|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}} <div style="position:relative; margin:0 auto; text-align:initial;">some text</div> Wraps a short span of text in <syntaxhighlight> tags
{{pre}} {{pre|width= |space = nowrap, pre, pre-wrap | some lines of code}} {{pre|width=100px | some '''lines''' of code}}
some lines of code
Allows wiki and html markup inside the pre tags
{{pre2}} {{Pre2|scroll| style= | some lines of code }} {{Pre2|scroll|Text to be displayed. And more and more and more... and an empty line And then more and more...}}
Text to be displayed. And more and more and more and more and more and more and more and more and more and more... and an empty line

And then more and more...
Adds horizontal scrollbox to pre tags
{{tag}} {{tag| 1=<tag name> |attribs= |content= |wrap= |link=}} |{{tag|ref|attribs=group="note"|content=Hello}} <ref group="note">Hello</ref> Used in help pages to describe HTML tags
{{syntaxhighlight}} {{sxhl}} {{sxhl|lang= | some lines of code }} {{sxhl|lang=html|1=<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>}}
<div style="position:relative; margin:0 auto; text-align:initial;">some text</div>
Unlike <syntaxhighlight>, text that does not fit will be wrapped.

Symbols

Template Shortcut /

Alternative

Usage Example Rendered Description
{{key press}} {{key press| 1st key | 2nd Key | 3rd Key | chain= }} {{key press|Alt|0}}{{key press|1|7|7|chain=}} Alt+0177 Illustrates keys and keystrokes on a computer keyboard.
{{unichar}} |{{unichar|a9|COPYRIGHT SIGN}} for intellectual property</code> U+00A9 © COPYRIGHT SIGN for intellectual property
{{radic}} {{radic| root | power }} {{radic|1 + 2''x''|4}} 41 + 2x
{{frac}} {{frac| integer | numerator | denominator }} {{frac|1|2|3}} 1+23
{{sfrac}} {{sfrac| integer | numerator | denominator }} {{sfrac|1|2|3}} 1 2/3
{{pars}} {{pars| s=size | text }} {{pars|s=200%|Content-inside-parentheses}} (Content-inside-parentheses)
{{vec}} {{vec|''A''| left/right | under/over }} {{vec|''A''|left|under}} A
{{dot}} no parameters {{dot}}  ·
{{Spaced en dash}} {{dash}} no parameters {{dash}}  –
{{em dash}} {{emdash}} no parameters {{emdash}}

Calculation

Template Shortcut /

Alternative

Usage Example Rendered Description
{{convert}}
{{number table sorting}}
{{str right}}
{{age}}
{{coord}}
{{bda}}
{{gsd}}

Images

Template Shortcut /

Alternative

Usage Example Rendered Description
{{panorama}}
{{wide image}} {{Wide image|name|image width|caption|box width|alignment|alt=alt text |dir=rtl |align-cap= }}
{{tall image}} {{Tall image|name|image width|box height|alt=alt text|caption|alignment}}
{{legend}}


Quotes

Template Shortcut /

Alternative

Usage Example Rendered Description
{{poem}}
{{quote}} {{blockquote}}
{{quote box}}
{{quote frame}}
{{tweet}}

TOC

Template Shortcut /

Alternative

Usage Example Rendered Description
{{TOC left}}
{{TOC right}}
{{TOC center}}
{{TOC limit}}
{{TOC hidden}}
{{Headless TOC}} {{Template:Headless TOC}}
{{Horizontal TOC}} {{Template:Horizontal TOC}}
{{Category TOC}}
{{Multi-column TOC}}
{{TOC bottom}}
{{TOC top}}

Layout

Template Shortcut /

Alternative

Usage Example Rendered Description
{{right}} {{right|text}} {{right|floating right}} floating right
{{left}} {{left|text}} {{left|floating left}}
floating left
{{center}} {{center|text}} {{center|floating center}}
floating center
{{center block}} {{center block| width= | height= | text}} see template documentation not helpful to render here
{{float}}
{{float left}}
{{float right}}
{{float center}}
{{clear}}
{{align}}
{{stack}}
{{indent}}
{{outdent}} {{out}} {{od}}
{{raise}}
{{lower}} {{out}} {{od}}
{{wide template}} {{out}} {{od}}

Text

Inline Spacing

Template Shortcut /

Alternative

HTML Entity Code Size Usage Example Rendered Description
Decimal Named
Non-Breaking Space characters
{{zero width joiner}} {{zwj}} &#8205; &zwj; no parameters ''A zero width joiner''{{zero width joiner}}{{fake citation needed}} A zero width joiner[citation needed] Invisibly 'sews together' two words as if they were a single word
{{hair space}} {{hsp}} {{hairsp}} {{px1}} &#8202; &hairsp; no parameters ''A hair space''{{hsp}}{{fake citation needed}} A hair space[citation needed] 1 pixel width non-breaking space
{{narrow no-break space}} {{nnbsp}} {{Template:Narrow no-break space}} {{Template:Narrow no-break space}} &#8239; na {{nnbsp|symbol}} wedding cost US${{nnbsp}}2,000,000. wedding cost US$ 2,000,000. Narrow non-breaking space
{{thin space}} {{tsp}} &#8201; &thinsp; {{thin space|symbol}} ({{thin space|symbol}}) instead of: (symbol) (symbol ) instead of: (symbol) A thin non-breaking space 1/5 of an em
{{spaces}} {{space}} {{nbsp}} varies   {{spaces|number off|type}} text{{spaces|2|em}}text text  text Used to display one or more non-breaking spaces of specified type
{{figure space}} {{fs}} {{fsp}} &#8199; &numsp; {{Figure space|number off}} 123{{br}}1{{fsp}}3 123
13
A non-breaking space equal in width to a digit
{{ns}} &#160; &nbsp;     {{ns|number off}} Ten{{ns|10}}eight{{ns|8}}six{{ns|6}}four{{ns|4}}! Ten          eight        six      four    ! Without any parameters inserts 3 non-breaking spaces
{{quad}} &#160; &nbsp;      no parameters text{{quad}}text text    text Inserts 4 non-breaking spaces
{{nb5}} &#160; &nbsp;       {{nb5|number of spaces}} text{{nb5}}text text     text Inserts 5 non-breaking spaces
{{nb10}} &#160; &nbsp;            no parameters text{{nb10}}text text          text Inserts 10 non-breaking spaces
Breaking Space characters
{{zero width space}} {{zwsp}} {{Template:Zero width space}} &#8203;
&ZeroWidthSpace;
no parameters ribulosebisphosphate{{0ws}}carboxylaseoxygenase ribulosebisphosphate​carboxylaseoxygenase Used to indicate where very large words will break if necessary
{{sp}} &#32; na I like green{{#if:{{{blue|}}}|{{sp}}and blue|{{sp}}but not blue}} I like green but not blue Most common space entity, typically used in passing template parameters
Non-characters spaces
{{px2}} na no parameters ''Two pixel gap''{{px2}}{{fake citation needed}} Two pixel gap[citation needed] Adds 2px of horizontal space
{{gaps}} na {{gaps|lhs=prefix|num|num|num|u=suffix}} {{gaps|lhs=π|3.14159|26535|89793|...}}
{{gaps|299|792|458|u=m/s}}
π = 3.141592653589793...
299792458 m/s
Outputs its unnamed arguments in order with gaps of 0.25em between
{{pad}} na  
{{in5}} na      
{{vpad}} na {{vpad |1= |clear= }} __{{br}}{{vpad|1=1em|clear=left}}__ __
__
Creates an invisible div of user-specified height for padding.
{{indent}} na
{{outdent}} {{out}} {{od}} na


Name / size Instance Example code and ... Using {{spaces}} Output Output {{spaces}}
none Some text<ref>...</ref> Some text[1]
Hair Some text{{hair space}}<ref>...</ref> Some text{{spaces|hair}}<ref>...</ref> Some text [1] Some text[1]
2-pixel Some text{{px2}}<ref>...</ref> Some text[1]
Narrow no-break Some text{{narrow no-break space}}<ref>...</ref> Some text [1]
Thin Some text{{thin space}}<ref>...</ref> Some text{{spaces|thin}}<ref>...</ref> Some text[1] Some text[1]
Standarda   Some text&nbsp;<ref>...</ref> Some text{{spaces}}<ref>...</ref> Some text [1] Some text [1]
En 1&ensp;3 1{{spaces|en}}3 1 3 13
Figure 123<br/>1{{figure space}}3 123{{br}}1{{spaces|fig}}3 123
13
123
13
Em 1&emsp;3 1{{spaces|em}}3 1 3 13

 a Provided here by a non-breaking space (&nbsp;).

Size

Template Shortcut /

Alternative

Usage Example Rendered Description
{{small}}
{{smaller}}
{{resize}}
{{midsize}}
{{larger}}
{{big}}
{{large}}
{{huge}}
{{font}}

Direction

Template Shortcut /

Alternative

Usage Example Rendered Description
{{transform-rotate}}
{{writing-mode}}
{{transform}}
{{mirrorH}}
{{mirrorV}}

Emphasis

Template Shortcut /

Alternative

Usage Example Rendered Description
{{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
{{color}}
{{font color}}
{{font}}
{{em}}
{{strong}}
{{yesitalic}}
{{noitalic}}
{{nocaps}}
{{nobold}}
{{smallcaps}}

Formatting

Template Shortcut /

Alternative

Usage Example Rendered Description
{{hover title}} {{Hover title|text|hover text|link=yes/no|dotted=yes/no}} {{Hover title|Hello|example}} example
{{nowrap}}
{{nowraplinks}}
{{pad}}

superscript and subscript

Template Shortcut /

Alternative

Usage Example Rendered Description
{{sup}} text{{sup|superscript}} text{{sup|superscript}} {{sup|superscript}}text textsuperscript    superscripttext
{{smallsup}} {{ssup}} text{{smallsup|small superscript}} text{{smallsup|small superscript}} {{smallsup|small superscript}}text textsmall superscript    small superscripttext
{{i sup}} {{issup}} {{padlssup}} ''text''{{i smallsup|small superscript}} ''text''{{i smallsup|small superscript}} (rather than: ''text''{{sup|superscript}}) textsmall superscript  (rather than: textsmall superscript)
{{i smallsup}} {{issup}} {{padlssup}} ''text''{{i smallsup|small superscript}} ''text''{{i smallsup|small superscript}} (rather than: ''text''{{smallsup|small superscript}}) textsmall superscript  (rather than: textsmall superscript)
{{b sup}} {{bsup}} text{{b sup|superscript}} text{{b sup|superscript}} (rather than: text{{sup|superscript}}) textsuperscript  (rather than: textsuperscript)
{{sub}} text{{sub|subscript}} text{{sub|subscript}} {{sub|subscript}}text textsubscript    subscripttext
{{smallsub}} {{ssub}} text{{smallsub|small subscript}} text{{smallsub|small subscript}} {{smallsub|small subscript}}text textsmall subscript small subscripttext
{{subsub}} text{{subsub|double-subscripted}} text{{subsub|double-subscripted}} {{subsub|double-subscripted}}text textdouble-subscripted    double-subscriptedtext
{{su}} text{{su|p=superscript|b=subscript}} text{{su|p=p{{eq}}superscript|b=b{{eq}}subscript}} {{su|p=p{{eq}}superscript|b=b{{eq}}subscript}}text textp=;superscript
b=subscript
    p=superscript
b=subscript
text
{{sup sub}} text{{sup sub|sup|sub}}{{spaces|4}}{{sup sub|sup|sub}}text textsup
sub
    sup
sub
text
{{±}} 1.23{{±|superscript|subscript}} 1.23{{±|4|2}} 1.23+4
−2
{{overunderset}} {{underoverset}} {{overunderset|text|superscript|subscript}} {{overunderset|text|superscript|subscript}} superscripttextsubscript
{{raise}}
{{lower}} {{out}} {{od}}

Lists

Template Shortcut /

Alternative

Usage Example Rendered Description
{{hlist}}
{{plainlist}}
{{cslist}}
{{flatlist}}
{{bulleted list}}
{{ordered list}}
{{unbulleted list}}
{{glossary}}
{{term}}
{{flowlist}}
{{columns-list}}
{{mset}}

Links

Template Shortcut /

Alternative

Usage Example Rendered Description
{{URL}}
{{URL2}}
{{plain link}} {{scp}} {{plk}}
{{plain}} {{pln}} {{pla}}
{{oldid}} {{permalink}}
{{oldid2}}
{{diff}}
{{history}} {{ph}}
{{pagelinks}}
{{page-multi}}
{{section link}} {{slink}} {{Template:Section link}}
{{multi-section link}} {{mslink}}

Tables

Example tables
Code
Template Shortcut /

Alternative

Usage Example Expands to Description
{{table}} {{Table|param1|param2|param3|class=}} {| {{Table|hide|sort|class=floatright}} {| class="wikitable collapsible collapsed sortable floatright" Used to apply common CSS classes for tables
{{wikitable}} {{wikitable}}
{{wikitable| class="wikitable" 
!header|- 
|row }}
header
row
removes the need to escape every | and also = for <table> element attributes
{{right}} {{right}} | {{Right}} text | style="text-align:right"| text
{{left}} {{left}} | {{left}} text | style="text-align:left"| text
{{center}} {{center}} | {{center}} text | style="text-align:center"| text
{{float right}} {{float right}} {| class="wikitable" {{float right}} {| class="wikitable" style="float: right; margin-left: 1em; clear: right;"
{{float left}} {{float left}} {| class="wikitable" {{float left}} {| class="wikitable" style="float: left; margin-right: 1em;"
{{float center}} {{float center}} {| class="wikitable" {{float center}} {| class="wikitable" style="margin-left: auto; margin-right: auto;"
{{Vertical Text}} |{{Vertical Text|long text}} {{Vertical Text|long text}} <span style="writing-mode: vertical-lr; white-space: nowrap; min-width: 20px; transform: rotate(180deg); ">long text</span>
{{vertical header}} {{vert header}} {{Template:Vertical header}} |{{vert header|nb= |stp= |va= |mw= |style= |cellstyle=|Your text here}} {{vertical header|long text}} <span style="writing-mode: vertical-lr; white-space: nowrap; min-width: 20px; transform: rotate(180deg); ">long text</span>
{{Aligned table}} |{{Vertical Text|long text}} {{Vertical Text|long text}} <span style="writing-mode: vertical-lr; white-space: nowrap; min-width: 20px; transform: rotate(180deg); ">long text</span>

Columns

Example columns
Code
{{col-begin}}
{{col-break}}
{| class="wikitable" style="width:18em"
|+ Production by year
|-
! 1980
| 50,000
|-
! 1990
| 75,000
|-
! 2000
| 90,000
|}
{{col-break}}
{| class="wikitable" style="width:18em"
|+ Profit by year
|-
! 1980
| $6,000
|-
! 1990
| $7,500
|-
! 2000
| $8,200
|}
{{col-break}}
{| class="wikitable" style="width:18em"
|+ Revenue by product
|-
! Widgets
| $25,000
|-
! Foos
| $65,500
|-
! Bars
| $28,000
|}
{{col-end}}
Template Shortcut /

Alternative

Usage Example Expands to Description
{{columns}}
{{col-begin}}
{{col-begin-fixed}}
{{col-begin-small}}
{{col-float}}
{{columns-list}}
{{columns-start}}
{{flex columns}}
{{div col}}

Language

Template Shortcut /

Alternative

Usage Example Rendered Description
{{respell}} {{respell|prə|NUN|see|AY|shən}} prə-NUN-see-AY-shən
{{Lang-en}}
{{Lang-fr}}
{{Lang-it}}
{{Lang-de}}
{{Lang-es}}
{{Lang-pt}}
{{lang-nl}}
{{lang-da}}
{{lang-ru}}
{{lang-fi}}
{{lang-no}}
{{lang-sv}}
{{lang-zh}}
{{lang-ko}}
{{lang-ja}}

Inline Cleanup Tags

Template Shortcut /

Alternative

Example Rendered Description
Attribution
{{According to whom}} The moon is considered to have {{According to whom|water, cream cheese|date=March 2020}} and potato salad. The moon is considered to have water, cream cheese[according to whom?] and potato salad. For tagging a vague unnamed and unsourced third party claim
{{Attribution needed}} Many people say that Earth is flat like a pancake.{{Attribution needed}} Many people say that Earth is flat like a pancake.[attribution needed] To identify when perspectives and opinions are asserted without stating whose they are.
{{By whom}}
{{From whom?}}
{{Like whom?}}
{{To whom?}}
{{Who}}
{{With whom}}
Clarity
{{ambiguous}} I have never used a Storage Array quite like that before!{{ambiguous|date=May 2020}} I have never used a Storage Array quite like that before![ambiguous] Used to highlight phrases that could have multiple meanings
{{clarify}}
{{Clarify span}}
{{Clarify timeframe}}
{{Context inline}}
{{Expand acronym}}
{{Incomprehensible inline}}
{{Incomprehensible inline span}}
{{Non sequitur}}
{{Sentence fragment}}
{{Which calendar}}
Miscellaneous
{{Data missing}}
{{Disambiguation needed}}
{{Needs IPA}}
{{Original research inline}}
{{Pronunciation needed}}
{{Siadn}}
{{Spam link}}
{{Synthesis inline}}
{{Synthesis inline span}}
{{Under discussion inline}}
{{Verify spelling}}
{{Whose translation}}
Neutrality
{{Buzzword inline}}
{{Compared to?}}
{{Editorializing}}
{{Fact or opinion}}
{{Opinion}}
{{Peacock term}}
{{POV statement}}
{{Promotion inline}}
{{Unbalanced opinion}}
{{Weasel inline}}
{{Weasel word some span}}
Insufficient Precision
{{By how much}}
{{Definition}}
{{Definition needed}}
{{Example needed}}
{{Example needed span}}
{{Explain}}
{{How}}
{{How often}}
{{Misquoted}}
{{Quantify}}
{{Specify}}
{{Vague}}
{{When}}
{{Where}}
{{Which}}
{{Who else}}
{{Why}}
{{Year needed}}
Excessive Precision
{{Duplication span}}
{{Importance inline}}
{{Relevance inline}}
{{Undue weight inline}}
{{Globalize-inline}}
Time-sensitivity
{{Anachronism inline}}
{{Clarify timeframe}}
{{Current event inline}}
{{Is this date calibrated?}}
{{Update after}}
{{Update inline}}
{{Update inline span}}
Verifiability - Dubious
{{Contradict-inline}}
{{Disputed inline}}
{{Dubious}}
{{Dubious span}}
{{Inconsistent}}
{{Speculation inline}}
Verifiability - Incomplete or broken citation
{{Author incomplete}}
{{Author missing}}
{{Bare URL inline}}
{{Date missing}}
{{Dead link}}
{{Edition needed}}
{{Episode needed}}
{{Full citation needed}}
{{Incomplete short citation}}
{{ISBN missing}}
{{Page needed}}
{{Place missing}}
{{Publisher missing}}
{{Season needed}}
{{Time needed}}
{{Title incomplete}}
{{Title missing}}
{{Volume needed}}
{{Year missing}}
Verifiability - Missing or problematic reference
{{Additional citation needed}}
{{Better source needed}}
{{Better source needed example}}
{{Check quotation}}
{{Chronology citation needed}}
{{Citation needed}}
{{Citation needed span}}
{{Citation not found}}
{{COI source}}
{{Deprecated inline}}
{{Excessive citations inline}}
{{Failed verification}}
{{Failed verification span}}
{{Imagefact}}
{{Irrelevant citation}}
{{Medical citation needed}}
{{Medical citation needed span}}
{{Nonspecific}}
{{Not verified in body}}
{{Obsolete source}}
{{Primary source inline}}
{{Promotional source}}
{{Quote without source}}
{{Request quotation}}
{{Retracted}}
{{Scientific citation needed}}
{{Self-published inline}}
{{Tertiary source inline}}
{{Third-party inline}}
{{Unreliable fringe source}}
{{Unreliable medical source}}
{{Unreliable source?}}
{{Verify quote}}
{{Verify source}}
Wording
{{Awkward}}
{{Buzzword inline}}
{{Copy edit inline}}
{{Neologism inline}}
{{Slang}}
{{Technical inline}}
{{Tone inline}}

Logic

Template Shortcut /

Alternative

Usage Example Rendered Description
{{if}}
{{ifor}}
{{ifeq}}
{{ifeqall}}
{{ifeqany}}
{{for loop}}
{{yesno}}
{{ifnotempty}}

HTML tag alternatives

Template Shortcut /

Alternative

HTML Tag Usage Example Rendered Description
{{pre}} <pre>...</pre>
{{pre2}} <pre>...</pre>
{{code}} <code>...</code>
{{kbd}} <kbd>...</kbd>
{{samp}} <samp>...</samp>
{{hr}} <hr />
{{break}} <br />
{{clear}} {{br}} <div style="clear: both;"></div>
{{abbr}} <abbr>...</abbr>
{{quote}} <blockquote>...</blockquote>
{{citation}} {{cite}} <cite>...</cite>
{{strikethrough}} {{strike}} <del>...</del>
{{underline}} {{under}} <u>...</u>
{{strong}} <strong>...</strong>
{{em}} <em>...</em>
{{dfn}} <dfn>...</dfn>
{{highlight}} {{h}} <mark>...</mark>
{{font}} <font>...</font>
{{center}} <center>...</center>
{{var}} <var>...</var>
{{sub}} <sub>...</sub>
{{sup}} <sup>...</sup>


Banners

{{Notice|This is a notice}}

{{Nutshell|Too long didn't read}}

{{Caution-banner|Careful Now}}

{{Warning-banner|Do not do that}}

{{High-use}}

{{peacock}}

{{weasel}}

{{controversial}}

{{disputed}}

{{POV}}

Templates

Links

Template Usage Example Rendered Description
{{tl}}
{{tlx}}
{{tlbare}}
{{purge}}
{{edit}}
{{diff}}
{{page-multi}}

Examples

Template Usage Example Rendered Description
{{escape}}
{{demo}}
{{markup}}
{{markup2}}
{{markupv}}
{{fake heading}}
{{lorem ipsum}}

Text Emphasis

Template Usage Example Rendered Description
{{xt}} this is an {{xt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{!xt}} this is an {{!xt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{xtn}} this is an {{xtn|inline typeface change}} for comparison this is an inline typeface change for comparison
{{xtd}} this is an {{xtd|inline typeface change}} for comparison this is an inline typeface change for comparison
{{mxt}} this is an {{mxt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{!mxt}} this is an {{!mxt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{mxtn}} this is an {{mxtn|inline typeface change}} for comparison this is an inline typeface change for comparison
{{mxtd}} this is an {{mxtd|inline typeface change}} for comparison this is an inline typeface change for comparison
{{bxt}} this is an {{bxt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{!bxt}} this is an {{!bxt|inline typeface change}} for comparison this is an inline typeface change for comparison
{{bxtn}} this is an {{bxtn|inline typeface change}} for comparison this is an inline typeface change for comparison
{{bxtd}} this is an {{bxtd|inline typeface change}} for comparison this is an inline typeface change for comparison
{{strongbad}}
{{stronggood}}

Referencing

Template Usage Example Rendered Description
{{ref}}
{{reflist}}
{{notelist}}
{{rp}} {{Refpages}}
{{a note}}
{{cite book}} {{cite book |last= |first= |author-link= |date= |title= |url= |location= |publisher= |page= |isbn=}} {{cite book |last=Joe |first=Blogs |author-link=Joe Blogs |date=1903 |title=Book of Bloggs |publisher=Blogs publishing |page=73 |isbn=978-1-234-56789-7}} Joe, Blogs (1903). Book of Bloggs. Blogs publishing. p. 73. ISBN 978-1-234-56789-7. Books and chapters
{{cite conference}} Conference papers
{{cite encyclopedia}} Edited collections
{{cite episode}} radio or TV episodes
{{cite interview}} Interviews
{{cite journal}} {{cite journal |last1= |first1= |last2= |first2= |date= |title= |url= |journal= |volume= |issue= |pages= |doi= |access-date=}} {{cite journal |last1=Overpeck |first1=J. T. |last2=Webb |first2=T. |last3=Prentice |first3=I. C. |date=January 1985 |title=Quantitative interpretation of fossil pollen spectra: Dissimilarity coefficients and the method of modern analogs |journal=Quaternary Research |volume=23 |pages=87–108 |bibcode=1985QuRes..23...87O |doi=10.1016/0033-5894(85)90074-2}} Overpeck, J. T.; Webb, T.; Prentice, I. C. (January 1985). "Quantitative interpretation of fossil pollen spectra: Dissimilarity coefficients and the method of modern analogs". Quaternary Research. 23: 87–108. Bibcode:1985QuRes..23...87O. doi:10.1016/0033-5894(85)90074-2. Academic journals
{{cite magazine}} Magazines and Periodicals
{{cite mailing list}} Public mailing lists
{{cite map}} Maps
{{cite news}} News Articles
{{cite newsgroup}} Online newsgroups
{{cite podcast}} Podcasts
{{cite press release}} Press releases
{{cite report}} Reports
{{cite speech}} Speeches
{{cite techreport}} Technical Reports
{{cite thesis}} Theses
{{cite web}} Web sources not covered by any of the above