More actions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
===Template Data=== | ===Template Data=== | ||
<templatedata>{ | <templatedata>{ | ||
"description": " | "description": "Creates a download button for the given file, assuming the file is stored at fswiki.xpmodder.com/externalFiles", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
Line 16: | Line 16: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"class": { | |||
"description": "Optional css class to apply to button", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1", | ||
"class" | |||
] | ] | ||
}</templatedata> | }</templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 14:12, 25 January 2025
Test:
Template Data
Creates a download button for the given file, assuming the file is stored at fswiki.xpmodder.com/externalFiles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Filename | 1 | Name of the file to download including file ending | String | required |
class | class | Optional css class to apply to button | String | optional |