Difference between revisions of "Template: Noble House"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
(changed the auto Category Category:Houses without COA to include only houses that have a known COA.)
Line 2: Line 2:
 
| above        = {{{House_name|{{PAGENAME}}}}}
 
| above        = {{{House_name|{{PAGENAME}}}}}
 
| abovestyle    = background: #DEDEE2; text-align:center;  
 
| abovestyle    = background: #DEDEE2; text-align:center;  
| image = {{#if:{{{image|}}}|{{{image}}}|[[Image:No_image.jpg|200px]][[Category:Houses without COA]]}}
+
| image = {{#if:{{{image|}}}|{{{image}}}|{{#if:{{{Coat_of_arms|}}}|{{#ifeq: {{NAMESPACE}}|Template||[[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;

Revision as of 03:23, 27 September 2011


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 text
Died out text

Usage

{{Noble House 
| House_name 	=
| image         = 
| image_caption = 
| Coat_of_arms 	=
| Words		=
| Seat		=
| Current_Lord 	=
| Region 	=
| Title		=
| Heir		=
| Overlord 	=
| Ancestral_weapon =
| Cadet_branch 	=
| Founded_in 	=  {{Date|xxx}}
| 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.