Difference between revisions of "Template:Print"
From DFM Wiki
| EricThrift (talk | contribs)  (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...") | EricThrift (talk | contribs)  | ||
| 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 18:56, 16 March 2021
Button providing external print view for an arbitrary wiki page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | pagename | The name of the page to display in print view 
 | Unknown | required | 
| Header | header | Text to include as a header on each page of the printable output. 
 | Unknown | optional | 
| Button text | text | no description 
 | Unknown | optional | 



