Wikitech documentation templates
Roundup of existing wikitech documentation-esque templates. (Compare with mw:Documentation/Style guide/templates.)
- Template
- Link
- Example
- Example output
Hatnote
{{hatnote}}
- Does not exist here.
Caution and Warning
{{Caution}}
{{Caution}} Here is my note.
Caution: Here is my note.
{{Caution|Here is my note.}}
![]() | Here is my note. |
{{warning}}
- Different version than on mediawikiwiki. Just uses ambox here.
{{warning|Here is my note.}}
![]() | Here is my note. |
Todo
{{Todo}}
- Does not exist here.
Fixme
{{Fixme}}
{{Fixme|foo}}
![]() | FIXME: foo |
Fixme inline
{{Fixme inline}}
{{Fixme inline|foo}}
{{Fixme inline|where}}
{{Fixme inline|when}}
[Fix Me]
[Where?]
[When?]
Remark
{{Remark}}
{{Remark|Foo}} {{Remark|Foo|reminder}} {{Remark|Foo|error}} {{Remark|Foo|gotcha}}
Tip
{{Tip}}
- Does not exist here.
Notice
{{Notice}}
{{Notice|foo bar bang}}
![]() | foo bar bang |
Main
- Cannot do interwiki links. Requires TNT (translatable template) wrapping template.
{{Main}}
- Does not exist here.
See also
{{See also}}
{{See also|test|sandbox|w:foo}}
Talkquote
{{Talkquote}}
- Does not exist here.
Smaller
{{Smaller}}
- Does not exist here.
Status
{{Status}}
{{status}} |
→ | Status: Unresolved |
{{status|done}} |
→ | Status: Done |
{{status|on hold}} |
→ | Status: Unresolved |
{{status|not done}} |
→ | Status: Unresolved |
- See template page for more color options, and wording change options.
Merge
{{Merge}}
{{Merge|foo}}
- It has been suggested that this page should be merged with foo
Doing Not Done Done Resolved
{{Doing}}
{{Doing}}
Doing...
{{Not done}}
{{Not done}}
Not done
{{Done}}
{{Done}}
Done
{{Resolved}}
- Does not exist here.
{{Justanote}}
{{Justanote|foo}}
Historical
{{archive}} aka. {{Historical}}
{{Historical}}
{{Historical|year=2005}}
![]() | This page contains historical information. It is probably no longer true. |
![]() | This page contains historical information. It is probably no longer true. 2005 |
Outdated
{{Outdated}}
![]() | This page may be outdated or contain incorrect details. Please update it if you can. |
{{Outdated-inline}}
![]() | This information is outdated. |
Update
{{Update}}
- Does not exist here.
Codesample
{{codesample}}
{{Codesample|name=metadata|lang=yaml|scheme=light|line=1|start=5|highlight=1,4|code=
name: foo-redirect
namespace: tool-foo
labels:
name: foo-redirect
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/permanent-redirect: https://bar.toolforge.org/$1$is_args$args
}}
name: foo-redirect
namespace: tool-foo
labels:
name: foo-redirect
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/permanent-redirect: https://bar.toolforge.org/$1$is_args$args
Staging
{{Staging}}
{{Staging}}
![]() | This is a staging page! This page contains notes and working drafts that are subject to change and may be inaccurate. |
Draft
{{Draft}}
{{Draft}}
This page is currently a draft. More information and discussion about changes to this draft on the talk page. |
Linking to Gerrit
Link to a repository
{{git repo}}
{{git repo|wikimedia/developer-portal}}
Link to a change
{{gerrit}}
{{Gerrit|4203}}
Link to a file
{{gitweb}}
{{Gitweb|project=mediawiki/extensions/examples|file=extension.json}}