More languages
More actions
General-KJ (talk | contribs) mNo edit summary |
General-KJ (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
| name = | | name = | ||
| link = | | link = | ||
| scale = | |||
}} | }} | ||
--> | --> | ||
Line 20: | Line 21: | ||
@param name The name you want to appear in the table of contents. | @param name The name you want to appear in the table of contents. | ||
@param link The link you want the image to redirect to (normally same as within the text). | @param link The link you want the image to redirect to (normally same as within the text). | ||
@param scale Scaling-in value. | |||
@param desc The description you want to display when the user hovers over the link long enough. | @param desc The description you want to display when the user hovers over the link long enough. | ||
--> | --> | ||
Line 45: | Line 47: | ||
"required": true, | "required": true, | ||
"description": "The link you want the image to redirect to (normally same as within the text)." | "description": "The link you want the image to redirect to (normally same as within the text)." | ||
}, | |||
"scale": { | |||
"type": "string", | |||
"required": false, | |||
"description": "Scale-in the image to make sure it fills the entire card. Can have decimals. Expressed as a factor. Image will always be centred. Default: 1", | |||
"default": "1" | |||
}, | }, | ||
"desc": { | "desc": { |
Revision as of 21:48, 7 October 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
image | image | The image filename or URL, with extension (.jpg etc) | String | optional |
text | text | Any text you want to appear next to the image, takes wikilinks (within square brackets). | String | required |
name | name | The name you want to appear in the table of contents. | String | required |
link | link | The link you want the image to redirect to (normally same as within the text). | String | required |
scale | scale | Scale-in the image to make sure it fills the entire card. Can have decimals. Expressed as a factor. Image will always be centred. Default: 1
| String | optional |
desc | desc | The description you want to display when the user hovers over the link long enough. | String | optional |