Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
Line 72: Line 72:
 
  }}
 
  }}
  
<tabber>
+
{{#tag:tabber|
{{#switch: {{#len:{{{Background|}}} }} | 0 = | Background{{=}}{{{Background|}}} }}
+
Tab1={{{1|}}}
|-|
+
{{!}}-{{!}}
{{#switch: {{#len:{{{Personality|}}} }} | 0 = | Personality{{=}}{{{Personality|}}} }}
+
Tab2={{{2|}}}
|-|
+
}}
{{#switch: {{#len:{{{Powers|}}} }} | 0 = | Powers{{=}}{{{Powers|}}} }}
+
 
|-|
+
 
{{#switch: {{#len:{{{Advantages|}}} }} | 0 = | Advantages{{=}}{{{Advantages|}}} }}
+
{{#iferror: tabber|
|-|
+
{{#if: {{{Background|}}} | Background{{=}}{{{Background|}}} | }}
{{#switch: {{#len:{{{Disadvantages|}}} }} | 0 = | Disadvantages{{=}}{{{Disadvantages|}}} }}
+
{{!}}-{{!}}
</tabber>
+
{{#if: {{{Personality|}}} | Personality{{=}}{{{Personality|}}} | }}
 +
{{!}}-{{!}}
 +
{{#if: {{{Powers|}}} | Powers{{=}}{{{Powers|}}} | }}
 +
{{!}}-{{!}}
 +
{{#if {{{Advantages|}}} | Advantages{{=}}{{{Advantages|}}} | }}
 +
{{!}}-{{!}}
 +
{{#if {{{Disadvantages|}}} }} | Disadvantages{{=}}{{{Disadvantages|}}} | }}
 +
}}
  
  

Revision as of 18:51, 19 January 2019

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

{{Character

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

}}

Edit the page to see the template text.