Template:Free: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(integrated a thing)
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|style="background-color:#ccffcc;border:2px outset #00bb00;width:500px;" align="center"
{{box
|<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|}}}''}}|4=text-align: center; width: 50%;}}<includeonly>[[Category:Free files]]</includeonly><noinclude>


'''Attribution:''' {{{2|}}}}}</center>
==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.
 
Articles with this template will automatically be categorized on [[:Category:Free files]].
 
==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.
|}
 
==Skeleton==
<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.}}
|}
|}
<includeonly>[[Category:Free files|{{PAGENAME}}]]</includeonly>
<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.
[[Category:Media templates]]
[[category:media templates|{{PAGENAME}}]]</noinclude>
[[Category:Free files| ]]
[[Category:Box templates]]</noinclude>

Latest revision as of 00:45, August 30, 2019

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.

Articles with this template will automatically be categorized on Category:Free files.

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.

Skeleton

{{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.