Jump to content

Template:Infobox character: Difference between revisions

From Worm Wiki
Ineni (talk | contribs)
Infobox updated using the portable infobox migration tool
Ineni (talk | contribs)
No edit summary
Tag: sourceedit
Line 11: Line 11:
<data source="relations"><label>'''Relations'''</label></data>
<data source="relations"><label>'''Relations'''</label></data>
</infobox>
</infobox>
<br>
<noinclude>
<noinclude>
== Usage & preview ==
{{documentation}}
Type in this:
 
<pre>
{{Infobox character
|name=
|civname=
|alias=
|gender=
|classification=
|align=
|status=
|location=
|team=
|relations=
}}
 
</pre>
 
to see this:
 
{{Infobox character
|name=This is a test
|civname=This is a test
|alias=This is a test
|gender=This is a test
|classification=This is a test
|align=This is a test
|status=This is a test
|location=This is a test
|team=This is a test
|relations=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 06:55, August 26, 2015

<infobox> <title source="name"><default>Infobox character</default></title> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Relations</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> <label>Civilian Name</label> <label>Aliases</label> <label>Gender</label> <label>Classification</label> <label>Alignment</label> <label>Status</label> <label>Location</label> <label>Teams</label> <label>Relations</label> </infobox>