Template:Infobox character: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if: | {{#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:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;"> | <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 --> | <!-- Name --> | ||
| Line 13: | Line 13: | ||
</div> | </div> | ||
}} | }} | ||
<!-- Motto --> | |||
{{#if:{{{motto|}}}|<div style="text-align:center; font-style:italic; margin-bottom:8px;">“{{{motto}}}”</div>}} | |||
<!-- Data Table --> | <!-- Data Table --> | ||
<table style="width:100%; border-collapse:collapse; font-size:95%;"> | <table style="width:100%; border-collapse:collapse; font-size:95%;"> | ||
{{#if:{{{ | {{#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:{{{ | {{#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:{{{ | {{#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>}} | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
{{#if:{{{ | |||
</table> | </table> | ||
| Line 64: | Line 34: | ||
}} | }} | ||
</includeonly> | </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><nowiki> | |||
{{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 | |||
}} | |||
</nowiki></pre> | |||
</noinclude> | |||
Revision as of 17:43, 3 November 2025
Right-floating infobox for noble houses or bloodlines. Displays crest, motto, and key lineage details.
| 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
}}