Template:Free: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) m (8 revisions) |
(New documentation style.) |
||
Line 1: | Line 1: | ||
{|style="background-color:#ccffcc;border:2px outset #00bb00;width:500px;" align="center" | {|style="background-color:#ccffcc;border:2px outset #00bb00;width:500px; text-align: center;" align="center" | ||
| | |''This file is {{#if:{{{1|}}}|distributed under the '''{{{1|}}}''' license|a free-use file}}.''{{#if:{{{2|}}}|<br> | ||
'''''Attribution:''' {{{2|}}}''}} | |||
'''Attribution:''' {{{2|}}}}} | |||
|} | |} | ||
<includeonly>[[Category:Free files|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Free files|{{PAGENAME}}]]</includeonly> | ||
<noinclude> | <noinclude> | ||
Example licenses to use are described at [[:Category:Free files]]. | ==Info== | ||
[[ | This is a media licensing template. Use this to tag a file under free-use. Example licenses to use are described at [[:Category:Free files]]. You may also provide information about the source for licenses that require it. | ||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! 1 | |||
| No || || License || Name the license here, if any. | |||
|- | |||
! 2 | |||
| No || || Attribution details || Further information on the license. | |||
|} | |||
==Template== | |||
<pre> | |||
{{free|<license>|<details>}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| <pre>{{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]}}</pre> | |||
| {{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]}} | |||
|- | |||
| <pre>{{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]| | |||
This file can be shared or changed, and must be attributed to the creator.}}</pre> | |||
| {{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]|This file can be shared or changed, and rights must be attributed to the creator.}} | |||
|} | |||
[[category:media templates]]</noinclude> |
Revision as of 04:05, October 17, 2014
This file is a free-use file. |
Info
This is a media licensing template. Use this to tag a file under free-use. Example licenses to use are described at Category:Free files. You may also provide information about the source for licenses that require it.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | No | License | Name the license here, if any. | |
2 | No | Attribution details | Further information on the license. |
Template
{{free|<license>|<details>}}
Examples
Code | Result | |
---|---|---|
{{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]}} |
| |
{{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]| This file can be shared or changed, and must be attributed to the creator.}} |
|