Template:Infobox Noble House: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{image|}}}{{{caption|}}}{{{name|}}}{{{world|}}}{{{founding|}}}{{{head|}}}{{{heir|}}}{{{allegiance|}}}{{{seat|}}}{{{region|}}}{{{tier|}}}{{{colors|}}}{{{status|}}}{{{motto|}}}| | {{#if:{{{image|}}}{{{caption|}}}{{{name|}}}{{{world|}}}{{{founding|}}}{{{head|}}}{{{heir|}}}{{{allegiance|}}}{{{seat|}}}{{{region|}}}{{{tier|}}}{{{colors|}}}{{{status|}}}{{{motto|}}}| | ||
{| class="infobox" style="float:right; margin:0.25em 0 10px 15px; width:300px; border:1px solid #AAA; background-color:#F9F9F9; font-size:90%; line-height:1.5em; border-collapse:separate; border-spacing:0;" | |||
|- | |||
! colspan="2" style="background:#EEE; text-align:center; font-weight:bold; font-size:115%; padding:6px;" | {{{name|{{PAGENAME}}}}} | |||
<!-- Image + Caption --> | |||
{{#if:{{{image|}}}| | |||
|- | |||
| colspan="2" style="text-align:center; padding:8px 6px 4px 6px;"> | |||
[[File:{{{image}}}|250px|center]] | |||
{{#if:{{{caption|}}}|<div style="font-size:85%; color:#555; margin-top:4px;">{{{caption}}}</div>}} | |||
}} | |||
<!-- Motto --> | |||
{{#if:{{{motto|}}}| | |||
|- | |||
| colspan="2" style="text-align:center; font-style:italic; padding:6px 8px;">“{{{motto}}}”</div> | |||
}} | |||
<!-- Data Rows --> | |||
{{#if:{{{world|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #AAA;" | World / Realm | |||
| style="padding:4px 6px; border-top:1px solid #AAA;" | {{{world}}} | |||
}} | |||
{{#if:{{{founding|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Founding / Founder | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{founding}}} | |||
}} | |||
{{#if:{{{head|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Current Head | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{head}}} | |||
}} | |||
{{#if:{{{heir|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Heir | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{heir}}} | |||
}} | |||
{{#if:{{{allegiance|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Allegiance | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{allegiance}}} | |||
}} | |||
{{#if:{{{seat|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Seat | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{seat}}} | |||
}} | |||
{{#if:{{{region|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Region | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{region}}} | |||
}} | |||
{{#if:{{{tier|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Court Ranking | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{tier}}} | |||
}} | |||
{{#if:{{{colors|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Colors | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{colors}}} | |||
}} | |||
{{#if:{{{status|}}}| | |||
|- | |||
| style="width:40%; font-weight:bold; padding:4px 6px; vertical-align:top; border-top:1px solid #DDD;" | Status | |||
| style="padding:4px 6px; border-top:1px solid #DDD;" | {{{status}}} | |||
}} | |||
|} | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
| Line 38: | Line 87: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Right-floating infobox for noble houses or bloodlines. Table-based layout that sits snugly under the page title.", | |||
"params": { | |||
"name": { | |||
"label": "House Name", | |||
"description": "Full name of the noble house", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Coat of arms or banner image file (omit 'File:')", | |||
"type": "string" | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"type": "string" | |||
}, | |||
"motto": { | |||
"label": "House motto or saying", | |||
"type": "string" | |||
}, | |||
"world": { | |||
"label": "World or Realm", | |||
"type": "string" | |||
}, | |||
"founding": { | |||
"label": "Founding / Founder", | |||
"type": "string" | |||
}, | |||
"head": { | |||
"label": "Current Head of the House", | |||
"type": "string" | |||
}, | |||
"heir": { | |||
"label": "Current heir of the House (if any)", | |||
"type": "string" | |||
}, | |||
"allegiance": { | |||
"label": "Overarching allegiance or liege", | |||
"type": "string" | |||
}, | |||
"seat": { | |||
"label": "Primary Stronghold or Seat of Power", | |||
"type": "string" | |||
}, | |||
"region": { | |||
"label": "Territory or Domain", | |||
"type": "string" | |||
}, | |||
"tier": { | |||
"label": "Court Ranking", | |||
"type": "string" | |||
}, | |||
"colors": { | |||
"label": "Official House Colors", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Current Status", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"caption", | |||
"motto", | |||
"world", | |||
"founding", | |||
"head", | |||
"heir", | |||
"allegiance", | |||
"seat", | |||
"region", | |||
"tier", | |||
"colors", | |||
"status" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
| Line 137: | Line 186: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 11:10, 2 November 2025
Right-floating infobox for noble houses or bloodlines. Table-based layout that sits snugly under the page title.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| House Name | name | Full name of the noble house | String | optional |
| Image | image | Coat of arms or banner image file (omit 'File:') | String | optional |
| Image caption | caption | no description | String | optional |
| House motto or saying | motto | no description | String | optional |
| World or Realm | world | no description | String | optional |
| Founding / Founder | founding | no description | String | optional |
| Current Head of the House | head | no description | String | optional |
| Current heir of the House (if any) | heir | no description | String | optional |
| Overarching allegiance or liege | allegiance | no description | String | optional |
| Primary Stronghold or Seat of Power | seat | no description | String | optional |
| Territory or Domain | region | no description | String | optional |
| Court Ranking | tier | no description | String | optional |
| Official House Colors | colors | no description | String | optional |
| Current Status | status | no description | String | optional |
Usage
{{Infobox Noble House
| name = House Vaeari
| image = Vaeari_Crest.png
| caption = Crest of House Vaeari
| motto = "Family Is Everything"
| world = Feywild
| founding = Age of Silver — Lord Aethon Vaeari
| head = Valkaénnar Vaeari
| heir = Daryndel Vaeari
| allegiance = The Rísieth
| seat = Vaeari Manor
| region = Unseelie Dominion
| tier = Tier One (Lord Sovereign)
| colors = Silver and Black
| status = Active
}}