You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Wikitech documentation templates

From Wikitech-static
Revision as of 06:59, 12 September 2021 by imported>Quiddity (nocat and rm dupe)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Warning Caution: Here is my note.


{{Caution|Here is my note.}}

Warning Caution: Here is my note.


{{warning}}

Different version than on mediawikiwiki. Just uses ambox here.

{{warning|Here is my note.}}

Todo

{{Todo}}

Does not exist here.

Fixme

{{Fixme}}

{{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}}
Foo
Foo
Foo
Foo

Tip

{{Tip}}

Does not exist here.

Notice

{{Notice}}

{{Notice|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}}

☒N Not done

{{Done}}

{{Done}}

Yes Done

{{Resolved}}

Does not exist here.

{{Justanote}}

{{Justanote|foo}}

Note.svg foo

Historical

{{archive}} aka. {{Historical}}

{{Historical}}

{{Historical|year=2005}}

Outdated

{{Outdated}}

{{Outdated-inline}}

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 }}

metadata
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}}

Draft

{{Draft}}

{{Draft}}