Template:Character: Difference between revisions
From DSRPG
Created page with "<!-- Template:Character --> <includeonly> <div class="infoboxFrame characterBox"> <div class="infoboxHeadTitle" style="background-color: {{{color|#8899bb}}};">{{{name|Character Name}}}</div> <!-- Image section --> {{#if: {{{image|}}} | <div class="infoboxImage"> [[File:{{{image}}}|300px|{{{name|Character Name}}}]] {{#if: {{{caption|}}} | <div class="infoboxCaption">{{{caption}}}</div> |}} </div> |}} <!-- Basic Information --> {{#if:..." |
(No difference)
|
Revision as of 02:52, 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.