Template:File Info

Revision as of 00:47, 28 October 2024 by Mistiryshak (talk | contribs) (Created page with "<includeonly>{{#invoke:Fileinfo|Main|summary={{{summary|}}} |type={{{type|}}} |source={{{source|}}} |media={{{media|}}} |mediatype={{{mediatype|game}}} |licensing={{{licensing|}}} |subject={{{subject|}}} |trademark={{{trademark|}}} |version={{{version|}}} |artists={{{artists|}}} |reused={{{reused|}}} }}</includeonly><noinclude>{{Documentation}} Category:Licensing Templates</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Licensing table used for file pages.

Usage

Optional unused parameters will not be displayed.

Parameter Description Function
summary A summary of the file's contents. Optional
type The type of file; defines the category that the file will be placed in. Available file type options are:
  • Artwork - Official artwork.
  • Illustration - Page illustrations from a book or manga.
  • Render - Officially rendered models used in place of artwork.
  • Model - Images of models.
  • Logo - Logos of media.
  • Cover - Covers of media; also includes images used to represent digital media, such as DLC.
  • Map - Maps taken from games.
  • Graphic - Non-pixel images taken from games. Includes character portraits.
  • Sprite - Sprite images taken from games. Applies nearest neighbor to file.
  • Screenshot - Media screenshots.
  • Card - Playing or trading cards.
  • Icon - Graphic icons, including interface icons taken from games.
  • Crop - Cropped screenshots.
  • Merchandise - A demonstrative picture of a real-world product, including photos and released promotional images.
  • Photo - Real-world photographs.
  • Audio - Audio files, largely music.
  • Wiki - Images for use specifically by the wiki.
  • Flag - Country flags.
  • Other - Images that do not fit into the above categories.
Required
source The source of the file. Required
artists A comma-separated list of artists (lineartists, colorists, sketch artists, etc.) who contributed to a piece of artwork. OptionalRequired for artwork and illustrations
media The media the file is associated with. Use the media's standard abbreviation. Optional
mediatype The kind of media the file is associated with; i.e. Novel, TV, Game. Defaults to game and can be omitted if the media in question is a video game. OptionalRequired for non-games
version The video game platform that the media is associated with. Use the platform's standard abbreviation. Optional
reused Media of the same type where the file is re-used. Optional
subject The subject(s) of the file. Use only when not covered in the summary. Optional
trademark The trademark(s) which the file may contain. Optional
licensing The copyright license used for the file. Required

Artist Field

Artwork and illustrations require artist attribution. When filling in the artists field, the input should be formatted like so: artists=Kazuma Kaneko, Shigenori Soejima, Masayuki Doi. If the name is misspelled, then it will create an error; however, alternate spellings or pseudonyms with an existing redirect will not. For example, Kazuma Kaneko's legal name, Kazuhiro Kaneko, will still produce the output Kazuma Kaneko.

For artwork and illustrations that have a completely unknown author, the artists field should be filled in with Unknown. This will add the category Artwork with unknown authorship to the file. Otherwise, the listing of an artist is required for these kinds of files. If there is no input whatsoever for a file that requires an artist, the category Files without artist attribution will be added to the file.

Autocategories

Fileinfo has an auto-categorization feature based on the input provided to the template. This allows for easy categorization of files and makes it easier to find specific kinds of images within the thousands of files on Megami Tensei Wiki. In most cases, there is no need to worry about autocategories unless an unintended output is produced. In such cases, please inform a member of staff.

The version field is only used when there are significant enough graphical differences between two releases of a video game, such as the difference between the Super Famicom and Mega-CD releases of Shin Megami Tensei. When adding the file's version, input the relevant platform abbreviation, for example: version=PS2.

The reused= field is for when a file is reused for another title of the same media type. For example, if a sprite is used in both Persona 2: Innocent Sin and Persona 2: Eternal Punishment, then P2EP would be entered into the reused= field in order to apply relevant autocategories, with priority going to Innocent Sin because it was the first usage of the sprite. There is no need to specify any additional information, as this field is solely to ensure that files are associated with relevant games. This list can also be comma-separated to support multiple titles, i.e. reused=P2EP, P2BIM will add both Eternal Punishment and Persona 2 Batsu: Infinity Mask to the categories.

Autocategory Suppression

There may be cases where autocategories should be suppressed; either because the category may only contain a single file or because there are not enough files relevant to a specific version of the game to warrant separation. Whatever the case, there are category suppression parameters that can be used. Their usage is shown below.

Parameter Supresses Example Output
None None [[Category:Persona 3 Files]] [[Category:Persona 3 Screenshots]] [[Category:Persona 3 PlayStation 2 Files]] [[Category:Persona 3 Playstation 2 Screenshots]]
nocat Media category [[Category:Persona 3 Screenshots]] [[Category:Persona 3 PlayStation 2 Files]] [[Category:Persona 3 Playstation 2 Screenshots]]
nocattype File type category [[Category:Persona 3 Files]] [[Category:Persona 3 PlayStation 2 Files]] [[Category:Persona 3 Playstation 2 Screenshots]]
noplat Platform category [[Category:Persona 3 Files]] [[Category:Persona 3 Screenshots]] [[Category:Persona 3 Playstation 2 Screenshots]]
noplattype Platform + file type category [[Category:Persona 3 Files]] [[Category:Persona 3 Screenshots]] [[Category:Persona 3 PlayStation 2 Files]]

These suppression parameters can be combined as needed.

Code

{{File Info
|summary=
|type=
|source=
|artists=
|media=
|mediatype=
|version=
|reused=
|licensing=
|subject=
|trademark=
}}