Template:Wflicence

From OpenStreetMap Wiki
Jump to navigation Jump to search

licence text missing

This template should only be used on file pages.

[Edit] [Purge] Template-info.svg Template documentation

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
typetype

indicates the type of the licence

Example
free
Stringsuggested
iconicon

displays logos or icons before the text (left-hand side for LTR languages)

Default
(empty)
Example
[[File:Example{{!}}alt=some file{{!}}50px]]
Unbalanced wikitextsuggested
texttext

Licence text or name of the licence

Default
licence text missing
Unbalanced wikitextrequired
edittextedittext

notes to signed-in users/editors

Unbalanced wikitextoptional
nocatnocat

insert anything to switch-off categorisation in the file namespace

Default
(empty)
Stringoptional
categoriescategories

categories and sort keys to be added if used in the file namespace

Example
[[Category:Images|example]]
Unbalanced wikitextoptional

Example

There are three general types of licenses indicated by the type parameter:

  • type = free

a free licence

This template should only be used on file pages.

used for free licences such as {{CC0}}
  • type = permitted

media using permitted licences

This template should only be used on file pages.

used for licences such as {{Bing image}}
  • type = problematic

a problematic licence

This template should only be used on file pages.

used for missing licences

See also