Difference between revisions of "Template:Character Infobox"

 
(34 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Character Infobox
 
{{Character Infobox
 
|Image Filename=
 
|Image Filename=
 +
|External Image=
 
|Full Name=
 
|Full Name=
 
|Title=
 
|Title=
Line 10: Line 11:
 
|Fealty=
 
|Fealty=
 
|House=
 
|House=
|Father=
+
|Family=
|Mother=
+
|Organization=
 +
|Parents=
 
|Spouse=
 
|Spouse=
 
|Siblings=
 
|Siblings=
Line 26: Line 28:
 
|Eye Color=
 
|Eye Color=
 
|Skintone=
 
|Skintone=
 +
|Character Status=
 +
|First Name=
 
}}
 
}}
 
</pre>
 
</pre>
Line 32: Line 36:
 
[[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;"
 +
{{#if:{{{External Image|}}}|
 +
{{!}}-
 +
{{!}}colspan=2 style="text-align:center;" {{!}} <span class="infobox">{{{External Image}}}|
 
{{#if:{{{Image Filename|}}}|
 
{{#if:{{{Image Filename|}}}|
 
{{!}}-
 
{{!}}-
{{!}}colspan=2 style="text-align:center;" {{!}} [[File:{{{Image Filename}}}|300px]]|}}
+
{{!}}colspan=2 style="text-align:center;" {{!}} [[File:{{{Image Filename}}}|300px]] |<div class="blank"></div>}} }}
 
|-
 
|-
 
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">[[Title::{{{Title|}}}]] [[Full Name::{{{Full Name|}}}]]</span>
 
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">[[Title::{{{Title|}}}]] [[Full Name::{{{Full Name|}}}]]</span>
|-
+
{{#if: {{{Social Rank|}}}|
! style="text-align: center; background-color:#f3f3f3;" colspan="2" |{{{Character Status|}}}
+
{{!}}-
|-
 
 
! Social Rank
 
! Social Rank
| [[Social Rank::{{{Social Rank|}}}]]  
+
{{!}} [[Social Rank::{{{Social Rank|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Fealty|}}}|
 +
{{!}}-
 
! Fealty
 
! Fealty
| [[Fealty::{{{Fealty|}}}]]  
+
{{!}} [[Fealty::{{{Fealty|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{House|}}}|
 +
{{!}}-
 
! House
 
! House
| [[House::{{{House|}}}]]
+
{{!}} [[House::{{{House|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Family|}}}|
 +
{{!}}-
 +
! Family
 +
{{!}} [[Family::{{{Family|}}}]]
 +
|<div class="blank"></div>}}
 +
{{#if: {{{Organization|}}}|
 +
{{!}}-
 +
! Organization
 +
{{!}} {{#arraymap:{{{Organization|}}}|,|x|[[Organization::x]]}}
 +
|<div class="blank"></div>}}
 +
{{#if: {{{Gender|}}}|
 +
{{!}}-
 
! Gender
 
! Gender
| [[Gender::{{{Gender|}}}]]  
+
{{!}} [[Gender::{{{Gender|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Age|}}}|
 +
{{!}}-
 
! Age
 
! Age
| [[Age::{{{Age|}}}]]  
+
{{!}} [[Age::{{{Age|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Religion|}}}|
 +
{{!}}-
 
! Religion
 
! Religion
| [[Religion::{{{Religion|}}}]]  
+
{{!}} [[Religion::{{{Religion|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Vocation|}}}|
 +
{{!}}-
 
! Vocation
 
! Vocation
| [[Vocation::{{{Vocation|}}}]]  
+
{{!}} [[Vocation::{{{Vocation|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Height|}}}|
 +
{{!}}-
 
! Height
 
! Height
| [[Height::{{{Height|}}}]]  
+
{{!}} [[Height::{{{Height|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Hair Color|}}}|
 +
{{!}}-
 
! Hair Color
 
! Hair Color
| [[Hair Color::{{{Hair Color|}}}]]  
+
{{!}} [[Hair Color::{{{Hair Color|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Eye Color|}}}|
 +
{{!}}-
 
! Eye Color
 
! Eye Color
| [[Eye Color::{{{Eye Color|}}}]]  
+
{{!}} [[Eye Color::{{{Eye Color|}}}]]
|-
+
|<div class="blank"></div>}}
 +
{{#if: {{{Skintone|}}}|
 +
{{!}}-
 
! Skintone
 
! Skintone
| [[Skintone::{{{Skintone|}}}]]
+
{{!}} [[Skintone::{{{Skintone|}}}]]
|-
+
|<div class="blank"></div>}}
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">Family</span>
+
{{#if: {{{Parents|}}}|
{{#if: {{{Father|}}}|
+
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Siblings|}}} |
 +
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Spouse|}}} |
 +
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Children|}}}
 +
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Uncles Aunts|}}} |
 +
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Nieces Nephews|}}} |
 +
{{!}}-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
 +
| {{#if: {{{Cousins|}}} |
 
{{!}}-
 
{{!}}-
! Father
+
! style="text-align: center; background-color:#cccccc;" colspan="2" {{!}}<span style="font-size: larger;">Family</span>
{{!}} [[Father::{{{Father|}}}]]
+
|<div class="blank"></div>}} }} }} }} }} }} }}
|<div class="blank"></div>}}
+
{{#if: {{{Parents|}}}|
{{#if: {{{Mother|}}}
 
 
{{!}}-
 
{{!}}-
! Mother
+
! Parents
{{!}} [[Mother::{{{Mother|}}}]]
+
{{!}} {{#arraymap:{{{Parents|}}}|,|x|[[Parents::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
{{#if: {{{Siblings|}}}|
 
{{#if: {{{Siblings|}}}|
Line 92: Line 144:
 
{{!}}-
 
{{!}}-
 
! Spouse
 
! Spouse
{{!}} [[Spouse::{{{Spouse|}}}]]
+
{{!}} {{#arraymap:{{{Spouse|}}}|,|x|[[Spouse::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
{{#if: {{{Children|}}}|
 
{{#if: {{{Children|}}}|
Line 99: Line 151:
 
{{!}} {{#arraymap:{{{Children|}}}|,|x|[[Children::x]]}}
 
{{!}} {{#arraymap:{{{Children|}}}|,|x|[[Children::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
{{#if: {{{Uncle Aunt|}}}|
+
{{#if: {{{Uncles Aunts|}}}|
 
{{!}}-
 
{{!}}-
 
! Uncles/Aunts
 
! Uncles/Aunts
{{!}} {{#arraymap:{{{Uncle Aunt|}}}|,|x|[[Uncle Aunt::x]]}}
+
{{!}} {{#arraymap:{{{Uncles Aunts|}}}|,|x|[[Uncle Aunts::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
{{#if: {{{Niece Nephew|}}}|
+
{{#if: {{{Nieces Nephews|}}}|
 
{{!}}-
 
{{!}}-
 
! Nieces/Nephews
 
! Nieces/Nephews
{{!}} {{#arraymap:{{{Niece Nephew|}}}|,|x|[[Niece Nephew::x]]}}
+
{{!}} {{#arraymap:{{{Nieces Nephews|}}}|,|x|[[Nieces Nephews::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
{{#if: {{{Cousins|}}}|
 
{{#if: {{{Cousins|}}}|
Line 113: Line 165:
 
! Cousins
 
! Cousins
 
{{!}} {{#arraymap:{{{Cousins|}}}|,|x|[[Cousins::x]]}}
 
{{!}} {{#arraymap:{{{Cousins|}}}|,|x|[[Cousins::x]]}}
 +
|<div class="blank"></div>}}
 +
|-
 +
! colspan=2 style="text-align: center; background-color:#cccccc;" colspan="2" | <span style="font-size: larger;">'''Journals'''</span>
 +
|-
 +
! colspan=2 style="text-align: center;" colspan="2" | <span style="font-size: 1.05em;">'''[http://play.arxmush.org/comms/journals/list/?sender_name={{{First Name|}}}&receiver_name=&search_text= Authored By]''' / '''[http://play.arxmush.org/comms/journals/list/?sender_name=&receiver_name={{{First Name|}}}&search_text= Featured In]'''</span>
 +
|-
 +
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">[[Character Status::{{{Character Status|}}}]]</span>
 +
{{#ifexist: {{PAGENAME}}/Reflection|
 +
{{!}}-
 +
{{!}}colspan=2 style="text-align: center; background-color:#cccccc;" colspan="2" {{!}} <span style="font-size: larger;">'''[[{{PAGENAME}}/Reflection{{!}}Reflection]]'''</span>
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
|}
 
|}
 
</includeonly>
 
</includeonly>

Latest revision as of 12:10, 31 March 2017

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

{{Character Infobox
|Image Filename=
|External Image=
|Full Name=
|Title=
|Social Rank=
|Fealty=
|House=
|Family=
|Organization=
|Parents=
|Spouse=
|Siblings=
|Children=
|Uncles Aunts=
|Nieces Nephews=
|Cousins=
|Gender=
|Age=
|Religion=
|Vocation=
|Height=
|Hair Color=
|Eye Color=
|Skintone=
|Character Status=
|First Name=
}}

Edit the page to see the template text.