Jump to content

Template:Status/Legend

From Worm Wiki
Revision as of 18:48, November 9, 2019 by Damage3245 (talk | contribs) (Created page with "{{#ifeq: {{{included|no}}}|no|<div style="width: 400px; margin: auto; font-size: smaller; text-align: center;"> {{Hide|mode=start|showbutton=[Click here to see the legend of t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq: no|no|

Template:Hide

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

}}: the character is deceased.

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

}}: the character's status is unknown. Hovering the symbol may give further details.

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

}}: the character is non-canon.

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

}}: the character is no longer part of this group. Hovering the symbol may give further details.

Template:Hide

}}

Template documentation (for the above template, sometimes hidden or invisible)

This template is the legend of the symbols used in naviboxes to indicate character status. Any navibox making use of {{Status{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} should have this legend put directly below.

The legend should be added on the gallery template page, so that it is always transcluded with the gallery. See for example Template:The Wards Navibox. However, when the gallery is designed to be itself included in another, like *example*, then the legend template must be invocated as follows:

{{Status/Legend|included={{{included|no}}}}}

Then the legend only appears when the gallery is used alone.