(add category) |
(rewrite templatedata) |
||
Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { "description": "A template used in displaying NPC information.", | ||
"params": { | "params": { | ||
"headercolor": { | "headercolor": { | ||
"label": "Header color", | |||
"description": "The header's background color.", | "description": "The header's background color.", | ||
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
" | "default": "#3366CC" | ||
}, | }, | ||
"headerfontcolor": { | "headerfontcolor": { | ||
"label": "Header font color", | |||
"description": "The header's text color.", | "description": "The header's text color.", | ||
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
" | "default": "#ffffff" | ||
}, | }, | ||
"image": { | "image": { | ||
"description": " | "label": "NPC image", | ||
"type": " | "description": "The file name for the image to be displayed. It should clearly show the NPC in its usual appearance.", | ||
"type": "wiki-file-name", | |||
"example": "Uboa.png", | |||
"required": true | "required": true | ||
}, | }, | ||
" | "role": { | ||
" | "label": "Role", | ||
" | "description": "The NPC's purpose.", | ||
"example": "Gives the [[Yume 2kki:Effects#Boy|Boy]] effect", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "Collectibles": { | ||
"description": " | "label": "Collectibles", | ||
"type": " | "description": "Collectibles that you can unlock by interacting with the NPC.", | ||
"example": "WP #87, Menu Theme #65", | |||
"type": "string", | |||
"aliases": [ | |||
"Wallpapers", | |||
"Menu" | |||
], | |||
"required": true | "required": true | ||
}, | }, | ||
" | "Events": { | ||
" | "label": "Events", | ||
"description": "Events associated with this NPC.", | |||
"description": " | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "location": { | ||
" | "label": "Location", | ||
"description": "The NPC's location, or a comma-separated list of locations.", | |||
"description": " | |||
"type": "string", | "type": "string", | ||
" | "required": true | ||
}, | }, | ||
" | "size": { | ||
"description": " | "label": "Size", | ||
"example": " | "description": "The NPC's physical size.", | ||
"example": "Standard", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "killable": { | ||
"description": " | "label": "Killable?", | ||
"description": "Whether the NPC is able to be killed using the game's weapon effect.", | |||
"suggestedvalues": ["Yes","No"], | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"species": { | "species": { | ||
"label": "Species", | |||
"description": "The in-game species of the NPC.", | "description": "The in-game species of the NPC.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "notes": { | ||
"description": " | "label": "Misc. Notes", | ||
"description": "Any further notes on the NPC that are important enough to include in the box.", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "name": { | ||
"description": " | "label": "Display Name", | ||
" | "description": "Overrides using the page name as the header text. If the name of the character should be changed on the wiki, move the page instead of using this parameter.", | ||
" | "type": "string", | ||
"autovalue": "{{PAGENAME}}" | |||
}, | }, | ||
"headerfontsize": { | "headerfontsize": { | ||
" | "label": "Header font size", | ||
"description": "The header's font size as a percentage.", | |||
"type": "string", | "type": "string", | ||
"description": "The | "default": "200%" | ||
}, | |||
"imagewidth": { | |||
"label": "Image width", | |||
"description": "The image width in px.", | |||
"type": "number", | |||
"default": "250" | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"description": "A corresponding caption for the image, visible if a value is provided.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"format": "{{_\n|_ = _\n}}", | "format": "{{_\n|_ = _\n}}", | ||
"paramOrder": [ | "paramOrder": [ | ||
"headercolor", | "headercolor", | ||
"headerfontcolor", | "headerfontcolor", | ||
"image", | "image", | ||
"role", | "role", | ||
"Collectibles", | |||
"Events", | |||
"location", | "location", | ||
"size", | "size", | ||
"killable", | "killable", | ||
"notes" | "species", | ||
"notes", | |||
"name", | |||
"headerfontsize", | |||
"imagewidth", | |||
"caption" | |||
] | ] | ||
} | } |
Revision as of 23:10, 21 June 2024
A template used in displaying NPC information.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header color | headercolor | The header's background color.
| String | suggested |
Header font color | headerfontcolor | The header's text color.
| String | suggested |
NPC image | image | The file name for the image to be displayed. It should clearly show the NPC in its usual appearance.
| File | required |
Role | role | The NPC's purpose.
| String | required |
Collectibles | Collectibles Wallpapers Menu | Collectibles that you can unlock by interacting with the NPC.
| String | required |
Events | Events | Events associated with this NPC. | String | required |
Location | location | The NPC's location, or a comma-separated list of locations. | String | required |
Size | size | The NPC's physical size.
| String | suggested |
Killable? | killable | Whether the NPC is able to be killed using the game's weapon effect.
| String | suggested |
Species | species | The in-game species of the NPC. | String | optional |
Misc. Notes | notes | Any further notes on the NPC that are important enough to include in the box. | String | optional |
Display Name | name | Overrides using the page name as the header text. If the name of the character should be changed on the wiki, move the page instead of using this parameter.
| String | optional |
Header font size | headerfontsize | The header's font size as a percentage.
| String | optional |
Image width | imagewidth | The image width in px.
| Number | optional |
Image caption | caption | A corresponding caption for the image, visible if a value is provided. | String | optional |