Template:DocLink: Difference between revisions

From CTLTMS
m (Categorisation of document pages)
 
m (1 revision imported)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{fullurl:{{{1}}}}}?action=pdfbook&format=single&notitle DOC
<noinclude>
[[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",
"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&amp;format=singlebook&amp;notitle DOC]</span></includeonly>

Latest revision as of 12:05, 21 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}}

Template parameters

ParameterDescriptionTypeStatus
Page name1

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 namerequired