Template:License: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Modified the documentation.)
(Added some examples.)
Line 19: Line 19:


{{license/doc table}}
{{license/doc table}}
== Examples ==
=== Default ===
{{obr}}license{{cbr}}
{{license}}
=== GPLv2+ ===
{{obr}}license{{!}}GPLv2+{{cbr}}
{{license|GPLv2+}}
=== Unknown license ===
{{obr}}license{{!}}never-seen-before-open-source-license{{cbr}}
{{license|never-seen-before-open-source-license}}


}}
}}
[[Category:License templates]]
[[Category:License templates]]
</noinclude>
</noinclude>

Revision as of 18:48, 19 June 2016

GPLv2+

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

Goal

To be used to license files.

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+ GPLv2+
"CC BY-SA 3.0" Category:CC-BY-SA-3.0 GPLv2+
"CC BY-SA 4.0" Category:CC-BY-SA-4.0 GPLv2+
"CC BY-NC-SA 3.0" Category:CC-BY-NC-SA-3.0 GPLv2+
"CC BY-NC-SA 4.0" Category:CC-BY-NC-SA-4.0 GPLv2+
"CC BY-NC-ND 3.0" Category:CC-BY-NC-ND-3.0 GPLv2+
"CC BY-NC-ND 4.0" Category:CC-BY-NC-ND-4.0 GPLv2+

Examples

Default

{{license}}

GPLv2+

GPLv2+

{{license|GPLv2+}}

GPLv2+

Unknown license

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

GPLv2+