Jump to content

Template:Infobox character/doc: Difference between revisions

From Worm Wiki
Yonkerbonk (talk | contribs)
No edit summary
Tag: visualeditor-wikitext
Yonkerbonk (talk | contribs)
m Undo revision 65733 by Yonkerbonk (talk)
Tag: Undo
 
Line 15: Line 15:
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| location    = Vancouver, Canada
| location    = Vancouver, Canada
| relationships   = [[Andrew Richter]] (creator, deceased)
| relations   = [[Andrew Richter]] (creator, deceased)
}}</pre>
}}</pre>


Line 30: Line 30:
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| team        = [[The Guild]] <br/>[[The Protectorate]] (honorary)
| location    = Vancouver, Canada
| location    = Vancouver, Canada
| relationships   = [[Andrew Richter]] (creator, deceased)
| relations   = [[Andrew Richter]] (creator, deceased)
}}
}}


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