Template:Noble House/doc: Difference between revisions

From Forsaken Saga Wiki
(Created page with "<includeonly>{{Infobox | above = {{{House_name|{{PAGENAME}}}}} | abovestyle = | 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| ]] | caption = {{#if:{{{Words|}}}|{{Noble House/words|text={{{Words}}}|textcolor={{{te...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{Infobox
<!-- Example -->
| above        = {{{House_name|{{PAGENAME}}}}}
{{Noble House
| abovestyle    =  
| House_name = {{{House_name}}}
| 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| ]]
| image_caption = {{{image_caption}}}
| Coat_of_arms = {{{Coat_of_arms}}}
| Words = {{{Words}}}
| Seat = {{{Seat}}}
| Current_Lord = {{{Current_Lord}}}
| Region = {{{Region}}}
| Title = {{{Title}}}
| Heir = {{{Heir}}}
| Overlord = {{{Overlord}}}
| Vassal = {{{Vassal}}}
| Ancestral_weapon = {{{Ancestral_weapon}}}
| Cadet_branch = {{{Cadet_branch}}}
| Founded = {{Date|xxx}} or Age
| Founder = {{{Founder}}}
| Died_out = {{Date|xxx}} or Age
}}
==Usage==
Quick copy/pate infobox code for a new house entry:
<pre>
{{Noble House
| House_name =
| image        =
| image_caption =
| Coat_of_arms =
| Words =
| Seat =
| Current_Lord =
| Region =
| Title =
| Heir =
| Overlord =
| Vassal        =
| Ancestral_weapon =
| Cadet_branch =
| Founded =
| Founder =
| Died_out =
}}</pre>


| caption = {{#if:{{{Words|}}}|{{Noble House/words|text={{{Words}}}|textcolor={{{textcolor|black}}}|bgcolor={{{bgcolor|white}}}|bgcolor_left={{{bgcolor_left|{{{bgcolor|white}}}}}}|bgcolor_right={{{bgcolor_right|{{{bgcolor|white}}}}}}|bordercolor={{{bordercolor|black}}}|bordercolor_left={{{bordercolor_left|{{{bordercolor|black}}}}}}|bordercolor_right={{{bordercolor_right|{{{bordercolor|black}}}}}}}}[[Category:Houses with words| ]]|[[Category:Houses without words| ]]}}
Note:Parameters which get no value are not shown when the template is used.<br />
| captionstyle = {{#if:{{{Words|}}}|width:100%;min-width:300px;position:relative;z-index:100;border:0 grey solid;{{#ifeq:{{{Region|}}}|[[Dorne]]|margin-top:-2em;margin-bottom:0.5em;|margin-top:-3em;margin-bottom:1em;}}}}
you can see a preview on your right side.


| label3 = Coat of arms
<includeonly>[[Category:Infobox templates|Noble House]]</includeonly>
| data3 = {{{Coat_of_arms|}}}
| label5 = {{Infobox label|s=Seat|p=Seats|{{{Seat|}}}}}
| data5 = {{Infobox value|class=plainlist|{{{Seat|}}}}}
| label6 = {{Infobox label|s=Head|p=Heads|{{{Current_Lord|}}}}}
| data6 = {{Infobox value|class=plainlist|{{{Current_Lord|}}}}}
| label7 = {{Infobox label|s=Region|p=Regions|{{{Region|}}}}}
| data7 = {{Infobox value|class=plainlist|{{{Region|}}}}}
| label8 = {{Infobox label|s=Title|p=Titles|{{{Title|}}}}}
| data8 = {{Infobox value|class=plainlist|{{{Title|}}}}}
| label9 = {{Infobox label|s=Heir|p=Heirs|{{{Heir|}}}}}
| data9 = {{Infobox value|class=plainlist|{{{Heir|}}}}}
| label10 = {{Infobox label|s=Overlord|p=Overlords|{{{Overlord|}}}}}
| data10 = {{Infobox value|class=plainlist|{{{Overlord|}}}}}
| label11 = {{Infobox label|s=Vassal|p=Vassals|{{{Vassal|}}}}}
| data11 = {{Infobox value|class=plainlist|{{{Vassal|}}}}}
| label12 = {{Infobox label|s=Cadet branch|p=Cadet branches|{{{Cadet_branch|}}}}}
| data12 = {{Infobox value|class=plainlist|{{{Cadet_branch|}}}}}
| label13 = {{Infobox label|s=Ancestral weapon|p=Ancestral weapons|{{{Ancestral_weapon|}}}}}
| data13 = {{Infobox value|class=plainlist|{{{Ancestral_weapon|}}}}}
| label14 = {{Infobox label|s=Founder|p=Founders|{{{Founder|}}}}}
| data14 = {{Infobox value|class=plainlist|{{{Founder|}}}}}
| label15 = Founded
| data15 = {{{Founded|{{{Founded_in|}}}}}}
| label16 = Died out
| data16 = {{{Died_out|}}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 00:18, 27 June 2024

{{{House_name}}}
{{{Words}}}
Coat of arms {{{Coat_of_arms}}}
Seat {{{Seat}}}
Head {{{Current_Lord}}}
Region {{{Region}}}
Title {{{Title}}}
Heir {{{Heir}}}
Overlord {{{Overlord}}}
Vassal {{{Vassal}}}
Cadet branch {{{Cadet_branch}}}
Ancestral weapon {{{Ancestral_weapon}}}
Founder {{{Founder}}}
Founded Script error: No such module "Date". or Age
Died out Script error: No such module "Date". or Age

Usage[edit source]

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 	=
| Vassal        =
| 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.