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 11: Line 11:
<data source="location"><label>'''Location'''</label></data>
<data source="location"><label>'''Location'''</label></data>
<data source="team"><label>'''Teams'''</label></data>
<data source="team"><label>'''Teams'''</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>
<data source="relations"><label>'''Relations'''</label></data>
<data source="relations"><label>'''Relations'''</label></data>
<data source="family"><label>'''Family'''</label></data>
<data source="web serial"><label>'''Web Serial'''</label></data>
</infobox>
</infobox>



Revision as of 08:12, August 26, 2015

<infobox> <title source="name"><default>Infobox character</default></title> <image source="Image"/> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Age</label> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Previous Team</label> <label>Base of Operations</label> <label>Relations</label> <label>Family</label> <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"/> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Age</label> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Previous Team</label> <label>Base of Operations</label> <label>Relations</label> <label>Family</label> <label>Web Serial</label> </infobox>