Jump to content

Template:Status/doc

From Worm Wiki
Revision as of 18:48, November 9, 2019 by Damage3245 (talk | contribs) (Created page with "==Samples== <pre> * Toto{{status|deceased}} * Toto{{status|noncanon}} * Toto{{status|former}} * Toto{{status|former|resigned}} * Toto{{status|unknown}} * Toto{{status|unknown|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Samples[edit]

* Toto{{status|deceased}}
* Toto{{status|noncanon}}
* Toto{{status|former}}
* Toto{{status|former|resigned}}
* Toto{{status|unknown}}
* Toto{{status|unknown|disappeared}}

gives:

  • Toto {{#switch: deceased
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}}

  • Toto {{#switch: noncanon
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}}

  • Toto {{#switch: former
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}}

  • Toto {{#switch: former
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}}

  • Toto {{#switch: unknown
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}}

  • Toto {{#switch: unknown
 |deceased=
 |noncanon=
 |former=
 |unknown=*
 |#DEFAULT=

}} Note that the second parameter for "former" and "unknown" appears as a tooltip.

Legend[edit]

The legend of the symbols is in {{Status/Legend{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}}.

Dependances[edit]

This template uses the CSS class "status-symbol", currently styled in MediaWiki:Common.css.