Difference between revisions of "Template:Character Infobox"

From Final Kingdom MUSH
Jump to: navigation, search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
   td#image {padding:0px; margin-left: 0px; margin-bottom: 0px;}
 
   td#image {padding:0px; margin-left: 0px; margin-bottom: 0px;}
 
}}{| class="CharacterBox"
 
}}{| class="CharacterBox"
! style="text-align: center; background-color:#ccccff; border-radius: 5px 5px 0px 0px;" colspan="2" width="100%" |{{#if:{{{firstname|}}}|'''{{{firstname}}} {{#if:{{{middlename|}}} |{{{middlename|}}} |}}{{{lastname|}}}'''|{{PAGENAME}} }}
+
! style="text-align: center; background-color:#ccccff; border-radius: 5px 5px 0px 0px;" colspan="2" width="100%" |{{#if:{{{firstname|}}}|'''{{{firstname}}} {{#if:{{{middlename|}}} |''{{{middlename|}}}'' |}}{{{lastname|}}}'''|{{PAGENAME}} }}
 
|-   
 
|-   
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
Line 72: Line 72:
 
|-
 
|-
 
! Group
 
! Group
| {{#arraymap:{{{group|Unaffiliated}}}|,|x|[[group::x]]}}
+
| {{#arraymap:{{#ifeq:{{{group|Unaffiliated}}}|None|Unaffiliated|{{{group|Unaffiliated}}}}}|,|x|[[group::x]]}}
 
|-
 
|-
 
! Occupation/Job
 
! Occupation/Job

Latest revision as of 11:52, 17 January 2013

This is the "Character Infobox" template. It should be called in the following format:

{{Character Infobox
|firstname=
|lastname=
|middlename=
|image=
|imageoptions=
|caption=
|age=
|species=
|sex=
|height=
|weight=
|series=
|styles=
|hometown=
|group=
|occupation=
|alignment=
|themesong=
|quote=
|footer=
}}

Edit the page to see the template text.