[edit subpage]
| Code | Result | Equivalent |
|---|---|---|
| Categories existing on Commons | ||
{{C|Link templates}} | Link templates | [[:Category:Link templates|Link templates]] |
{{C|Link templates|Display name}} | Display name | [[:Category:Link templates|Display name]] |
{{C|Link templates|3=X}} | Link templates | [[:Category:Link templates|Link templates]] |
{{C|Link templates|3=x}} | Link templates | [[:Category:Link templates|Link templates]] |
{{C|Link templates|3=B}} | [[Link templates]] | (special output display) |
{{C|Link templates|3=-}} | Category:Link templates | (special output display) |
{{C|Link templates|3=+}} | Category:Link templates | (special output display) |
{{Cl|Link templates}} | Category:Link templates | [[:Category:Link templates]] |
| CategoriesNOT existing on Commons | ||
{{C|Category name}} | Category name | [[:Category:category name|category name]] |
{{C|Category name|Display name}} | Display name | [[:Category:Category name|Display name]] |
{{C|Category name|3=X}} | Category name | (special output display) |
{{C|Category name|3=x}} | Category name | (special output display) |
{{C|PowerHaus|3=X}} | PowerHaus | (not-empty not-existing category) |
{{C|PowerHaus|3=x}} | PowerHaus | (not-empty not-existing category) |
{{C|Category name|3=x}} | [[Category:Category name]] | (special output display) |
{{Cl|Category name}} | Category:Category name | [[:Category:Category name]] |
| Categories on other wikis (e.g. below on Portuguese Wikipedia), existence not tested | ||
{{C|!Predefinições por função|Predefs|pt}} | Predefs | [[:pt:Category:!Predefinições por função|Predefs]] |
{{C|XyzXyz||pt}} | XyzXyz | [[:pt:Category:XyzXyz]] |
[edit subpage]
| Code | Result |
|---|---|
{{F|Example.jpg|DisplayName|16}} | DisplayName: |
{{Im|Example.jpg}} | Example.jpg |
{{Lim|Example.jpg}} | File:Example.jpg(edit|talk|history|links|watch|logs) |
{{Idl|Example.jpg}} | File:Example.jpg(edit talk history logs links usage del) |
{{Il|Example.jpg}} | File:Example.jpg (edit ·last ·history ·watch ·unwatch ·global usage ·logs ·purge ·w ·search ·links ·DR ·del ·undel ·Delinker log) |
{{Media|Example.ogg}} | Example.ogg (info) |
{{Mli|Example.ogg}} | () |
{{Mli|Example.ogg|file}} | (file) |
{{Audio|Example.ogg|File name}} | File nameⓘ |
{{Audio2|Example.ogg|File name}} | File name (listen) |
[edit subpage]
| Template{{W}} - examples | short | Result | links to |
|---|---|---|---|
| {{w||en:WP}} | {{W}} | en:WP | en:Main page |
| {{w|Braille#Lletres i nombres||ca)}} | Braille#Lletres i nombres | ca:article page | |
| {{w|template:Commonscat||de}} | {{Wd|template:Commonscat}} | template:Commonscat | de:Vorlage:Commonscat |
| {{w|category:Liste d'artistes||fr}} | {{Wf|category:Liste d'artistes}} | category:Liste d'artistes | fr:Catégorie:Liste d'artistes |
| {{w|file:Coverkill.jpg||pt}} | {{Wp|file:Coverkill.jpg}} | file:Coverkill.jpg | pt:Ficheiro:Coverkill.jpg |
| {{w|user:Feketetomi||hu}} | {{Wh|user:Feketetomi}} | user:Feketetomi | hu:Szerkesztő:Feketetomi |
| {{w|talk:Merano#Rino Gaetano e Merano|3=it)}} | {{Wi|talk:Merano#Rino Gaetano e Merano)}} | talk:Merano#Rino Gaetano e Merano | it:Discussione:Merano |
| {{w|Carnivora||wikispecies)}} | {{W|Carnivora||species)}} | Carnivora | Wikispecies:Carnivora |
In all Wikis, the English namespaces (e.g. file, user) work as well as the different national ones.
{{Multilingual link}} creates a link to Wikipedia article in user's interface language.
[edit subpage]
| Code | Result | Notes | lock |
|---|---|---|---|
{{T|example}} | {{Example}} | makes brackets part of the link | |
{{T0|example}} | Example | just link, without the brackets | |
{{T1|example}} | {{Example}} | inner brackets are part of the link | |
{{T2|example}} | {{Example}} | brackets are not a part of the link | |
{{Tl|example}} | {{Example}} | makes brackets around the link | |
{{Tlr|User:Example}} | {{User:Example}} | like{{tl}} but for any namespace | |
{{Tls|example}} | {{subst:example}} | no parameters, adds "subst:" | |
| Templates showing parameters0Meta template {{Tle}} is easiest to parametrize. | |||
{{Tle|T=F|p1=1|v1|p2=2|v2|p3=3|v3}} | {{ F |1 = v1 |2 = v2 |3 = v3 }} | describes template parameters by names and values | |
{{Tlx|example|1|2|3|4|5||7|8|9}} | {{example|1|2|3|4|5|7|8|...}} | up to 8 parameters | |
{{Tlf|example|1|2|3|...up to 8}} | {{example|1|2|3|...up to 8}} | up to 8 parameters, no link | |
{{Tlc|example|1|2|3|4|||7|up to 8|9 is ignored.}} | {{example|1|2|3|4|||7|up to 8}} | up to 8 parameters, no link,<code> style | |
{{Tld|example|1|2||3||}} | {{example|1||2|3||}} | up to 8 parameters,<code> style[clarification needed] | |
{{Tlsu|User:Example}} | {{subst:User:Example}} | like{{Tls}}, but supporting parameters | |
| Alternative forms0These ignore empty parameters. | |||
{{Tlp|example|1|2|3|4|5||7|8|9 is ignored.}} | {{example|1|2|3|4|5|7|8}} | up to 8 parameters; ignores empty parms | |
{{Tl2|example|p1|p2}} | {{example|p1|p2}} | up to 2 parameters,<code> style | |
{{Tlsp|example|1|2|3|4|5|6|7|8|9}} | {{subst:example|1|2|3|4|5|6|7|8|...}} | up to 8 parameters, adds linked "subst:" | |
{{Tlsx|example|1|2|3|4|5|6 and above are ignored.|7}} | {{subst:example|1|2|3|4|5|...}} | up to 5 parameters, adds linked "subst:",<code> style | |
| Text style ↓ | {{tlg}} options[note 1] to achieve text style | Link style | ||||
|---|---|---|---|---|---|---|
| Linked | Unlinked | Linked with subst | Unlinked with subst | Linked including braces | ||
| {{tlg}} options[note 1] to achieve link style | N/A | DEFAULT | nolink=yes | subst=yes | nolink=yes | braceinside=yes |
| normal | DEFAULT |
|
| N/A | ||
code | code=yes |
|
| N/A | ||
| monospace | mono=yes | N/A | N/A | |||
plaincode | plaincode=yes | |||||
| kbd[clarification needed] | kbd=yes | |||||
{{tlg}} is the most general template, allowing any combination of text style and/or link style options.<spanclass="nowrap">...</span> tags.<spanstyle="font-family: monospace;">...</span>.{{tlg|plaincode=yes}} uses<codestyle="border: none; background-color: transparent;">...</code>.{{tlg|kbd=yes}} uses<kbd>...</kbd>.Be aware that other templates may use the parameter "editor" or "by" for the same purpose.