Difference between revisions of "Template:FS"
From DFM Wiki
EricThrift (talk | contribs) (Make parameter required) |
EricThrift (talk | contribs) (Provide "filename" as an alias for the first parameter.) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | <includeonly><span class="plainlinks">[https://driedfishmatters.org/files/{{{1}}} {{{1}}}]</span></includeonly><noinclude> | + | <includeonly><span class="plainlinks">[https://driedfishmatters.org/files/{{{filename|{{{1}}} }}} {{{filename|{{{1}}} }}}]</span></includeonly><noinclude> |
<templatedata> | <templatedata> | ||
{ | { | ||
Line 6: | Line 6: | ||
"label": "filename", | "label": "filename", | ||
"description": "The name of the file, including any path elements below the root", | "description": "The name of the file, including any path elements below the root", | ||
− | "required": true | + | "required": true, |
+ | "aliases": [ | ||
+ | "filename" | ||
+ | ], | ||
+ | "type": "string" | ||
} | } | ||
}, | }, |
Latest revision as of 12:00, 9 November 2021
Template for creating links on DFM fileserver
Parameter | Description | Type | Status | |
---|---|---|---|---|
filename | 1 filename | The name of the file, including any path elements below the root | String | required |