Template:License

From FlightGear wiki
Revision as of 20:27, 7 August 2016 by Bugman (talk | contribs) (Automatic category addition.)
Jump to navigation Jump to search

GPLv2+

The following template description is not displayed when the template is inserted in an article.

Goal

To be used to license files. This will automatically append the license category to the page for all recognised licenses.

The template automatically sets the following categories: Category:GPL,

Usage

{{license
| type
}}
type
The name of the license.

License types

Value Linked category Text/graphic
default Category:GPL GPLv2+
"GPLv2+" Category:GPL GPLv2+
"GPLv3+" Category:GPLv3+ GPLv3+
"CC BY-SA 3.0" Category:CC-BY-SA-3.0 CC BY-SA 3.0
"CC BY-SA 4.0" Category:CC-BY-SA-4.0 CC BY-SA 4.0
"CC BY-NC-SA 3.0" Category:CC-BY-NC-SA-3.0 CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-sa.png 3.0
"CC BY-NC-SA 4.0" Category:CC-BY-NC-SA-4.0 CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-sa.png 4.0
"CC BY-NC-ND 3.0" Category:CC-BY-NC-ND-3.0 CC BY-NC-ND 3.0
"CC BY-NC-ND 4.0" Category:CC-BY-NC-ND-4.0 CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-nd white.png 4.0

Examples

Default

{{license}}

GPLv2+

GPLv2+

{{license|GPLv2+}}

GPLv2+

GPLv3+

{{license|GPLv3+}}

GPLv3+

Creative Commons

CC BY-NC-SA

Version 3.0
{{license|CC BY-NC-SA 3.0}}

CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-sa.png 3.0

Version 4.0
{{license|CC BY-NC-SA 4.0}}

CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-sa.png 4.0

CC BY-NC-ND 4.0

{{license|CC BY-NC-ND 4.0}}

CC some rights reserved.png Cc-by new white.png Cc-nc.png Cc-nd white.png 4.0

Unknown license

{{license|never-seen-before-open-source-license}}

never-seen-before-open-source-license