Jump to content
Discussions

Template:File/doc

From Undertale Wiki

This template is used across the File namespace for adding file descriptions, licensing information, categories and other important information regarding the uploaded files. This template automatically pulls all information it can from the file name. Please do not specify the parameters if they are already autofilled. (Exception from this is the description for screenshots.)

Template parameters

ParameterDescriptionTypeStatus
Common1

If the file is a screenshot, this is the equivalent of the description parameter. If the file is a battle, face, item or overworld sprite, this is the equivalent of the filename parameter. In short, this parameter is used as a shorthand for commonly-used parameters, if only one is commonly being specified to the file template.

Stringoptional
Descriptiondescription

Description of the file.

Example
A very cool file
Stringsuggested
Typetype

Comma-separated list of file types. Should only be specified if the type is not automatically added or if the file only has the miscellaneous.

Suggested values
screenshot location soundtrack item overworld battle attack map sprite face artwork tarot leitmotif music photograph cutcontent misc
Stringsuggested
Sourcesource

Source of the file

Example
''[[Undertale]]''
Stringsuggested
Authorauthor

Author of the file

Example
''[[Toby Fox]]''
Stringsuggested
Licensinglicense

License of the file

Suggested values
fairuse ccbysa pd self
Example
fairuse
Stringsuggested
Notesnotes

Additional notes regarding the file.

Stringoptional
Issuesissues

If this parameter is present, the file is added to the faulty images category, and the issues from this parameter are described on the page.

Example
has bad quality
Stringoptional
Filenamefilename

If the file is a sprite, this field can be used to specify the file's sprite name in game files. This, among other things, makes it easier to find the sprite in game files if it needs replacement.

Stringoptional

Sample Output

{{File
|description = Logo of ''[[Undertale]]''.
}}

gives...

DescriptionLogo of Undertale.
Type
  • Miscellaneous
SourceUndertale
AuthorToby Fox
LicensingThis file does not have information on its copyright status.

See Also

  • Module:File for the Lua module handling this template's logic
  • Module:File/data for data the Lua module pulls type and license information from