Template:Infobox servant: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
| headerclass = notheme | | headerclass = notheme | ||
| subheader = {{# | | subheader = <div style="text-align:center">{{#switch: {{{class|}}} | ||
| Saber = [[File:Icon_class_saber.webp|30px]] | |||
| Archer = [[File:Icon_class_archer.webp|30px]] | |||
| Lancer = [[File:Icon_class_lancer.webp|30px]] | |||
| Rider = [[File:Icon_class_rider.webp|30px]] | |||
| Caster = [[File:Icon_class_caster.webp|30px]] | |||
| Assassin = [[File:Icon_class_assassin.webp|30px]] | |||
| Berserker = [[File:Icon_class_berserker.webp|30px]] | |||
}}</div> | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}} | ||
| Line 93: | Line 102: | ||
{ | { | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"description": "Servant's name", | |||
" | "type": "string", | ||
"required": true | |||
}, | |||
"image_size": {}, | "image": { | ||
"description": "Filename of the image to display", | |||
"type": "string", | |||
"default": "Please name your images using the following format: \n\nimg_svt_{Class}_{ServantName}_{FreeSpace}.{extension}\n\nExample: \"img_svt_Saber_ArtoriaPendragon_Portrait.png\"" | |||
}, | |||
"image_size": { | |||
"description": "Size of the image in pixels (e.g., 200px)", | |||
"type": "string" | |||
}, | |||
"artist": {}, | "artist": {}, | ||
"class": { | "class": { | ||
"description": " | "description": "Servant's class", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
| Line 121: | Line 138: | ||
"weight": {}, | "weight": {}, | ||
"nationality": {}, | "nationality": {}, | ||
"alignment": {}, | "alignment": { | ||
"description": "Servant's alignment", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Lawful Good", | |||
"Lawful Neutral", | |||
"Lawful Evil", | |||
"Neutral Good", | |||
"True Neutral", | |||
"Neutral Evil", | |||
"Chaotic Good", | |||
"Chaotic Neutral", | |||
"Chaotic Evil" | |||
], | |||
"required": true | |||
}, | |||
"weapon": {}, | "weapon": {}, | ||
"likes": {}, | "likes": {}, | ||
Latest revision as of 13:10, 7 April 2025
| Class | Invalid class value. Must be a valid Servant class | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Alignment | Invalid alignment value. Must be one of the nine D&D alignments | ||||||||||||
| Parameters | |||||||||||||
| |||||||||||||
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | Servant's name | String | required |
| image | image | Filename of the image to display
| String | optional |
| image_size | image_size | Size of the image in pixels (e.g., 200px) | String | optional |
| artist | artist | no description | Unknown | optional |
| class | class | Servant's class
| String | required |
| alias | alias | no description | Unknown | optional |
| gender | gender | no description | Unknown | optional |
| born | born | no description | Unknown | optional |
| died | died | no description | Unknown | optional |
| height | height | no description | Unknown | optional |
| weight | weight | no description | Unknown | optional |
| nationality | nationality | no description | Unknown | optional |
| alignment | alignment | Servant's alignment
| String | required |
| weapon | weapon | no description | Unknown | optional |
| likes | likes | no description | Unknown | optional |
| dislikes | dislikes | no description | Unknown | optional |
| param-strength | param-strength | no description | Unknown | optional |
| param-endurance | param-endurance | no description | Unknown | optional |
| param-agility | param-agility | no description | Unknown | optional |
| param-mana | param-mana | no description | Unknown | optional |
| param-luck | param-luck | no description | Unknown | optional |
| param-np | param-np | no description | Unknown | optional |