Template:Download: Difference between revisions
From AYSO Wiki
Content deleted Content added
No edit summary |
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> |
|||
Revision as of 09: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 |

