Template:Infobox character: Difference between revisions
From feywild
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!-- Shim so the float can sit under the title without reserving a blank left column --> | |||
<span style="display:inline-block; width:1px; height:1px; margin:0; padding:0; line-height:0; font-size:0;"></span> | |||
{{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}| | {{#if:{{{image|}}}{{{caption|}}}{{{aliases|}}}{{{loyalties|}}}{{{title|}}}{{{role|}}}{{{birthplace|}}}{{{birthdate|}}}{{{status|}}}{{{species|}}}{{{Nationality|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}{{{Known Languages|}}}| | ||
<div style="float | <div style="float:right; margin:0.25em 0 10px 15px; border:1px solid #AAA; background-color:#F9F9F9; width:300px; padding:10px; font-size:90%; line-height:1.5em;"> | ||
<!-- Image + Caption --> | <!-- Image + Caption --> | ||
| Line 36: | Line 39: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Right-floating character infobox | "description": "Right-floating character infobox. Uses a small shim so the float sits under the title without leaving a blank column. Content wraps beside the box.", | ||
"params": { | "params": { | ||
"image": { | "image": {"label":"Image","description":"File name of the image (omit 'File:').","type":"string"}, | ||
"caption": {"label":"Caption","description":"Text displayed under the image.","type":"string"}, | |||
"aliases": {"label":"Aliases","description":"Alternate names or titles.","type":"string"}, | |||
"loyalties": {"label":"Loyalties","description":"Organizations or allegiances.","type":"string"}, | |||
"title": {"label":"Title","description":"Formal or informal title(s).","type":"string"}, | |||
"caption": { | "role": {"label":"Role","description":"Occupation or narrative role.","type":"string"}, | ||
"birthplace": {"label":"Birthplace","description":"Place of origin.","type":"string"}, | |||
"birthdate": {"label":"Birthdate","description":"Character’s date of birth.","type":"string"}, | |||
"status": {"label":"Status","description":"Current state (Alive, Deceased, etc.).","type":"string"}, | |||
"species": {"label":"Species","description":"Race or species.","type":"string"}, | |||
"aliases": { | "Nationality": {"label":"Nationality","description":"Nationality and/or ethnicity.","type":"string"}, | ||
"gender": {"label":"Gender","description":"Gender identity.","type":"string"}, | |||
"orientation": {"label":"Orientation","description":"Sexual orientation.","type":"string"}, | |||
"partners": {"label":"Partners","description":"Romantic or bonded partners.","type":"string"}, | |||
"education": {"label":"Education","description":"Training or schooling.","type":"string"}, | |||
"loyalties": { | "Known Languages": {"label":"Known Languages","description":"Fluency.","type":"string"} | ||
"title": { | |||
"role": { | |||
"birthplace": { | |||
"birthdate": { | |||
"status": { | |||
"species": { | |||
"Nationality": { | |||
"gender": { | |||
"orientation": { | |||
"partners": { | |||
"education": { | |||
"Known Languages": { | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": ["image","caption","aliases","loyalties","title","role","birthplace","birthdate","status","species","Nationality","gender","orientation","partners","education","Known Languages"] | ||
} | } | ||
</templatedata> | </templatedata> | ||
| Line 158: | Line 80: | ||
| partners = Vael | | partners = Vael | ||
| education = Arcane College of Ilina | | education = Arcane College of Ilina | ||
| Known Languages | | Known Languages = Sylvan | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 14:03, 2 November 2025
Right-floating character infobox. Uses a small shim so the float sits under the title without leaving a blank column. Content wraps beside the box.
| 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
}}