Template:GNU: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
mNo edit summary
imported>Caesar Schinas
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="width:100%; clear:both; margin:0.5em auto; background:#ef9421; border:2px solid #ef9421; -moz-border-radius:4px; -webkit-border-radius:4px;">
<includeonly>
<div style="float:left; padding: 1px 3px;">[[Image:Heckert_GNU_white.png|29px]]</div>
{{Licence box
<p style="line-height:33px; margin:0; padding:0 5px 0 40px; font-weight:bold; font-size:large;">{{PAGENAME}}, is licenced {{#if:{{{4|}}}|by [[{{{4}}}]]}} under the [http://www.gnu.org/licenses/{{lc:{{{1}}}}}-{{{2}}}.html GNU {{#switch:{{uc:{{{1}}}}}
| colour      = yellow
  | GPL  = General Public License
| icon        = Heckert_GNU_white.png
  | LGPL = Lesser General Public License
| icon-width = 29
  | AGPL = Affero General Public License
  | FDL = Free Documentation License
}} {{#if:{{{2|}}}|v{{{2}}} {{#if:{{{3|}}}| or later}} }}]</p>
<p style="margin:0; padding:5px 5px 5px 40px; font-size:smaller; line-height:1.7em; background:#e4eba0; -moz-border-radius:1px; -webkit-border-radius:1px;">
{{#switch:{{uc:{{{1}}}}}
|GPL|LGPL|AGPL = This program is free software: you can redistribute it and/or modify it under the terms of {{#if:{{{3|}}}||version {{{2}}} of}} the GNU {{#switch:{{uc:{{{1}}}}}| LGPL = Lesser | AGPL = Affero}} General Public License as published by the Free Software Foundation{{#if:{{{3|}}}|, either version {{{2}}} of the License, or (at your option) any later version}}.<br />
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


|FDL =  Permission is granted to copy, distribute and/or modify this document under the terms of{{#if:{{{3|}}}||version {{{2}}} of}} the GNU Free Documentation License{{#if:{{{3|}}}|, version {{{2}}} or any later version published by the Free Software Foundation}}; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
| title =
}}<br />
{{PAGENAME}} is licenced {{#if:{{{4|}}}|by [[{{{4}}}]]}} under the [http://www.gnu.org/licenses/{{lc:{{{1}}}}}{{#if:{{{3|}}}||-{{{2}}}}}.html GNU {{#switch:{{uc:{{{1}}}}}
[http://www.gnu.org/licenses/{{lc:{{{1}}}}}-{{{2}}}.html Read the licence] for full details.
| GPL  = General Public License
</p></div>{{incompatible}}</includeonly><noinclude>{{TlDoc}}[[Category:License tags]]</noinclude>
| LGPL = Lesser General Public License
| AGPL = Affero General Public License
| FDL  = Free Documentation License
}} {{#if:{{{2|}}}|v{{{2}}} {{#if:{{{3|}}}| or later}} }}]
 
| text =
{{#switch:{{uc:{{{1}}}}}
|GPL|LGPL|AGPL = This program is free software: you can redistribute it and/or modify it under the terms of {{#if:{{{3|}}}||version {{{2}}} of}} the GNU {{#switch:{{uc:{{{1}}}}}| LGPL = Lesser | AGPL = Affero}} General Public License as published by the Free Software Foundation{{#if:{{{3|}}}|, either version {{{2}}} of the License, or (at your option) any later version}}.<br />
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|FDL =  Permission is granted to copy, distribute and/or modify this document under the terms of{{#if:{{{3|}}}||version {{{2}}} of}} the GNU Free Documentation License{{#if:{{{3|}}}|, version {{{2}}} or any later version published by the Free Software Foundation}}; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
}}<br />
'''[http://www.gnu.org/licenses/{{lc:{{{1}}}}}{{#if:{{{3|}}}||-{{{2}}}}}.html Read the licence for full details]'''
}}
{{#ifeq:{{NAMESPACE}}|Image|[[Category:GNU-{{{1}}}]]}}  {{incompatible}}</includeonly><noinclude>{{TlDoc}}[[Category:License tags]]</noinclude>

Latest revision as of 10:25, 29 May 2009

This documentation is transcluded from Template:GNU/doc (edit | history)

Template for labelling media used under GNU licences.

Usage

The parameters are as follows: {{GNU|licence|version|laterversions|author}}

  1. Required — the name of the licence to be used. One of GPL, LGPL, AGPL, FDL.
  2. Required — the version of the licence which is to be used.
  3. Optional — Should later versions be allowed? Any value for yes (using + is recommended), blank for no.
  4. Optional — the name of the owner of the media.

Examples

{{GNU|GPL|3.0|+}}

Heckert GNU white.png

GNU is licenced under the GNU General Public License v3.0 or later

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3.0 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Read the licence for full details

Attention niels epting.png

Notice of CC-by-sa incompatibility

Text on the Citizendium is licensed under the Creative Commons Attribution ShareAlike licence.
This media may not be used under those or closely similar terms without separate permission of the copyright holder, or the user's own fair use determination.


{{GNU|FDL|1.3}}

Heckert GNU white.png

GNU is licenced under the GNU Free Documentation License v1.3

Permission is granted to copy, distribute and/or modify this document under the terms ofversion 1.3 of the GNU Free Documentation License; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Read the licence for full details

Attention niels epting.png

Notice of CC-by-sa incompatibility

Text on the Citizendium is licensed under the Creative Commons Attribution ShareAlike licence.
This media may not be used under those or closely similar terms without separate permission of the copyright holder, or the user's own fair use determination.


{{GNU|AGPL|3.0||Joe Bloggs}}

Heckert GNU white.png

GNU is licenced by Joe Bloggs under the GNU Affero General Public License v3.0

This program is free software: you can redistribute it and/or modify it under the terms of version 3.0 of the GNU Affero General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Read the licence for full details

Attention niels epting.png

Notice of CC-by-sa incompatibility

Text on the Citizendium is licensed under the Creative Commons Attribution ShareAlike licence.
This media may not be used under those or closely similar terms without separate permission of the copyright holder, or the user's own fair use determination.