Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
Line 37: Line 37:
 
| topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|100px|{{PAGENAME}}]] }}
 
| topimage = {{#switch: {{#len:{{{Character Image|}}} }} | 0 = | [[File:{{{Character Image|}}}|100px|{{PAGENAME}}]] }}
 
| outertitleclass = title
 
| outertitleclass = title
| class = body
+
| class = title
 
| name = {{PAGENAME}}
 
| name = {{PAGENAME}}
 
| pretitle = {{{Superlative|}}}
 
| pretitle = {{{Superlative|}}}
Line 46: Line 46:
 
| above =  
 
| above =  
  
| heading1 = Age
+
| heading = {{#switch: {{#len:{{Full Name|}}} }} | 0 = | Full Name }}
| content1 = {{{Age}}}
+
| content = {{{Full Name|}}}
  
| heading2 =  
+
| heading = {{#switch: {{#len:{{{Age|}}} }} | 0 = | Age }}
| content2 =  
+
| content = {{{Age|}}}
  
| heading3 = Actor
+
| heading = {{#switch: {{#len:{{{Gender|}}} }} | 0 = | Gender }}
| content3 = {{{Actor}}}
+
| content = [[Gender::{{{Gender|}}}]]
 +
 
 +
| heading = {{#switch: {{#len:{{{Occupation|}}} }} | 0 = | Occupation }}
 +
| content = {{{Occupation|}}}
 +
 
 +
| heading = {{#switch: {{#len:{{{Affilation|}}} }} | 0 = | Affilation }}
 +
| content = {{#switch:{{#len:{{{Affiliation|}}}}} | 0 = None | }} {{#arraymap:{{{Affiliation|}}}|,|x|[[Affiliation::x]]}}
 +
 
 +
| heading =
 +
| content =
 +
 
 +
| heading =
 +
| content =
 +
 
 +
| heading =
 +
| content =
 +
 
 +
| heading =
 +
| content =
 +
 
 +
| heading = Actor
 +
| content = [[Actor::{{{Actor|}}}]]}
  
| heading35 =
 
| content35 =
 
  
 
| navbar = off
 
| navbar = off
Line 74: Line 93:
 
|
 
|
 
| '''Gender:'''
 
| '''Gender:'''
| [[Gender::{{{Gender|}}}]]
+
|  
 
|-
 
|-
 
| '''Occupation:'''
 
| '''Occupation:'''

Revision as of 23:43, 14 January 2019

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

{{Character
|Background=
|Advantages=
|Disadvantages=
|Personality=
|Full Name=
|Age=
|Gender=
|Occupation=
|Affiliation=
|Character Image=
|Title Image=
|Actor=
|Superlative=
|City=
|Type=
|Legal Status=
}}

Edit the page to see the template text.