Template:Free: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
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"
|<center>''This file is {{#if:{{{1|}}}|distributed under the '''{{{1|}}}''' license|a free-use file}}.''{{#if:{{{2|}}}|
|''This file is {{#if:{{{1|}}}|distributed under the '''{{{1|}}}''' license|a free-use file}}.''{{#if:{{{2|}}}|<br>
 
'''''Attribution:''' {{{2|}}}''}}
'''Attribution:''' {{{2|}}}}}</center>
|}
|}
<includeonly>[[Category:Free files|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Free files|{{PAGENAME}}]]</includeonly>
<noinclude>
<noinclude>
==Use==
''<nowiki>{{free|license (optional)|attribution details}}</nowiki>''


Example licenses to use are described at [[:Category:Free files]]. Replace "attribution details" with information about the source for licenses that require it.
==Info==
[[category:media templates|{{PAGENAME}}]]</noinclude>
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]}}
This file is distributed under the CC-Attribution license.
{{free|[http://creativecommons.org/licenses/by/2.5/ CC-Attribution]|
This file can be shared or changed, and must be attributed to the creator.}}
This file is distributed under the CC-Attribution license.

Attribution: This file can be shared or changed, and rights must be attributed to the creator.