Template:Attrib/doc
This is a documentation subpage for Template:Attrib. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis is a simple formatter template that adds a line return and simple text formatting: {{attrib | name of creator | license}}
If the license starts with "CC", the link to the relevant webpage will be calculated. The license field will ignore case and dashes, and if no number is specified, it'll be assumed to be version 4.0, e.g. {{attrib | Jane Smith |CC-BY}}
→
Jane Smith , CC-BY
If the link isn't specified, it will simply be returned as written, e.g. {{attrib | Jane Smith |public domain}}
→
Jane Smith , public domain
See also
edit