Difference between revisions of "Template:Character Infobox"

Line 26: Line 26:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude><includeonly>{| class="infobox" style="width: 305px; font-size: 90%; border: 1px solid #cccccc; background-color: #ffffff; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left; box-shadow: 2px 2px 2px #cccccc; line-height: 1.6em; cellpadding: 10;"
 
</noinclude><includeonly>{| class="infobox" style="width: 305px; font-size: 90%; border: 1px solid #cccccc; background-color: #ffffff; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left; box-shadow: 2px 2px 2px #cccccc; line-height: 1.6em; cellpadding: 10;"
Line 38: Line 39:
 
|-
 
|-
 
! Fealty
 
! Fealty
| [[Fealty::{{{Fealty|}}}]]
+
| [[Fealty::{{{Fealty|}}}]]  
 
|-
 
|-
 
! House
 
! House
| [[House::{{{House|}}}]]
+
| [[House::{{{House|}}}]]  
{{#if:{{{Father|}}}|
+
|-
{{!}}-
+
! Parents
{{!}}{{!}} '''Father''' {{!}}{{!}} [[Father::{{{Father|}}}]]
+
| [[Father::{{{Father|}}}]], [[Mother::{{{Mother|}}}]]
}}
+
|-
{{#if:{{{Mother|}}}|
+
! Siblings
{{!}}-
+
| {{#arraymap:{{{Siblings}}}|,|x| [[Siblings::x| ]] [[x]]}}
{{!}}{{!}} '''Mother''' {{!}}{{!}} [[Mother::{{{Mother|}}}]]
+
|-
}}
+
! Spouse
{{#if:{{{Siblings|}}}|
+
| [[Spouse::{{{Spouse|}}}]]
{{!}}-
+
|-
{{!}} {{!}}  '''Siblings'''  {{!}}{{!}} {{#arraymap:{{{Siblings}}}|,|x| [[Siblings::x| ]] [[x]]}}
+
! Children
|}}
+
| {{#arraymap:{{{Children}}}|,|x| [[Children::x| ]] [[x]]}}
{{#if: {{{Spouse|}}}|
 
{{!}}-
 
{{!}} '''Spouse'''
 
{{!}} [[Spouse::{{{Spouse|}}}]]
 
}}
 
{{#if: {{{Children|}}}|
 
{{!}}-
 
{{!}} '''Children'''
 
{{!}} {{#arraymap:{{{Children}}}|,|x| [[Children::x| ]] [[x]]}}
 
}}
 
 
|-
 
|-
 
! Gender
 
! Gender
Line 70: Line 61:
 
! Age
 
! Age
 
| [[Age::{{{Age|}}}]]  
 
| [[Age::{{{Age|}}}]]  
{{#if: {{{Religion|}}}|
+
|-
{{!}}-
+
! Religion
{{!}} '''Religion'''
+
| [[Religion::{{{Religion|}}}]]  
{{!}} [[Religion::{{{Religion|}}}]]
+
|-
}}
+
! Vocation
{{#if: {{{Vocation|}}}|
+
| [[Vocation::{{{Vocation|}}}]]  
{{!}}-
 
{{!}} '''Vocation'''
 
{{!}} [[Vocation::{{{Vocation|}}}]]
 
}}
 
 
|-
 
|-
 
! Height
 
! Height

Revision as of 22:15, 22 November 2016

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

{{Character Infobox
|Image Filename=
|Full Name=
|Title=
|Social Rank=
|Fealty=
|House=
|Father=
|Mother=
|Spouse=
|Siblings=
|Children=
|Gender=
|Age=
|Religion=
|Vocation=
|Height=
|Hair Color=
|Eye Color=
|Skintone=
}}

Edit the page to see the template text.