Template:Wflicence
↑ This template should only be used on file pages.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
The Website flex licence box template is a meta template to style media licence templates.
Notes
It is based on the style of the OSM home page. It uses CSS flexboxes to style the content.
Syntax
{{Wflicence | type = | icon = | text = | edittext = | nocat = {{{nocat|}}} | categories = }}
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
type | type | indicates the type of the licence
| String | suggested |
icon | icon | displays logos or icons before the text (left-hand side for LTR languages)
| Unbalanced wikitext | suggested |
text | text | Licence text or name of the licence
| Unbalanced wikitext | required |
edittext | edittext | notes to signed-in users/editors | Unbalanced wikitext | optional |
nocat | nocat | insert anything to switch-off categorisation in the file namespace
| String | optional |
categories | categories | categories and sort keys to be added if used in the file namespace
| Unbalanced wikitext | optional |
Example
There are three general types of licenses indicated by the type
parameter:
- type = free
↑ This template should only be used on file pages.
- used for free licences such as {{CC0}}
- type = permitted
↑ This template should only be used on file pages.
- used for licences such as {{Bing image}}
- type = problematic
↑ This template should only be used on file pages.
- used for missing licences
See also
- {{Wfmessage}}