Jump to content

Template:Infobox character/doc: Difference between revisions

From Worm Wiki
Default (talk | contribs)
No edit summary
 
Valravn (talk | contribs)
No edit summary
Line 6: Line 6:


<pre>{{infobox character
<pre>{{infobox character
| name      = Bob [defaults to pagename]
| name       = Dragon
| image      = File:Example.jpg
| alias       = Dragon
| imagewidth = [defaults to 250]
| civname    = None
| caption    = Bob the Flower
| designation = [[Tinker]]
| title     = The Flower
| align      = Hero
| gender    = Male
| status     = Active
| race      = Flowerkind
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| faction   = Flora
| location   = Vancouver, Canada
| health    = 9001
| relations   = [[Andrew Richter]] (creator, deceased)
| level      = 5
| status    = Flowering
| location   = The Garden
}}</pre>
}}</pre>


Line 23: Line 20:


{{infobox character
{{infobox character
| name     = Bob
| name       = Dragon
| image    = Image:Example.jpg
| alias      = Dragon
| caption  = Bob the Flower
| civname    = None
| title    = The Flower
| designation = [[Tinker]]
| gender  = Male
| align      = Hero
| race    = Flowerkind
| status      = Active
| faction  = Flora
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| health  = 9001
| location   = Vancouver, Canada
| level   = 5
| relations   = [[Andrew Richter]] (creator, deceased)
| status   = Flowering
| location = The Garden
}}
}}


<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 04:34, May 26, 2012

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
| designation = [[Tinker]]
| align       = Hero
| status      = Active
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| location    = Vancouver, Canada
| relations   = [[Andrew Richter]] (creator, deceased)
}}

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>
Active
</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>