Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
Line 23: Line 23:
  
 
| topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|100px|{{PAGENAME}}]] }}
 
| topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|100px|{{PAGENAME}}]] }}
| outertitleclass = title
 
 
| class =  
 
| class =  
 
| style = body
 
| style = body
 
| name = {{PAGENAME}}
 
| name = {{PAGENAME}}
| outertitle = {{PAGENAME}}
 
 
| headingstyle =  
 
| headingstyle =  
 
| contentstyle =  
 
| contentstyle =  
Line 37: Line 35:
 
| content1 = {{{Full Name|}}}
 
| content1 = {{{Full Name|}}}
  
| heading2 = {{#switch: {{#len:{{{Age|}}} }} | 0 = | Age }}
+
| heading2 = {{#switch: {{#len:{{{Codename|}}} }} | 0 = | Codename }}
| content2 = {{{Age|}}}
+
| content2 = {{{Codename|}}}
  
| heading3 = {{#switch: {{#len:{{{Gender|}}} }} | 0 = | Gender }}
+
| heading3 = {{#switch: {{#len:{{{Age|}}} }} | 0 = | Age }}
| content3 = [[Gender::{{{Gender|}}}]]
+
| content3 = {{{Age|}}}
  
| heading4 = {{#switch: {{#len:{{{Occupation|}}} }} | 0 = | Occupation }}
+
| heading4 = {{#switch: {{#len:{{{Origin|}}} }} | 0 = | Origin }}
| content4 = {{{Occupation|}}}
+
| content4 = {{{Origin|}}}
  
| heading5 = {{#switch: {{#len:{{{Affiliation|}}} }} | 0 = | Affiliation }}
+
| heading5 = {{#switch: {{#len:{{{Type|}}} }} | 0 = | Type }}
| content5 = {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}}
+
| content5 = [[Type::{{{Type|}}}]]
  
| heading6 = {{#switch: {{#len:{{{City|}}} }} | 0 = | City }}
+
| heading6 = {{#switch: {{#len:{{{Legal Status|}}} }} | 0 = | Legal Status }}
| content6 = [[City::{{{City|}}}]]
+
| content6 = [[Legal Status::{{{Legal Status|}}}]]
  
| heading7 = {{#switch: {{#len:{{{Legal Status|}}} }} | 0 = | Legal Status }}
+
| heading7 = {{#switch: {{#len:{{{City|}}} }} | 0 = | City }}
| content7 = [[Legal Status::{{{Legal Status|}}}]]
+
| content7 = [[City::{{{City|}}}]]
  
| heading8 = {{#switch: {{#len:{{{Type|}}} }} | 0 = | Type }}
+
| heading8 = {{#switch: {{#len:{{{Affiliation|}}} }} | 0 = | Affiliation }}
| content8 = [[Type::{{{Type|}}}]]
+
| content8 = {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}}
  
| heading9 =
+
| heading9 = {{#switch: {{#len:{{{Occupation|}}} }} | 0 = | Occupation }}
| content9 =  
+
| content9 = {{{Occupation|}}}
  
 
| heading10 = {{#switch: {{#len:{{{Actor|}}} }} | 0 = | Actor }}
 
| heading10 = {{#switch: {{#len:{{{Actor|}}} }} | 0 = | Actor }}
 
| content10 = [[Actor::{{{Actor|}}}]]
 
| content10 = [[Actor::{{{Actor|}}}]]
 
  
 
| navbar = off
 
| navbar = off

Revision as of 23:52, 15 January 2019

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

{{Character
|Background=
|Personality=
|Powers=
|Advantages=
|Disadvantages=
|Full Name=
|Codename=
|Age=
|Origin=
|Type=
|Legal Status=
|City=
|Affiliation=
|Occupation=
|Actor=
|Character Image=
}}

Edit the page to see the template text.