Difference between revisions of "Template:Wikimedia file"
From Kerbal Space Program Wiki
(+author;) |
m (*renamed Parameter Table to Parameter table;) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{{description}}} | {{{description}}} | ||
− | Source: [[{{{project|commons}}}:{{{original|{{ | + | Source: [[{{{project|commons}}}:{{{original|{{FULLPAGENAME}}}}}|Wikimedia Commons]] by {{{author|[[{{{project|commons}}}:User:{{{user}}}|{{{full user|{{{user}}}}}}]]}}} |
− | License: {{{license|[http://creativecommons.org/licenses/by-sa/3.0/deed.en CC-BY-SA]}}}<includeonly>[[Category:Wikimedia files]]</includeonly><noinclude> | + | License: {{#switch: {{{license|BY-SA}}} |
+ | |BY-SA=[http://creativecommons.org/licenses/by-sa/3.0/deed.en CC-BY-SA] | ||
+ | |PD=[[w:Public domain|Public domain]] | ||
+ | |#default={{{license}}}}}<includeonly>[[Category:Wikimedia files]]</includeonly><noinclude> | ||
---- | ---- | ||
Automatically adds the file to [[:Category:Wikimedia files]]. | Automatically adds the file to [[:Category:Wikimedia files]]. | ||
− | {{Parameter | + | {{Parameter table|name=text|parameters= |
− | {{Parameter | + | {{Parameter row|description|Description of the text; recommended to copy the description from the original image}} |
− | {{Parameter | + | {{Parameter row|user|Original uploading author, copied from the description of the image.}} |
− | {{Parameter | + | {{Parameter row|author|Original uploading author without any wikisyntax by default. Alternative of user.}} |
− | {{Parameter | + | {{Parameter row|project|The Wikimedia project. Needs to be supported by an [[Special:Interwiki|interwiki link]], for example <tt>w:de</tt> would redirect to the German Wikipedia.|<tt>commons</tt> ([[commons:Main Page|Wikimedia Commons]])}} |
− | {{Parameter | + | {{Parameter row|original|Complete original file name.|<nowiki>{{FULLPAGENAME}}</nowiki>}} |
− | {{Parameter | + | {{Parameter row|full user|Alternative user name which will be displayed.|{{{user}}}}} |
− | {{Parameter | + | {{Parameter row|license|The license of the original file.|<tt>BY-SA</tt>}} |
}} | }} | ||
+ | |||
+ | It supports the following texts for the license: | ||
+ | * <tt>BY-SA</tt> (default): [http://creativecommons.org/licenses/by-sa/3.0/deed.en CC-BY-SA] | ||
+ | * <tt>PD</tt>: [[w:Public domain|Public domain]] | ||
+ | If the license is not listed it shows the value directly. | ||
+ | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 12:15, 19 December 2014
{{{description}}}
Source: Wikimedia Commons by [[commons:User:{{{user}}}|{{{user}}}]]
License: CC-BY-SA
Automatically adds the file to Category:Wikimedia files.
Name | Optional | Description | Default |
---|---|---|---|
description | No | Description of the text; recommended to copy the description from the original image | |
user | No | Original uploading author, copied from the description of the image. | |
author | No | Original uploading author without any wikisyntax by default. Alternative of user. | |
project | Yes | The Wikimedia project. Needs to be supported by an interwiki link, for example w:de would redirect to the German Wikipedia. | commons (Wikimedia Commons) |
original | Yes | Complete original file name. | {{FULLPAGENAME}} |
full user | Yes | Alternative user name which will be displayed. | {{{user}}} |
license | Yes | The license of the original file. | BY-SA |
It supports the following texts for the license:
- BY-SA (default): CC-BY-SA
- PD: Public domain
If the license is not listed it shows the value directly.