Jump to content

Template:Infobox character/doc: Difference between revisions

From Worm Wiki
Default (talk | contribs)
No edit summary
 
Yonkerbonk (talk | contribs)
m Undo revision 65733 by Yonkerbonk (talk)
Tag: Undo
 
(4 intermediate revisions by 2 users not shown)
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
| gender      = Female
| title      = The Flower
| classification = [[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
}}</pre>
}}</pre>


Line 23: Line 21:


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

Latest revision as of 17:39, April 20, 2021

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