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 | <!-- 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|}}}{{{gender|}}}{{{orientation|}}}{{{partners|}}}{{{education|}}}| | ||
<div style="float:right; clear:right; margin:0 15px | <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;"> | ||
<!-- Image + Caption --> | <!-- Image + Caption --> | ||
| Line 35: | Line 35: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Right-floating character infobox that starts with an image and caption, with labeled fields below. Text wraps on the left side.", | ||
"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"}, | |||
"role": {"label":"Role","description":"Occupation or narrative role.","type":"string"}, | |||
"caption": { | "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"}, | |||
"gender": {"label":"Gender","description":"Gender identity.","type":"string"}, | |||
"orientation": {"label":"Orientation","description":"Sexual orientation.","type":"string"}, | |||
"aliases": {"label": "Aliases", "description": "Alternate names or titles.", "type": "string"}, | "partners": {"label":"Partners","description":"Romantic or bonded partners.","type":"string"}, | ||
"loyalties": {"label": "Loyalties", "description": "Organizations or allegiances.", "type": "string"}, | "education": {"label":"Education","description":"Training or schooling.","type":"string"} | ||
"title": {"label": "Title", "description": "Formal or informal title(s).", "type": "string"}, | |||
"role": {"label": "Role", "description": "Occupation or | |||
"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"}, | |||
"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"} | |||
} | } | ||
} | } | ||
| Line 84: | Line 74: | ||
}} | }} | ||
</pre> | </pre> | ||
This | This version floats on the **right side** of the page, allowing body text to wrap neatly around it. | ||
</noinclude> | </noinclude> | ||
Revision as of 13:22, 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 |
| 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 |
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
| gender = Male
| orientation = Pansexual
| partners = Vael
| education = Arcane College of Ilina
}}
This version floats on the **right side** of the page, allowing body text to wrap neatly around it.