Difference between revisions of "Template:Wikimedia file"
From Kerbal Space Program Wiki
(+support for different licenses;) |
m (*renamed Parameter Table to Parameter table;) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
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>}} |
}} | }} | ||
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.