Jump to content

Template:Infobox character

From Worm Wiki
Revision as of 03:56, May 26, 2012 by Valravn (talk | contribs)
{{#if: | | Civilian Name || {{{civname}}} }} {{#if: | | Aliases || {{{alias}}} }} {{#if: | | Designation || {{{designation}}} }} {{#if: | | Side || {{{side}}} }} {{#if: | | Teams || {{{team}}} }} {{#if: | | Relations || {{{relations}}} }}
Infobox character


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create a character infobox.
Syntax
Type {{infobox character{{#ifeq: ...|---|||<...>}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}{{#ifeq: ---|---|||<--->}}}} somewhere, with parameters as shown below.
Sample output
{{infobox character
| name        = Dragon
| alias       = Dragon
| civname     = None
| gender       = Female
| classification = [[Tinker]]
| align       = Hero
| status      = Active
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| location    = Vancouver, Canada
| relations   = [[Andrew Richter]] (creator, deceased)
}}

Results in...

{{#if: None | | Civilian Name || None }} {{#if: Dragon | | Aliases || Dragon }} {{#if: | | Designation || {{{designation}}} }} {{#if: | | Side || {{{side}}} }} {{#if: The Guild
The Protectorate (honorary) | | Teams || The Guild
The Protectorate (honorary) }} {{#if: Andrew Richter (creator, deceased) | | Relations || Andrew Richter (creator, deceased) }}
Dragon