Template:Infobox player character: Difference between revisions
No edit summary Tags: Manual revert Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
This infobox is for player-created characters. Use {{tl|Infobox player character}} on player character pages. | |||
== Usage == | |||
<pre> | |||
{{Infobox player character | |||
| name = | |||
| player = | |||
| image = | |||
| image_caption = | |||
| race = | |||
| age = | |||
| nationality = | |||
| origin = | |||
| aliases = | |||
| occupation = | |||
| status = | |||
| game_image = | |||
| game_image_caption = | |||
}} | |||
</pre> | |||
{{ | <templatedata> | ||
{ | |||
"description": "Infobox for player-created characters on the Mundus Wiki.", | |||
"params": { | |||
</ | "name": { | ||
"label": "Name", | |||
"description": "Character name shown in the infobox title. Defaults to the page name.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"player": { | |||
"label": "Player", | |||
"description": "The player controlling or owning the character (display name).", | |||
"type": "string", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Portrait image", | |||
"description": "File name of the character portrait (without 'File:').", | |||
"type": "wiki-file-name", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"imagesize": { | |||
"label": "Portrait size", | |||
"description": "Portrait size, for example 300px.", | |||
"type": "string", | |||
"default": "300px", | |||
"required": false | |||
}, | |||
"image_alt": { | |||
"label": "Portrait alt text", | |||
"description": "Alt text for the portrait image.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"image_caption": { | |||
"label": "Portrait caption", | |||
"description": "Caption shown below the portrait.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"description": "Race page name to link to.", | |||
"type": "wiki-page-name", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"age": { | |||
"label": "Age", | |||
"description": "Age text, for example '26 cycles'.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | |||
"description": "Nationality page name to link to.", | |||
"type": "wiki-page-name", | |||
"required": false | |||
}, | |||
"origin": { | |||
"label": "Origin", | |||
"description": "Origin page name to link to (city, region, settlement).", | |||
"type": "wiki-page-name", | |||
"required": false | |||
}, | |||
"settlement": { | |||
"label": "Settlement (legacy)", | |||
"description": "Legacy alias for origin. Used only if origin is blank.", | |||
"type": "wiki-page-name", | |||
"required": false | |||
}, | |||
"aliases": { | |||
"label": "Aliases", | |||
"description": "Nicknames or titles.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"occupation": { | |||
"label": "Occupation", | |||
"description": "Role or job title.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"affiliation": { | |||
"label": "Affiliation", | |||
"description": "Organization, faction, or group.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Alive, deceased, missing, non-canonical, etc.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"game_image": { | |||
"label": "In-game image", | |||
"description": "File name of an in-game screenshot (without 'File:').", | |||
"type": "wiki-file-name", | |||
"required": false | |||
}, | |||
"game_imagesize": { | |||
"label": "In-game image size", | |||
"description": "In-game image size, for example 180px.", | |||
"type": "string", | |||
"default": "180px", | |||
"required": false | |||
}, | |||
"game_image_alt": { | |||
"label": "In-game image alt text", | |||
"description": "Alt text for the in-game image.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"game_image_caption": { | |||
"label": "In-game image caption", | |||
"description": "Caption shown below the in-game image.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"nocat": { | |||
"label": "Disable category", | |||
"description": "Set to any value to prevent adding Category:Player characters.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Template documentation]] | |||
Revision as of 02:41, 27 February 2026
Template:Documentation subpage
This infobox is for player-created characters. Use Template:Tl on player character pages.
Usage
{{Infobox player character
| name =
| player =
| image =
| image_caption =
| race =
| age =
| nationality =
| origin =
| aliases =
| occupation =
| status =
| game_image =
| game_image_caption =
}}
Infobox for player-created characters on the Mundus Wiki.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Character name shown in the infobox title. Defaults to the page name. | String | optional |
| Player | player | The player controlling or owning the character (display name). | String | suggested |
| Portrait image | image | File name of the character portrait (without 'File:'). | File | suggested |
| Portrait size | imagesize | Portrait size, for example 300px.
| String | optional |
| Portrait alt text | image_alt | Alt text for the portrait image. | String | optional |
| Portrait caption | image_caption | Caption shown below the portrait. | String | optional |
| Race | race | Race page name to link to. | Page name | suggested |
| Age | age | Age text, for example '26 cycles'. | String | optional |
| Nationality | nationality | Nationality page name to link to. | Page name | optional |
| Origin | origin | Origin page name to link to (city, region, settlement). | Page name | optional |
| Settlement (legacy) | settlement | Legacy alias for origin. Used only if origin is blank. | Page name | optional |
| Aliases | aliases | Nicknames or titles. | String | optional |
| Occupation | occupation | Role or job title. | String | optional |
| Affiliation | affiliation | Organization, faction, or group. | String | optional |
| Status | status | Alive, deceased, missing, non-canonical, etc. | String | optional |
| In-game image | game_image | File name of an in-game screenshot (without 'File:'). | File | optional |
| In-game image size | game_imagesize | In-game image size, for example 180px.
| String | optional |
| In-game image alt text | game_image_alt | Alt text for the in-game image. | String | optional |
| In-game image caption | game_image_caption | Caption shown below the in-game image. | String | optional |
| Disable category | nocat | Set to any value to prevent adding Category:Player characters. | String | optional |