Template:Infobox Noble House: Difference between revisions

From feywild

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly> {{#if:{{{image|}}}{{{caption|}}}{{{name|}}}{{{world|}}}{{{founding|}}}{{{head|}}}{{{heir|}}}{{{allegiance|}}}{{{seat|}}}{{{region|}}}{{{tier|}}}{{{colors|}}}{{{status|}}}{{{motto|}}}| <div style="float:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;"> <!-- Name --> {{#if:{{{name|}}}|<div style="text-align:center; font-weight:bold; font-size:115%; margin-bottom:6px;">{{{name}}}</div>}} <!-- Image + Caption --> {{#if:{{{image|}}}| <div style="text-align:center; margin-bottom:10px;"> [[File:{{{image}}}|250px|center]] {{#if:{{{caption|}}}|<div style="font-size:85%; color:#555;">{{{caption}}}</div>}} </div> }} <!-- Motto --> {{#if:{{{motto|}}}|<div style="text-align:center; font-style:italic; margin-bottom:8px;">“{{{motto}}}”</div>}} <!-- Data Table --> <table style="width:100%; border-collapse:collapse; font-size:95%;"> {{#if:{{{world|}}}|<tr><td style="vertical-align:top; width:40%; font-weight:bold; padding:4px;">World / Realm</td><td style="padding:4px;">{{{world}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{founding|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Founding / Founder</td><td style="padding:4px;">{{{founding}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{head|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Current Head</td><td style="padding:4px;">{{{head}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{heir|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Heir</td><td style="padding:4px;">{{{heir}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{allegiance|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Allegiance</td><td style="padding:4px;">{{{allegiance}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{seat|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Seat</td><td style="padding:4px;">{{{seat}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{region|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Region</td><td style="padding:4px;">{{{region}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{tier|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Court Ranking</td><td style="padding:4px;">{{{tier}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{colors|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Colors</td><td style="padding:4px;">{{{colors}}}</td></tr><tr><td colspan="2" style="border-bottom:1px solid #aaa; height:8px;"></td></tr>}} {{#if:{{{status|}}}|<tr><td style="vertical-align:top; font-weight:bold; padding:4px;">Status</td><td style="padding:4px;">{{{status}}}</td></tr>}} </table> </div> }} </includeonly> <noinclude> <templatedata> { "description": "Right-floating infobox for noble houses or bloodlines. Displays crest, motto, and key lineage details.", "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> == Usage == <pre> {{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 }} </pre> This version floats neatly on the **right side** of pages and allows article text to wrap beside it. </noinclude>
{| 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}}}}}
 
{{#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>}}
}}
 
{{#if:{{{motto|}}}|
|-
| colspan="2" style="text-align:center; font-style:italic; padding:6px 8px;" | “{{{motto}}}
}}
 
{{#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>
<templatedata>
{
  "description": "Right-floating infobox for noble houses or bloodlines. Table-based layout that anchors neatly 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>
 
== Usage ==
<pre>
{{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
}}
</pre>
</noinclude>

Latest revision as of 11:22, 2 November 2025

Right-floating infobox for noble houses or bloodlines. Displays crest, motto, and key lineage details.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
House Namename

Full name of the noble house

Stringoptional
Imageimage

Coat of arms or banner image file (omit 'File:')

Stringoptional
Image captioncaption

no description

Stringoptional
House motto or sayingmotto

no description

Stringoptional
World or Realmworld

no description

Stringoptional
Founding / Founderfounding

no description

Stringoptional
Current Head of the Househead

no description

Stringoptional
Current heir of the House (if any)heir

no description

Stringoptional
Overarching allegiance or liegeallegiance

no description

Stringoptional
Primary Stronghold or Seat of Powerseat

no description

Stringoptional
Territory or Domainregion

no description

Stringoptional
Court Rankingtier

no description

Stringoptional
Official House Colorscolors

no description

Stringoptional
Current Statusstatus

no description

Stringoptional

== 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 }} 

This version floats neatly on the **right side** of pages and allows article text to wrap beside it.