Difference between revisions of "Template:House Infobox"

 
(9 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
</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;"
 
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">House {{PAGENAME}}</span>
 
! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">House {{PAGENAME}}</span>
|-
+
{{#if: {{{Head of House|}}}|
! style="text-align: center;" colspan="2" |<span style="font-size: larger;">'''[[Holding Type::{{{Holding Type|}}}]]'''</span>
 
{{#if:{{{Head of House|}}}|
 
 
{{!}}-
 
{{!}}-
 
! Head(s) of House
 
! Head(s) of House
{{!}} {{#arraymap:{{{Head of House}}}|,|x| [[Head of House::x| ]] [[x]]}}
+
{{!}} {{#arraymap:{{{Head of House|}}}|,|x|[[Head of House::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
{{#if: {{{Voice|}}}|
 
{{#if: {{{Voice|}}}|
 
{{!}}-
 
{{!}}-
 
! Voice(s)
 
! Voice(s)
{{!}} {{#arraymap:{{{Voice}}}|,|x| [[Voice::x| ]] [[x]]}}
+
{{!}} {{#arraymap:{{{Voice|}}}|,|x|[[Voice::x]]}}
 
|<div class="blank"></div>}}
 
|<div class="blank"></div>}}
 
|-
 
|-
Line 46: Line 44:
 
! Nickname
 
! Nickname
 
{{!}} [[Nickname::{{{Nickname|}}}]]
 
{{!}} [[Nickname::{{{Nickname|}}}]]
 +
|<div class="blank"></div>}}
 +
|-
 +
!! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">[[Holding Type::{{{Holding Type|}}}]]</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 18:12, 7 December 2016

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

{{House Infobox
|Holding Type=
|Head of House=
|Voice=
|Kingdom=
|Liege=
|Words=
|Sigil=
|Nickname=
}}

Edit the page to see the template text.