Template:License/doc

From [N8]
Revision as of 19:52, 22 January 2021 by Banri (talk | contribs) (Created page with "{{Documentation}} This is the parent template for file licenses. ==Usage== <pre>{{License |type = type |typeid = ID to add to the wrapping HTML element (optional) |subject =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:License.
It contains usage information, categories, and other content that is not part of the original template page.

This is the parent template for file licenses.

Usage

{{License
|type = type
|typeid = ID to add to the wrapping HTML element (optional)
|subject = subject
|datatype = create a "data-<datatype>" HTML element attribute (optional)
|datavalue = value to assign to the "data-<datatype>" attribute (optional)
}}

Typically subject will default to Unknown or link to the subject, but the implementation is left to the individual template to alter as required.