Template:File/doc: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
No edit summary
new parameter :O
Line 1: Line 1:
{|class="wikitable"
<templatedata>
!<code>summary</code>
{
|A short summary of the file's contents.
"params": {
|-
"summary": {
!<code>source</code>
"label": "Summary",
|Where you got the file from. This is '''required'''.
"description": "A short summary of the file's contents.",
*If it's from a website or social media post, include a link to it.
"type": "string"
*If it's an asset rip, specify the platform and patch (i.e. <code>''Bloons TD 6'' v43.0 Windows</code>).
},
*If it's a screenshot, specify who took it (i.e. your username or the username of the person who took it).
"source": {
|-
"label": "Source",
!<code>source file name</code>
"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).",
|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 screenshot or the original name is clearly in the current file name.
"type": "string",
|-
"required": true
!<code>edits</code>
},
|If the file has been edited in any way, it '''must''' be specified here. This includes background removal, optimization, and cropping.
"source file name": {
|-
"label": "Source file name",
!<code>License</code>
"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.",
|The copyright licensing of the image. If not specified, defaults to <code>NK</code>. If the image is ''not'' owned by Ninja Kiwi, then a different license must be specified.
"type": "string"
*'''NK''': File is taken from a Ninja Kiwi game, Ninja Kiwi-owned website, Ninja Kiwi-owned social media page, etc. Applies to screenshots, ripped assets, promotional images, etc.
},
|}
"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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Summarysummary

A short summary of the file's contents.

Stringoptional
Artistartist

For artwork, use this if the creator is known (like if the creator uploaded it to ArtStation or something).

Stringoptional
Sourcesource

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

Stringrequired
Source file namesource 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.

Stringoptional
Editsedits

If the file has been edited in any way, it must be specified here. This includes background removal, optimization, and cropping.

Stringoptional
Licenselicense

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.

Suggested values
CC0 CC-BY-NC-SA
Stringoptional