Template:File/doc: Difference between revisions
No edit summary |
new parameter :O |
||
| Line 1: | Line 1: | ||
{ | <templatedata> | ||
{ | |||
"params": { | |||
"summary": { | |||
"label": "Summary", | |||
"description": "A short summary of the file's contents.", | |||
"type": "string" | |||
}, | |||
"source": { | |||
"label": "Source", | |||
"description": "Where you got the file from. If it's from a website or social media post, include a link to it. If it's an asset rip, specify the platform and patch. If it's a screenshot, specify who took it (if it was taken by someone other than you).", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"source file name": { | |||
"label": "Source file name", | |||
"description": "The original file name of the source. Does not need to include the full file path, just the file itself. If the file was converted from a non-standard format (i.e. Flash sprites or jpngs), you can leave the extension out. This does not need to be specified if the original image is a non-official screenshot or the original name is clearly in the current file name.", | |||
"type": "string" | |||
}, | |||
"edits": { | |||
"label": "Edits", | |||
"description": "If the file has been edited in any way, it must be specified here. This includes background removal, optimization, and cropping.", | |||
"type": "string" | |||
}, | |||
"license": { | |||
"label": "License", | |||
"description": "The copyright licensing of the image. If not specified, defaults to fair use. If the image is not owned by Ninja Kiwi, then a different license must be specified.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"CC0", | |||
"CC-BY-NC-SA" | |||
] | |||
}, | |||
"artist": { | |||
"label": "Artist", | |||
"description": "For artwork, use this if the creator is known (like if the creator uploaded it to ArtStation or something).", | |||
"type": "string" | |||
} | |||
}, | |||
"format": "block", | |||
"description": "Table for formatting information about files uploaded through Special:Upload.", | |||
"paramOrder": [ | |||
"summary", | |||
"artist", | |||
"source", | |||
"source file name", | |||
"edits", | |||
"license" | |||
] | |||
} | |||
</templatedata><includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | |||
Revision as of 00:00, 19 April 2025
Table for formatting information about files uploaded through Special:Upload.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Summary | summary | A short summary of the file's contents. | String | optional |
| Artist | artist | For artwork, use this if the creator is known (like if the creator uploaded it to ArtStation or something). | String | optional |
| Source | source | Where you got the file from. If it's from a website or social media post, include a link to it. If it's an asset rip, specify the platform and patch. If it's a screenshot, specify who took it (if it was taken by someone other than you). | String | required |
| Source file name | source file name | The original file name of the source. Does not need to include the full file path, just the file itself. If the file was converted from a non-standard format (i.e. Flash sprites or jpngs), you can leave the extension out. This does not need to be specified if the original image is a non-official screenshot or the original name is clearly in the current file name. | String | optional |
| Edits | edits | If the file has been edited in any way, it must be specified here. This includes background removal, optimization, and cropping. | String | optional |
| License | license | The copyright licensing of the image. If not specified, defaults to fair use. If the image is not owned by Ninja Kiwi, then a different license must be specified.
| String | optional |