Template:DocLink: Difference between revisions
From EPOD
m (Categorisation) |
EPOD>Anw m (Categorisation) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is a template to create a link to a PDF document export for a particular page. | [[Category:Templates|{{PAGENAME}}]] | ||
<templatedata> | |||
{ | |||
"description": "This is a template to create a link to a PDF document export for a particular page. \n\nThis is achieved with {{DocLink|MyPage}}", | |||
"params": { | |||
"1": { | |||
"label": "Page name", | |||
"type": "wiki-page-name", | |||
</noinclude><includeonly><span | "required": true, | ||
"description": "The name of the page that the document will be produced from. Can also be the name of a category by specifying the Category namespace e.g. Did You Know, or Category:Accounts" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude><includeonly><span class="apt-doclink">[{{fullurl:{{{1}}}}}?action=pdfbook&format=singlebook&notitle DOC]</span></includeonly> |
Revision as of 11:21, 17 August 2024
This is a template to create a link to a PDF document export for a particular page. This is achieved with {{DocLink|MyPage}}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The name of the page that the document will be produced from. Can also be the name of a category by specifying the Category namespace e.g. Did You Know, or Category:Accounts | Page name | required |