Jump to content

Template:Infobox character: Difference between revisions

From Worm Wiki
Ineni (talk | contribs)
No edit summary
Tag: sourceedit
Ineni (talk | contribs)
No edit summary
Tag: sourceedit
Line 17: Line 17:
<data source="previous team"><label>'''Previous Team'''</label></data>
<data source="previous team"><label>'''Previous Team'''</label></data>
<data source="base of operations"><label>'''Base of Operations'''</label></data>
<data source="base of operations"><label>'''Base of Operations'''</label></data>
<header>First Appearence</header>
<header>First Appearence</header><default>Unknown.</default>
<data source="web serial"><label>'''Web Serial'''</label></data>
<data source="web serial"><label>'''Web Serial'''</label></data>
</infobox>
</infobox>

Revision as of 06:53, March 19, 2016

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

<image source="Image"></image> <header>Basic Information</header> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Age</label> <label>Relations</label> <label>Family</label> <header>Professional Status</header> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Previous Team</label> <label>Base of Operations</label> <header>First Appearence</header><default>Unknown.</default> <label>Web Serial</label> </infobox>

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...

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

<image source="Image"></image> <header>Basic Information</header> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Age</label> <label>Relations</label> <label>Family</label> <header>Professional Status</header> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Previous Team</label> <label>Base of Operations</label> <header>First Appearence</header><default>Unknown.</default> <label>Web Serial</label> </infobox>