Difference between revisions of "Template:FS"
From DFM Wiki
EricThrift (talk | contribs) (Create template for DFM fileserver links) |
EricThrift (talk | contribs) (Provide "filename" as an alias for the first parameter.) Tag: 2017 source edit |
||
| (One intermediate revision by the same user not shown) | |||
| 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 5: | Line 5: | ||
"1": { | "1": { | ||
"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, | ||
| + | "aliases": [ | ||
| + | "filename" | ||
| + | ], | ||
| + | "type": "string" | ||
} | } | ||
}, | }, | ||
Latest revision as of 18: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 |

