Template:Character: Difference between revisions
From DSRPG
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 94: | Line 94: | ||
<div class="infoboxData">{{{residence}}}</div> | <div class="infoboxData">{{{residence}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
<div class="infoboxSubheader">Family</div> | <div class="infoboxSubheader">Family</div> | ||
{{#if: {{{spouse|}}} | | |||
<div class="infoboxRow"> | <div class="infoboxRow"> | ||
<div class="infoboxLabel">Spouse</div> | <div class="infoboxLabel">Spouse</div> | ||
Latest revision as of 18:46, 4 May 2025
Template:Character
This template creates an infobox for characters in the world of Irinia.
Usage
{{Character
|name = Character Name
|color = #8899bb
|image = Character_portrait.jpg
|caption = Portrait of Character Name
|title = Official title
|occupation = Occupation or role
|motto = Character's personal motto
|reign = Period of rule (for monarchs)
|coronation = Date of coronation (for monarchs)
|predecessor = Previous monarch (for royalty)
|successor = Next monarch (for royalty)
|born = Date and place of birth
|died = Date and place of death
|age = Current age
|race = Character's race
|gender = Character's gender
|height = Character's height
|house = Noble house affiliation
|faction = Political/social faction
|residence = Where the character lives
|spouse = Character's spouse(s)
|issue = Character's children
|father = Character's father
|mother = Character's mother
|siblings = Character's siblings
|class = Character class (for adventurers)
|magictype = Type of magic used
|abilities = Special abilities or skills
|equipment = Notable equipment or artifacts
|religion = Religious affiliation
|loyalty = Political or personal loyalties
|signature = Signature_file.svg
|custom1name = Custom field name
|custom1value = Custom field value
|custom2name = Custom field name
|custom2value = Custom field value
|custom3name = Custom field name
|custom3value = Custom field value
}}
Parameters
- name: Character's full name
- color: Background color for the header (hex code)
- image: Image filename (must be uploaded to the wiki)
- caption: Caption for the image
- title: Official title or honorific
- occupation: Profession or role in society
- motto: Personal motto or saying
- reign: Period of rule (for monarchs)
- coronation: Date of coronation (for monarchs)
- predecessor: Previous monarch (for royalty)
- successor: Next monarch (for royalty)
- born: Date and place of birth
- died: Date and place of death
- age: Current age
- race: Character's race
- gender: Character's gender
- height: Character's height
- house: Noble house affiliation
- faction: Political/social faction
- residence: Where the character lives
- spouse: Character's spouse(s)
- issue: Character's children
- father: Character's father
- mother: Character's mother
- siblings: Character's siblings
- class: Character class (for adventurers)
- magictype: Type of magic used
- abilities: Special abilities or skills
- equipment: Notable equipment or artifacts
- religion: Religious affiliation
- loyalty: Political or personal loyalties
- signature: Image file of character's signature
- custom1name, custom2name, custom3name: Custom field labels
- custom1value, custom2value, custom3value: Custom field values
Examples
See the template documentation page for examples.