m 1 revision imported |
No edit summary |
||
| Line 14: | Line 14: | ||
|health = | |health = | ||
|status = | |status = | ||
|alignment = | |||
|gender = | |gender = | ||
|age = | |||
|race = | |race = | ||
|height = | |height = | ||
| Line 62: | Line 64: | ||
[[Category:{{#ifeq: {{SITENAME}} | Templates Wiki | Character infobox | Infobox }} templates|{{PAGENAME}}]]</includeonly><noinclude> | [[Category:{{#ifeq: {{SITENAME}} | Templates Wiki | Character infobox | Infobox }} templates|{{PAGENAME}}]]</includeonly><noinclude> | ||
[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | [[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the character", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Filename to put in infobox. Use <gallery> to use multiple images.", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Caption for the character image", | |||
"type": "string" | |||
}, | |||
"title": { | |||
"label": "Title", | |||
"description": "Title of the infobox", | |||
"type": "string" | |||
}, | |||
"player": { | |||
"label": "Player", | |||
"description": "Name of person playing this character", | |||
"type": "string" | |||
}, | |||
"health": { | |||
"label": "Health", | |||
"description": "How is the character doing health wise?", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "How is the character doing in general?", | |||
"type": "string" | |||
}, | |||
"alignment": { | |||
"label": "Alignment", | |||
"description": "D&D Alignment", | |||
"example": "CN", | |||
"type": "string" | |||
}, | |||
"gender": { | |||
"label": "Gender", | |||
"description": "Gender of the character", | |||
"type": "string" | |||
}, | |||
"age": { | |||
"label": "Age", | |||
"description": "Age of the character", | |||
"type": "number" | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"description": "The character's D&D race", | |||
"example": "Tiefling", | |||
"type": "string" | |||
}, | |||
"height": { | |||
"label": "Height", | |||
"description": "The height of the character", | |||
"type": "string" | |||
}, | |||
"weight": { | |||
"label": "Weight", | |||
"description": "The weight of the character" | |||
}, | |||
"eye color": { | |||
"label": "Eye Color", | |||
"description": "The character's eye color", | |||
"type": "string" | |||
}, | |||
"hair color": { | |||
"label": "Hair Color", | |||
"description": "The character's hair color", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "A D&D style character" | |||
} | |||
</templatedata> | |||
Revision as of 18:58, 1 March 2023
- Description
- This template is used to create a minimalist game character infobox (the "dnd" in the name is misleading).
- Syntax
- Type
somewhere, with parameters as shown below.{{infobox dndcharacter|...}}
Usage
{{Infobox dndcharacter
|name =
|image =
|caption =
|title =
|player =
|health =
|status =
|alignment =
|gender =
|age =
|race =
|height =
|weight =
|eye color =
|hair color =
}}
Preview
Click here to refresh the preview
{{Infobox dndcharacter
|name = Some Character
|image = Placeholder person.png
|caption = Some
|title = n/a
|player = Some Player
|health = Okay
|status = Alive
|gender = Female
|race = Wikian
|height = 5'7"
|weight = 170 lbs.
|eye color = blue-gray
|hair color = dark blonde
}}
A D&D style character
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the character | String | optional |
| Image | image | Filename to put in infobox. Use <gallery> to use multiple images. | File | optional |
| Caption | caption | Caption for the character image | String | optional |
| Title | title | Title of the infobox | String | optional |
| Player | player | Name of person playing this character | String | optional |
| Health | health | How is the character doing health wise? | String | optional |
| Status | status | How is the character doing in general? | String | optional |
| Alignment | alignment | D&D Alignment
| String | optional |
| Gender | gender | Gender of the character | String | optional |
| Age | age | Age of the character | Number | optional |
| Race | race | The character's D&D race
| String | optional |
| Height | height | The height of the character | String | optional |
| Weight | weight | The weight of the character | Unknown | optional |
| Eye Color | eye color | The character's eye color | String | optional |
| Hair Color | hair color | The character's hair color | String | optional |