Documentation/Style guide/templates

Overview

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

TemplateExample syntaxExample output
Hatnote
{{hatnote|Here is my note.}}
Here is my note.
Caution
{{Caution}} Here is my caution 1.
{{Caution|Here is my caution 2.}}
Caution! Caution: Here is my caution 1.

Caution! Caution: Here is my caution 2.
Warning
{{warning}} Here is my warning 1.
{{warning|Here is my warning 2.}}
Warning Warning: Here is my warning 1.

Warning Warning: Here is my warning 2.
Todo
{{Todo|Here is my todo.}}
TODO: Here is my todo.
Fixtext
{{Fixtext|Here is my fixtext.}}
FIX: Here is my fixtext.
Note
{{note|Note 1}}
{{note|Note 2|reminder}}
{{note|Note 3|error}}
{{note}} Loose test 
Note 1

Note 2

Note 3

Note Note: Loose test
Tip
{{Tip|Here is my tip.}}
Here is my tip.
Notice
{{Notice|Here is my notice.}}
Main
{{Main|test|sandbox|w:foo}}
Main pages: test , sandbox and w:foo
See also
{{See also|test|sandbox|w:foo}}
See also: test, sandbox and w:foo
Merge
{{{{merge|Example_page}}
Talkquote
{{talkquote|foo bar bang|example}}

foo bar bang
 User:example

Smaller
Body text {{Smaller|(note with smaller text)}}
Body text (note with smaller text)
Status
{{status}}
{{status|done}}
{{status|on hold}}
{{status|not done}}
Status: In progress


Status: Done


Status: On hold


Status: Not done
Doing
{{Doing}}
In progress In progress
Not done
{{Not done}}
N Not done
Done
{{Done}}
Yes Done
Resolved
{{Resolved}}
Yes Resolved
Documentation needed
{{Documentation needed}}
{{Documentation needed|section}}

Fixme
{{Fixme}}
Historical
{{Historical}}
Outdated (Alias: Update)
{{Outdated}}
Alias: {{Update}}
HistoricalProject
{{HistoricalProject}}
Archived extension
{{Archived extension}}
Soft redirect
{{Soft redirect}}
#REDIRECT[[:{{{1}}}|{{{1}}}]]
This page is a soft redirect.
Draft
{{Draft}}
DoNotTranslate
{{DoNotTranslate}}
Last updated
{{Last updated}}
Last updated: 2025-06-26 by TBurmeister (WMF)
{{Doc-links|Link to an example doc}}
{{Doc-links|Link to a doc template|template}}

TabbedWindow
{{TabbedWindowBegin}}
...
{{TabbedWindowEnd}}
Category:Gadget:TabbedWindow

Python

code

JavaScript

code
Category:Documentation Category:Maintenance
Category:Documentation Category:Gadget:TabbedWindow Category:Maintenance