W3c/doc
From Joomla! Documentation
< Template:W3c
This is a documentation subpage for Template:W3c.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:W3c.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:W3c.
This template makes it easy to give attribution to W3C for their pass-through license of documentation.
Functions/Features[edit]
Outputs the required attribution and link back to W3C website.
Usage[edit]
Use:
{{w3c|2016|https://www.w3.org/WAI/WCAG20/glance/|WCAG 2 at a Glance}}
Will output:
Additional Licensing
Copyright © 2016 W3C ® (MIT, ERCIM, Keio, Beihang). This software or document includes material copied from or derived from WCAG 2 at a Glance. http://www.w3.org/Consortium/Legal/2015/doc-license
Use:
{{w3c|copyright=2016|link=https://www.w3.org/WAI/WCAG20/glance/|title=WCAG 2 at a Glance}} or {{w3c |copyright=2016 |link=https://www.w3.org/WAI/WCAG20/glance/ |title=WCAG 2 at a Glance }}
Will output:
Additional Licensing
Copyright © 2016 W3C ® (MIT, ERCIM, Keio, Beihang). This software or document includes material copied from or derived from WCAG 2 at a Glance. http://www.w3.org/Consortium/Legal/2015/doc-license
Parameters[edit]
Parameter | Parameter description | req./opt. |
---|---|---|
{{{1}}} or {{{copyright}}} | Year of copyright eg. 2016 | required |
{{{2}}} or {{{link}}} | URL to the page of W3C document | required |
{{{3}}} or {{{title}}} | Title of the page you are linking to at W3C | required |
Known Issues[edit]
You must include all three parameters!