Template:Pdf
From WikiEducator
[[Media:{{{1}}}|{{{2}}}]]
Usage
- First upload your pdf file using [[media:filename.pdf]]
- The pdf template caters for two parameters:
- first the file name, eg "Gender_Indicators_Schools.pdf" and
- the "pipe" -- that is the name of the link that should show to the user.
Example
The following syntax
{{pdf|Gender_Indicators_Schools.pdf|Gender indicators for schools}} Will display as:
<templatedata> {
"description": "Create a local link to a PDF file with distinctive icon", "params": { "1": { "label": "Filename", "type": "line", "required": true, "description": "Filename on WikiEducator (without Media: prefix)" }, "2": { "label": "Text", "type": "line", "required": true, "description": "Descriptive link text" } }
} </templatedata>