Template:DocLink: Difference between revisions

From EPOD
(Change style)
m (Categorisation)
Line 7: Line 7:
Example:
Example:
{{DocLink|Main Page}}
{{DocLink|Main Page}}
 
[[Category:Templates]]
</noinclude><includeonly><span style="align-items: center;appearance: none;background-color: #fff;border-radius: 24px;border-style: none;box-sizing: border-box;color: #3c4043;cursor: pointer;display: inline-flex;fill: currentcolor;font-family: &quot;Google Sans&quot;, Roboto, Arial, sans-serif;font-weight: 500;height: 1.2em;justify-content: center;letter-spacing: .25px;line-height: normal;max-width: 100%;overflow: visible;padding: 0.1em 0.5em;position: relative;text-align: center;transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;width: auto;z-index: 0;box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;">[{{fullurl:{{{1}}}}}?action=pdfbook&amp;format=single&amp;notitle DOC]</span></includeonly>
</noinclude><includeonly><span style="align-items: center;appearance: none;background-color: #fff;border-radius: 24px;border-style: none;box-sizing: border-box;color: #3c4043;cursor: pointer;display: inline-flex;fill: currentcolor;font-family: &quot;Google Sans&quot;, Roboto, Arial, sans-serif;font-weight: 500;height: 1.2em;justify-content: center;letter-spacing: .25px;line-height: normal;max-width: 100%;overflow: visible;padding: 0.1em 0.5em;position: relative;text-align: center;transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;width: auto;z-index: 0;box-shadow: rgba(60, 64, 67, .3) 0 1px 3px 0, rgba(60, 64, 67, .15) 0 4px 8px 3px;">[{{fullurl:{{{1}}}}}?action=pdfbook&amp;format=single&amp;notitle DOC]</span></includeonly>

Revision as of 17:06, 6 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}}

Example: DOC