Jump to content

Template:Infobox character: Difference between revisions

From Worm Wiki
Valravn (talk | contribs)
No edit summary
Ineni (talk | contribs)
Infobox updated using the portable infobox migration tool
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
<infobox>
|-
<title source="name"><default>{{PAGENAME}}</default></title>
! colspan="2" style="background-color:#3366CC; color:#ffffff; font-size:120%; padding:1em;" | {{{name|{{PAGENAME}}}}}
<data source="civname"><label>'''Civilian Name'''</label></data>
|- style="text-align:center;"
<data source="alias"><label>'''Aliases'''</label></data>
|-
<data source="gender"><label>'''Gender'''</label></data>
{{#if: {{{civname|}}} | {{!}} '''Civilian Name''' {{!!}} {{{civname}}} }}
<data source="classification"><label>'''Classification'''</label></data>
|-
<data source="align"><label>'''Alignment'''</label></data>
{{#if: {{{alias|}}} | {{!}} '''Aliases''' {{!!}} {{{alias}}} }}
<data source="status"><label>'''Status'''</label></data>
|-
<data source="location"><label>'''Location'''</label></data>
{{#if: {{{gender|}}} | {{!}} '''Gender''' {{!!}} {{{gender}}} }}
<data source="team"><label>'''Teams'''</label></data>
|-
<data source="relations"><label>'''Relations'''</label></data>
{{#if: {{{classification|}}} | {{!}} '''Classification''' {{!!}} {{{classification}}} }}
</infobox>
|-
<noinclude>
{{#if: {{{align|}}} | {{!}} '''Alignment''' {{!!}} {{{align}}} }}
== Usage & preview ==
|-
Type in this:
{{#if: {{{status|}}} | {{!}} '''Status''' {{!!}} {{{status}}} }}
 
|-
<pre>
{{#if: {{{location|}}} | {{!}} '''Location''' {{!!}} {{{location}}} }}
{{Infobox character
|-
|name=
{{#if: {{{team|}}} | {{!}} '''Teams''' {{!!}} {{{team}}} }}
|civname=
|- style="text-align:top;"
|alias=
|-
|gender=
{{#if: {{{relations|}}} | {{!}} '''Relations''' {{!!}} {{{relations}}} }}
|classification=
|-
|align=
|}<noinclude><br style="clear:both;" />
|status=
{{documentation}}</noinclude>
|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>

Revision as of 06:53, 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>

Usage & preview

Type in this:

{{Infobox character
|name=
|civname=
|alias=
|gender=
|classification=
|align=
|status=
|location=
|team=
|relations=
}}

to see this:

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


Click here to refresh the preview above