Difference between revisions of "Template: Noble House"

From A Wiki of Ice and Fire
Jump to: navigation, search
(changed categorising criteria)
m (I change from "Lord" to "Head" to be able to better differentiate the titles of the heads of Houses (Lord, Lady, Prince(ss), Master and Ser).)
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox  
 
<includeonly>{{Infobox  
 
| above        = {{{House_name|{{PAGENAME}}}}}
 
| above        = {{{House_name|{{PAGENAME}}}}}
| abovestyle    = background: #DEDEE2; text-align:center;  
+
| abovestyle    = background: #DEDEE2;
| image = {{#ifeq: {{NAMESPACE}}|Template||{{#if:{{{image|}}}|{{{image}}}[[Category:Houses with COA]]|<!--
+
| image = {{#invoke:InfoboxImage | InfoboxImage | image={{{image| {{#ifeq: {{{Region|}}}|[[Dorne]]|None (Dorne).svg|None.svg}} }}} | size=250px | maxsize=300px | sizedefault=frameless | alt={{{alt|}}} | border=no | suppressplaceholder=no }}[[Category:Houses {{#if:{{{image|}}}|with|without}} COA| ]]
                -->{{#if:{{{Coat_of_arms|}}}|[[Image:No_image.jpg|200px]]}}[[Category:Houses without COA]]}}}}
+
 
 
| caption = {{{image_caption|}}}
 
| caption = {{{image_caption|}}}
 
| captionstyle = font-size: 130%; margin-bottom:10px;
 
| captionstyle = font-size: 130%; margin-bottom:10px;
Line 13: Line 13:
 
| label5 = Seat
 
| label5 = Seat
 
| data5 = {{{Seat|}}}
 
| data5 = {{{Seat|}}}
| label6 = Current Lord
+
| label6 = Head
 
| data6 = {{{Current_Lord|}}}
 
| data6 = {{{Current_Lord|}}}
 
| label7 = Region
 
| label7 = Region
Line 30: Line 30:
 
| data13 = {{{Founder|}}}
 
| data13 = {{{Founder|}}}
 
| label14 = Founded
 
| label14 = Founded
| data14 = {{{Founded|}}}
+
| data14 = {{{Founded|{{{Founded_in|}}}}}}
 
| label15 = Died out
 
| label15 = Died out
 
| data15 = {{{Died_out|}}}
 
| data15 = {{{Died_out|}}}
Line 49: Line 49:
 
| Ancestral_weapon = text
 
| Ancestral_weapon = text
 
| Cadet_branch = text
 
| Cadet_branch = text
| Founded_in = text
+
| Founded = {{Date|xxx}} or Age
 
| Founder = text
 
| Founder = text
| Died_out = text
+
| Died_out = {{Date|xxx}} or Age
 
}}
 
}}
 
==Usage==
 
==Usage==
<pre style="width:35em">
+
Quick copy/pate infobox code for a new house entry:
 +
<pre>
 
{{Noble House  
 
{{Noble House  
 
| House_name =
 
| House_name =
Line 69: Line 70:
 
| Ancestral_weapon =
 
| Ancestral_weapon =
 
| Cadet_branch =
 
| Cadet_branch =
| Founded_in = {{Date|xxx}}
+
| Founded =
 
| Founder =
 
| Founder =
 
| Died_out =
 
| Died_out =

Revision as of 15:11, 4 August 2020


House name
None.svg
text
Coat of arms text
Seat text
Head text
Region text
Title text
Heir text
Overlord text
Cadet branch text
Ancestral weapon text
Founder text
Founded xxx AC or Age
Died out xxx AC or Age

Usage

Quick copy/pate infobox code for a new house entry:

{{Noble House 
| House_name 	=
| image         = 
| image_caption = 
| Coat_of_arms 	=
| Words		=
| Seat		=
| Current_Lord 	=
| Region 	=
| Title		=
| Heir		=
| Overlord 	=
| Ancestral_weapon =
| Cadet_branch 	=
| Founded 	=
| Founder 	=
| Died_out 	=
}}


Note:Parameters which get no value are not shown when the template is used.
you can see a preview on your right side.