Template:Feature box: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Fixed order of link and name, and added image link replaced chara) |
HarveyPekar (talk | contribs) (including the alias parameter into the template maker) |
||
Line 46: | Line 46: | ||
"required": true | "required": true | ||
}, | }, | ||
"link": { | |||
"description": "The link to the ability, if different from the name you want to display.", | |||
"type": "string" | |||
}, | |||
"image name": { | "image name": { | ||
"description": "An override for the image to use on the right-hand side.", | "description": "An override for the image to use on the right-hand side.", | ||
Line 54: | Line 58: | ||
"name", | "name", | ||
"image name", | "image name", | ||
"link", | |||
"1" | "1" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 17:41, 24 December 2023
Creates a box to display enemy features such as special abilities and attacks. It is intended for use on creature pages, rather than being pages of their own. For player features, use Template:ActionPage.
The icon uses the SAI template. The version without integrated SAI is Template:TooltipBox. If no image name is provided, the template will attempt to use NAME.webp
as the righthand-side image.
If the link name contains :, /, ( or ), they will be removed in the icon name.
Copy-ready example:{{Feature box |name= |link= |image name= | }}
Example:
Example with alias link:
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the ability. | String | required |
image name | image name | An override for the image to use on the right-hand side.
| Unknown | optional |
link | link | The link to the ability, if different from the name you want to display. | String | optional |
1 | 1 | The content of the feature box. | Content | required |