Template:Infobox character: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- Show the box only if at least one parameter has data --> | <!-- Show the box only if at least one parameter has data --> | ||
{{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}| | {{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}| | ||
<div style="float:right; clear:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:8px; font-size:90%; line-height:1.4em;"> | <div style="float:right; clear:right; margin:0 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:8px; font-size:90%; line-height:1.4em;"> | ||
| Line 22: | Line 22: | ||
{{#if:{{{status|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Status</td><td>{{{status}}}</td></tr>}} | {{#if:{{{status|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Status</td><td>{{{status}}}</td></tr>}} | ||
{{#if:{{{species|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Species</td><td>{{{species}}}</td></tr>}} | {{#if:{{{species|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Species</td><td>{{{species}}}</td></tr>}} | ||
{{#if:{{{Nationality|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Nationality</td><td>{{{species}}}</td></tr>}} | |||
{{#if:{{{gender|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Gender</td><td>{{{gender}}}</td></tr>}} | {{#if:{{{gender|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Gender</td><td>{{{gender}}}</td></tr>}} | ||
{{#if:{{{orientation|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Orientation</td><td>{{{orientation}}}</td></tr>}} | {{#if:{{{orientation|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Orientation</td><td>{{{orientation}}}</td></tr>}} | ||
{{#if:{{{partners|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Partners</td><td>{{{partners}}}</td></tr>}} | {{#if:{{{partners|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Partners</td><td>{{{partners}}}</td></tr>}} | ||
{{#if:{{{education|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Education</td><td>{{{education}}}</td></tr>}} | {{#if:{{{education|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Education</td><td>{{{education}}}</td> | ||
{{#if:{{{Known Languages|}}}|<tr><td style="vertical-align:top; font-weight:bold;">Known Languages</td><td>{{{species}}}</td></tr>}} | |||
</tr>}} | |||
</table> | </table> | ||
| Line 85: | Line 88: | ||
"label": "Species", | "label": "Species", | ||
"description": "Race or species.", | "description": "Race or species.", | ||
"type": "string" | |||
}, | |||
"Nationality": { | |||
"label": "Nationality", | |||
"description": "Nationality and/or ethnicity.", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
| Line 107: | Line 115: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"Known Languages": { | "Known Languages": { "label": "Known Languages", | ||
"description": "Fluency.", | |||
"type": "string" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
Revision as of 22:34, 30 October 2025
Right-floating character infobox that starts with an image and caption, with labeled fields below. Text wraps on the left side.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | File name of the image (omit 'File:'). | String | optional |
| Caption | caption | Text displayed under the image. | String | optional |
| Aliases | aliases | Alternate names or titles. | String | optional |
| Loyalties | loyalties | Organizations or allegiances. | String | optional |
| Title | title | Formal or informal title(s). | String | optional |
| Role | role | Occupation or narrative role. | String | optional |
| Birthplace | birthplace | Place of origin. | String | optional |
| Birthdate | birthdate | Character’s date of birth. | String | optional |
| Status | status | Current state (Alive, Deceased, etc.). | String | optional |
| Species | species | Race or species. | String | optional |
| Nationality | Nationality | Nationality and/or ethnicity. | String | optional |
| Gender | gender | Gender identity. | String | optional |
| Orientation | orientation | Sexual orientation. | String | optional |
| Partners | partners | Romantic or bonded partners. | String | optional |
| Education | education | Training or schooling. | String | optional |
| Known Languages | Known Languages | Fluency. | String | optional |
Usage
{{Infobox character
| image = Example.jpg
| caption = Example Caption
| aliases = The Shadow
| loyalties = House Vaeari
| title = Lord
| role = Enchanter
| birthplace = Ilina
| birthdate = 14th Sun of Summer, 1492
| status = Alive
| species = Ayldarzi
| Nationality = Ayldarzi
| gender = Male
| orientation = Pansexual
| partners = Vael
| education = Arcane College of Ilina
| Known Languages = Sylvan
}}
This version floats on the **right side** of the page, allowing body text to wrap neatly around it.