Jump to content

Template:Infobox character/doc

From Worm Wiki
Revision as of 11:42, April 25, 2012 by Default (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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       = Bob [defaults to pagename]
| image      = File:Example.jpg
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| title      = The Flower
| gender     = Male
| race       = Flowerkind
| faction    = Flora
| health     = 9001
| level      = 5
| status     = Flowering
| location   = The Garden
}}

Results in...

<infobox> <title source="name"><default>Infobox character/doc</default></title>

<image source="Image"></image> <image source="image"></image> <group><header>Basic Information</header> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label><default>Unknown</default> <label>Death</label> <label>Age</label><default>Unknown</default> <label>Post-timeskip</label> <label>Ward start</label> <label>Relations</label> <label>Family</label></group> <group><header>Professional Status</header> <label>Occupation</label> <label>Classification</label> <label>Unique Features</label> <label>Alignment</label>

<label>Status</label><format>
Flowering
</format>

<label>Location</label> <label>Teams</label> <label>Previous Team(s)</label> <label>Base of Operations</label></group> <group><header>First Appearance</header> <label>Worm Debut</label> <label>Ward Debut</label></group> </infobox>