Difference between revisions of "Template:Download"
From AYSO Wiki
Jeffbailey (talk | contribs) m (Add Templatedata to Download Template.) |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | This is a Template for embedding PDFs. | ||
+ | |||
+ | <templatedata> | ||
+ | { | ||
+ | "description": "Embedded a PDF", | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Filename or Page name to link to", | ||
+ | "type": "string", | ||
+ | "required": true, | ||
+ | "description": "Link to PDF" | ||
+ | }, | ||
+ | "2": { | ||
+ | "label": "Link Text", | ||
+ | "type": "string", | ||
+ | "required": true, | ||
+ | "description": "Text for Link to PDF" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude><includeonly> | ||
[[File:Download-icon-green.svg|50x50px|link={{{1|Main Page}}}]] {{#if:{{{external_link|}}}|[{{{1|Main Page}}} <big><big>Download {{{2|}}}</big></big>]|[[{{{1|Main Page}}}|<big><big>Download {{{2|}}}</big></big>]]}} | [[File:Download-icon-green.svg|50x50px|link={{{1|Main Page}}}]] {{#if:{{{external_link|}}}|[{{{1|Main Page}}} <big><big>Download {{{2|}}}</big></big>]|[[{{{1|Main Page}}}|<big><big>Download {{{2|}}}</big></big>]]}} | ||
+ | </includeonly> |
Latest revision as of 17:34, 28 March 2024
This is a Template for embedding PDFs.
Embedded a PDF
Parameter | Description | Type | Status | |
---|---|---|---|---|
Filename or Page name to link to | 1 | Link to PDF | String | required |
Link Text | 2 | Text for Link to PDF | String | required |