Difference between revisions of "Template:Print"

From DFM Wiki
(Created page with "<span class="plainlinks">[https://driedfishmatters.org/cgi-bin/wiki2pdf.py?page={{urlencode:{{{pagename|{{FULLPAGENAME}}}}}|WIKI}}&header={{{header|}}} <span class="mw-ui-butt...")
 
Line 1: Line 1:
<span class="plainlinks">[https://driedfishmatters.org/cgi-bin/wiki2pdf.py?page={{urlencode:{{{pagename|{{FULLPAGENAME}}}}}|WIKI}}&header={{{header|}}} <span class="mw-ui-button mw-ui-progressive" role="button">Print view </span>]</span>
+
<span class="plainlinks">[https://driedfishmatters.org/cgi-bin/wiki2pdf.py?page={{urlencode:{{{pagename|{{FULLPAGENAME}}}}}|WIKI}}&header={{{header|}}} <span class="mw-ui-button mw-ui-progressive" role="button">{{{text|Print view}}}</span>]</span>
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>
Line 14: Line 14:
 
"description": "Text to include as a header on each page of the printable output.",
 
"description": "Text to include as a header on each page of the printable output.",
 
"example": "DRAFT"
 
"example": "DRAFT"
 +
},
 +
"text": {
 +
"label": "Button text",
 +
"default": "Print view"
 
}
 
}
 
},
 
},

Revision as of 12:56, 16 March 2021

Print view

Button providing external print view for an arbitrary wiki page.

Template parameters

ParameterDescriptionTypeStatus
Page namepagename

The name of the page to display in print view

Example
Main Page
Unknownrequired
Headerheader

Text to include as a header on each page of the printable output.

Example
DRAFT
Unknownoptional
Button texttext

no description

Default
Print view
Unknownoptional