Template:Infobox character: Difference between revisions

From feywild

No edit summary
No edit summary
Line 35: Line 35:
<templatedata>
<templatedata>
{
{
  "description": "Right-floating character infobox that starts with an image and caption, with labeled fields below. Text wraps on the left side.",
"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": {"label":"Image","description":"File name of the image (omit 'File:').","type":"string"},
"image": {
    "caption": {"label":"Caption","description":"Text displayed under the image.","type":"string"},
"label": "Image",
    "aliases": {"label":"Aliases","description":"Alternate names or titles.","type":"string"},
"description": "File name of the image (omit 'File:').",
    "loyalties": {"label":"Loyalties","description":"Organizations or allegiances.","type":"string"},
"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"},
"label": "Caption",
    "birthdate": {"label":"Birthdate","description":"Character’s date of birth.","type":"string"},
"description": "Text displayed under the image.",
    "status": {"label":"Status","description":"Current state (Alive, Deceased, etc.).","type":"string"},
"type": "string"
    "species": {"label":"Species","description":"Race or species.","type":"string"},
},
    "gender": {"label":"Gender","description":"Gender identity.","type":"string"},
"aliases": {
    "orientation": {"label":"Orientation","description":"Sexual orientation.","type":"string"},
"label": "Aliases",
    "partners": {"label":"Partners","description":"Romantic or bonded partners.","type":"string"},
"description": "Alternate names or titles.",
    "education": {"label":"Education","description":"Training or schooling.","type":"string"}
"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"
},
"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"
},
"Known Languages": {},
"Nationality": {}
},
"paramOrder": [
"image",
"caption",
"aliases",
"loyalties",
"title",
"role",
"birthplace",
"birthdate",
"status",
"species",
        "Nationality",
"gender",
"orientation",
"partners",
"education",
"Known Languages"
]
}
}
</templatedata>
</templatedata>
Line 68: Line 145:
| status      = Alive
| status      = Alive
| species    = Ayldarzi
| species    = Ayldarzi
| Nationality = Ayldarzi
| gender      = Male
| gender      = Male
| orientation = Pansexual
| orientation = Pansexual
| partners    = Vael
| partners    = Vael
| education  = Arcane College of Ilina
| education  = Arcane College of Ilina
| Known Languages  = Sylvan
}}
}}
</pre>
</pre>
This version floats on the **right side** of the page, allowing body text to wrap neatly around it.
This version floats on the **right side** of the page, allowing body text to wrap neatly around it.
</noinclude>
</noinclude>

Revision as of 22:25, 30 October 2025


Right-floating character infobox that starts with an image and caption, with labeled fields below. Text wraps on the left side.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

File name of the image (omit 'File:').

Stringoptional
Captioncaption

Text displayed under the image.

Stringoptional
Aliasesaliases

Alternate names or titles.

Stringoptional
Loyaltiesloyalties

Organizations or allegiances.

Stringoptional
Titletitle

Formal or informal title(s).

Stringoptional
Rolerole

Occupation or narrative role.

Stringoptional
Birthplacebirthplace

Place of origin.

Stringoptional
Birthdatebirthdate

Character’s date of birth.

Stringoptional
Statusstatus

Current state (Alive, Deceased, etc.).

Stringoptional
Speciesspecies

Race or species.

Stringoptional
NationalityNationality

no description

Unknownoptional
Gendergender

Gender identity.

Stringoptional
Orientationorientation

Sexual orientation.

Stringoptional
Partnerspartners

Romantic or bonded partners.

Stringoptional
Educationeducation

Training or schooling.

Stringoptional
Known LanguagesKnown Languages

no description

Unknownoptional

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.