Template:Infobox character: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{name|}}}{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{nicknames|}}}{{{standard_titles|}}}{{{formal_titles|}}}{{{full_title|}}}{{{territory|}}}{{{seat_of_power|}}}{{{residences|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{loyalties|}}}{{{partners|}}}{{{birthplace|}}}{{{birthdate|}}}{{{during|}}}{{{deathdate|}}}{{{age_at_death|}}}{{{death_circumstances|}}}{{{title|}}}{{{role|}}}{{{combat_class|}}}{{{specialty|}}}{{{magic_school|}}}{{{affinities|}}}{{{notable_feats|}}}{{{formal_prep|}}}{{{formal_scholastic|}}}{{{formal_martial|}}}{{{formal_arcane|}}}{{{formal_religious|}}}{{{informal|}}}{{{fluent_in|}}}{{{semi_fluent_in|}}}| | {{#if:{{{name|}}}{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{nicknames|}}}{{{standard_titles|}}}{{{formal_titles|}}}{{{full_title|}}}{{{territory|}}}{{{seat_of_power|}}}{{{residences|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{loyalties|}}}{{{partners|}}}{{{birthplace|}}}{{{birthdate|}}}{{{during|}}}{{{deathdate|}}}{{{age_at_death|}}}{{{death_circumstances|}}}{{{title|}}}{{{role|}}}{{{combat_class|}}}{{{specialty|}}}{{{magic_school|}}}{{{affinities|}}}{{{notable_feats|}}}{{{formal_prep|}}}{{{formal_scholastic|}}}{{{formal_martial|}}}{{{formal_arcane|}}}{{{formal_religious|}}}{{{informal|}}}{{{fluent_in|}}}{{{semi_fluent_in|}}}| | ||
{| class="infobox-character" style="float:right; margin:0 0 10px 15px; width:320px; border:1px solid #AAA; background:#F9F9F9; border-collapse:collapse; border-spacing:0; font-size:90%; line-height:1.5em; box-sizing:border-box;" | |||
{| class="infobox-character" style="float:right; margin:0 0 10px 15px; width:320px; border:1px solid #AAA; background:#F9F9F9; border-collapse:collapse; border-spacing:0; font-size:90%; line-height:1.5em;" | |||
<!-- Name --> | <!-- Name --> | ||
| Line 10: | Line 9: | ||
}} | }} | ||
<!-- Image + caption --> | <!-- Image + caption (renders only if an image filename is provided) --> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
|- | |- | ||
| Line 18: | Line 17: | ||
}} | }} | ||
<!-- | <!-- Identity / Titles --> | ||
{{#if:{{{aliases|}}}| |- | {{#if:{{{aliases|}}}| |- | ||
! style="width:42%; padding:4px 8px; text-align:left;" | Aliases: | ! style="width:42%; padding:4px 8px; text-align:left;" | Aliases: | ||
| Line 40: | Line 39: | ||
}} | }} | ||
<!-- Domain --> | |||
{{#if:{{{territory|}}}| |- | {{#if:{{{territory|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Territory: | ! style="padding:4px 8px; text-align:left;" | Territory: | ||
| Line 53: | Line 53: | ||
}} | }} | ||
<!-- Traits / Status --> | |||
{{#if:{{{status|}}}| |- | {{#if:{{{status|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Status: | ! style="padding:4px 8px; text-align:left;" | Status: | ||
| Line 82: | Line 83: | ||
}} | }} | ||
<!-- Birth / Death --> | |||
{{#if:{{{birthplace|}}}| |- | {{#if:{{{birthplace|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Birthplace: | ! style="padding:4px 8px; text-align:left;" | Birthplace: | ||
| Line 107: | Line 109: | ||
}} | }} | ||
<!-- Roles --> | |||
{{#if:{{{title|}}}| |- | {{#if:{{{title|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Title: | ! style="padding:4px 8px; text-align:left;" | Title: | ||
| Line 124: | Line 127: | ||
}} | }} | ||
<!-- Magic --> | |||
{{#if:{{{magic_school|}}}| |- | {{#if:{{{magic_school|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Magic School: | ! style="padding:4px 8px; text-align:left;" | Magic School: | ||
| Line 137: | Line 141: | ||
}} | }} | ||
<!-- Education --> | |||
{{#if:{{{formal_prep|}}}| |- | {{#if:{{{formal_prep|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Formal (Prep): | ! style="padding:4px 8px; text-align:left;" | Formal (Prep): | ||
| Line 162: | Line 167: | ||
}} | }} | ||
<!-- Languages --> | |||
{{#if:{{{fluent_in|}}}| |- | {{#if:{{{fluent_in|}}}| |- | ||
! style="padding:4px 8px; text-align:left;" | Fluent In: | ! style="padding:4px 8px; text-align:left;" | Fluent In: | ||
| Line 172: | Line 178: | ||
|} <!-- end table --> | |} <!-- end table --> | ||
}} <!-- end outer #if --> | }} <!-- end outer #if --> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Simple right-floating character infobox (single table | "description": "Simple right-floating character infobox (single wiki table). Fields only render when provided.", | ||
"params": { | "params": { | ||
"name": {"label":"Name","type":"string"}, | "name": {"label":"Name","type":"string"}, | ||
| Line 234: | Line 238: | ||
== Usage == | == Usage == | ||
<pre><nowiki> | |||
{{Infobox character | {{Infobox character | ||
| name = Valkaénnar Vaeari | | name = Valkaénnar Vaeari | ||
| Line 239: | Line 244: | ||
| caption = Example Caption | | caption = Example Caption | ||
| aliases = Unknown | | aliases = Unknown | ||
| nicknames = The Shadow | |||
| standard_titles = Lord General, Inquisitor Prime | |||
| formal_titles = Lord General Xyz Abc, Inquisitor Prime | |||
| full_title = His Eminence The Lord General Xyz Abc, Inquisitor Prime of the Winter Court | |||
| territory = The Frostglade | |||
| seat_of_power = Ruinspire | |||
| residences = Quellspirit Manor | |||
| status = Alive | | status = Alive | ||
| species = Ayldarzi | | species = Ayldarzi | ||
| Nationality = Ayldarzi | |||
| gender = Male | | gender = Male | ||
| orientation = Pansexual | |||
| loyalties = House Vaeari | |||
| partners = Vael | |||
| birthplace = Ilina | |||
| birthdate = June 14th, 1492 | |||
| during = The Age of Shifting Leaves | |||
| title = Lord | | title = Lord | ||
| role = Enchanter | | role = Enchanter | ||
| combat_class = Rogue | |||
| specialty = Second Story Work | |||
| magic_school = Enchantment | | magic_school = Enchantment | ||
| affinities = Glamour, Memory-Weave | |||
| notable_feats = Veilstep; Oathbinding sigils | |||
| formal_prep = Juniper Ridge Preparatory | |||
| formal_scholastic = University of Fulgram | |||
| formal_martial = Rischarch Academy | |||
| formal_arcane = Arcane College of Ilina | |||
| formal_religious = Seminary School of Durenal | |||
| informal = Self-taught | |||
| fluent_in = Sylvan | | fluent_in = Sylvan | ||
| semi_fluent_in = French | |||
}} | }} | ||
</nowiki></pre> | |||
</noinclude> | </noinclude> | ||
Revision as of 17:17, 3 November 2025
Simple right-floating character infobox (single wiki table). Fields only render when provided.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | optional |
| Image (filename only) | image | no description | String | optional |
| Caption | caption | no description | String | optional |
| Aliases | aliases | no description | String | optional |
| Nickname(s) | nicknames | no description | String | optional |
| Standard Title(s) | standard_titles | no description | String | optional |
| Formal Title(s) | formal_titles | no description | String | optional |
| Full Title | full_title | no description | String | optional |
| Territory | territory | no description | String | optional |
| Seat of Power | seat_of_power | no description | String | optional |
| Residence(s) | residences | no description | String | optional |
| Status | status | no description | String | optional |
| Species | species | no description | String | optional |
| Nationality | Nationality | no description | String | optional |
| Gender | gender | no description | String | optional |
| Orientation | orientation | no description | String | optional |
| Loyalties | loyalties | no description | String | optional |
| Partner(s) | partners | no description | String | optional |
| Birthplace | birthplace | no description | String | optional |
| Birthdate | birthdate | no description | String | optional |
| During | during | no description | String | optional |
| Deathdate | deathdate | no description | String | optional |
| Age at Death | age_at_death | no description | String | optional |
| Death Circumstances | death_circumstances | no description | String | optional |
| Title | title | no description | String | optional |
| Role | role | no description | String | optional |
| Combat Class | combat_class | no description | String | optional |
| Specialty | specialty | no description | String | optional |
| Magic School | magic_school | no description | String | optional |
| Affinities | affinities | no description | String | optional |
| Notable Feats | notable_feats | no description | String | optional |
| Formal (Prep) | formal_prep | no description | String | optional |
| Formal (Scholastic) | formal_scholastic | no description | String | optional |
| Formal (Martial) | formal_martial | no description | String | optional |
| Formal (Arcane) | formal_arcane | no description | String | optional |
| Formal (Religious) | formal_religious | no description | String | optional |
| Informal | informal | no description | String | optional |
| Fluent In | fluent_in | no description | String | optional |
| Semi-Fluent In | semi_fluent_in | no description | String | optional |
Usage
{{Infobox character
| name = Valkaénnar Vaeari
| image = Example.jpg
| caption = Example Caption
| aliases = Unknown
| nicknames = The Shadow
| standard_titles = Lord General, Inquisitor Prime
| formal_titles = Lord General Xyz Abc, Inquisitor Prime
| full_title = His Eminence The Lord General Xyz Abc, Inquisitor Prime of the Winter Court
| territory = The Frostglade
| seat_of_power = Ruinspire
| residences = Quellspirit Manor
| status = Alive
| species = Ayldarzi
| Nationality = Ayldarzi
| gender = Male
| orientation = Pansexual
| loyalties = House Vaeari
| partners = Vael
| birthplace = Ilina
| birthdate = June 14th, 1492
| during = The Age of Shifting Leaves
| title = Lord
| role = Enchanter
| combat_class = Rogue
| specialty = Second Story Work
| magic_school = Enchantment
| affinities = Glamour, Memory-Weave
| notable_feats = Veilstep; Oathbinding sigils
| formal_prep = Juniper Ridge Preparatory
| formal_scholastic = University of Fulgram
| formal_martial = Rischarch Academy
| formal_arcane = Arcane College of Ilina
| formal_religious = Seminary School of Durenal
| informal = Self-taught
| fluent_in = Sylvan
| semi_fluent_in = French
}}