Jump to content

Template:Status/doc

From Worm Wiki

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.