Documentation/Style guide/templates
Appearance
Overview
[edit]Templates are wiki pages whose content can be embedded in other pages. They allow for easy translations and help maintain consistency among related documents. This page describes some templates for formatting text.
Also see Help:Templates. There is also a similar list for wikitech.wikimedia.org.
Templates
[edit]Template | Example syntax | Example output | ||
---|---|---|---|---|
{{hatnote|Here is my note.}} |
Here is my note.
| |||
{{Caution}} Here is my caution 1. {{Caution|Here is my caution 2.}} |
Caution: Here is my caution 1.
| |||
{{warning}} Here is my warning 1. {{warning|Here is my warning 2.}} |
Warning: Here is my warning 1. | |||
{{Todo|Here is my todo.}} |
TODO: Here is my todo.
| |||
{{Fixtext|Here is my fixtext.}} |
FIX: Here is my fixtext. | |||
{{note|Note 1}} {{note|Note 2|reminder}} {{note|Note 3|error}} {{note}} Loose test |
Note 1 Note 2 Note 3 Note: Loose test | |||
{{Tip|Here is my tip.}} |
Here is my tip.
| |||
{{Notice|Here is my notice.}} |
| |||
{{Main|test|sandbox|w:foo}} |
||||
{{See also|test|sandbox|w:foo}} |
||||
{{talkquote|foo bar bang|example}} |
| |||
Body text {{Smaller|(note with smaller text)}} |
Body text (note with smaller text) | |||
{{status}} {{status|done}} {{status|on hold}} {{status|not done}} |
Status: In progress Status: Done Status: On hold Status: Not done | |||
{{Doing}} |
In progress | |||
{{Not done}} |
Not done | |||
{{Done}} |
Done | |||
{{Resolved}} |
Resolved | |||
{{Fixme}} |
| |||
{{Historical}} |
| |||
{{Outdated}} Alias: {{Update}} |
| |||
{{Archived extension}} |
| |||
{{Soft redirect}} |
[[:{{{1}}}|{{{1}}}]] This page is a soft redirect. | |||
{{Draft}} |
| |||
{{DoNotTranslate}} |
| |||
{{Last updated}} |
Last updated: 2024-04-08 by TBurmeister (WMF) | |||
{{Doc-links|Link to an example doc}} {{Doc-links|Link to a doc template|template}} |
||||
{{TabbedWindowBegin}}... {{TabbedWindowEnd}} |