Difference between revisions of "Template:House Infobox"

 
(15 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{House Infobox
 
{{House Infobox
 +
|Holding Type=
 
|Head of House=
 
|Head of House=
 +
|Voice=
 
|Kingdom=
 
|Kingdom=
 
|Liege=
 
|Liege=
Line 16: 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|}}}|
! Head of House
+
{{!}}-
| [[Head of House::{{{Head of House|}}}]]  
+
! Head(s) of House
 +
{{!}} {{#arraymap:{{{Head of House|}}}|,|x|[[Head of House::x]]}}
 +
|<div class="blank"></div>}}
 +
{{#if: {{{Voice|}}}|
 +
{{!}}-
 +
! Voice(s)
 +
{{!}} {{#arraymap:{{{Voice|}}}|,|x|[[Voice::x]]}}
 +
|<div class="blank"></div>}}
 
|-
 
|-
 
! Kingdom
 
! Kingdom
Line 30: Line 39:
 
|-
 
|-
 
! Sigil
 
! Sigil
| [[Sigil::{{{Sigil|}}}]]  
+
| [[Sigil::{{{Sigil|}}}]]
 +
{{#if: {{{Nickname|}}}|
 +
{{!}}-
 +
! Nickname
 +
{{!}} [[Nickname::{{{Nickname|}}}]]
 +
|<div class="blank"></div>}}
 
|-
 
|-
! Nickname
+
!! style="text-align: center; background-color:#cccccc;" colspan="2" |<span style="font-size: larger;">[[Holding Type::{{{Holding Type|}}}]]</span>
| [[Nickname::{{{Nickname|}}}]]  
+
{{#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>}}
 
|}
 
|}
 
</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.