Difference between revisions of "Template:Character"

From AIMux
Jump to: navigation, search
Line 21: Line 21:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
{{#switch: {{#len:{{{Title Image|}}} }} | 0 = {{{PAGENAME}}} | [[File:{{{Title Image}}}|border|250px|center]] }}  
+
{{#switch: {{#if:{{{Title Image|}}} }} | [[File:{{{Title Image}}}|border|250px|center]] | {{PAGENAME}} }}  
  
=={{#switch:{{#len:{{{Background}}} }} | 0 = | Background }}==  
+
=={{#switch:{{#if:{{{Background|}}} }} | Background | }}==  
  
 
{| style="width: 30em; font-size: 90%; border: 1px solid #000099; background-color: #FFFFFF; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{| style="width: 30em; font-size: 90%; border: 1px solid #000099; background-color: #FFFFFF; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
Line 53: Line 53:
  
 
<br>
 
<br>
=={{#switch:{{#len:{{{Personality}}} }} | 0 = | Validation Header }}==  
+
=={{#switch:{{#if:{{{Personality|}}} }} | Personality | }}==  
 
{{{Personality}}}
 
{{{Personality}}}
 
<br>
 
<br>

Revision as of 11:15, 12 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=
}}

Edit the page to see the template text.