Navigation menu

Template:File Info: Difference between revisions

From Metroid Wiki
m (AlexBot2004 moved page User:AlexBot2004/File Info to Template:File Info)
mNo edit summary
Line 1: Line 1:
{{#if:{{{meta|}}}|{{Small Notice|This file was uploaded for use in the Metroid Wiki or Help namespaces, for use in the site skin, or for testing purposes.}}}}{{#if:{{{template|}}}|{{Small Notice|This file was uploaded for use with {{#ifeq:{{{template|}}}|yes|a template|the [[Template:{{{template|}}}|{{{template|}}}]] template}}.}}}}{{#if:{{{user|}}}|{{Small Notice|This file was uploaded by {{#ifeq:{{{personal|}}}|yes|a user|[[User:{{{personal|}}}|{{{personal|}}}]]}} for personal use.}}}}
{{#if:{{{meta|}}}|{{Small Notice|This file was uploaded for use in the Metroid Wiki or Help namespaces, for use in the site skin, or for testing purposes.}}}}{{#if:{{{template|}}}|{{Small Notice|This file was uploaded for use with {{#ifeq:{{{template|}}}|yes|a template|the [[Template:{{{template|}}}|{{{template|}}}]] template}}.}}}}{{#if:{{{personal|}}}|{{Small Notice|This file was uploaded by {{#ifeq:{{{personal|}}}|yes|a user|[[User:{{{personal|}}}|{{{personal|}}}]]}} for personal use.}}}}
{| style="{{round|20px}} border: 2px solid #6a567a; background: #422d48; width: 100%" cellpadding=3 cellspacing=3
{| style="{{round|20px}} border: 2px solid #6a567a; background: #422d48; width: 100%" cellpadding=3 cellspacing=3
|-
|-
Line 65: Line 65:
*<code>meta</code> — For images that are exclusively used either in the Metroid Wiki namespace, Help namespace, site skin, or for testing.
*<code>meta</code> — For images that are exclusively used either in the Metroid Wiki namespace, Help namespace, site skin, or for testing.
*<code>template</code> — For images that are exclusively used in templates. The template's name can be entered here and will be displayed in the notice; if <tt>yes</tt> is entered for this parameter, no template name will be displayed.
*<code>template</code> — For images that are exclusively used in templates. The template's name can be entered here and will be displayed in the notice; if <tt>yes</tt> is entered for this parameter, no template name will be displayed.
*<code>user</code> — For personal images. The uploader's username can be entered here and will be displayed in the notice; if <tt>yes</tt> is entered for this parameter, no username will be displayed.
*<code>personal</code> — For personal images. The uploader's username can be entered here and will be displayed in the notice; if <tt>yes</tt> is entered for this parameter, no username will be displayed.


===Example===
===Example===

Revision as of 17:28, 28 January 2023

File information
Description Please describe this file.
Source Please find and list this file's source.
This file is copyrighted.
This file is copyrighted.
This file is copyrighted. It is believed that its use here constitutes fair use, given that:
  • it is used in a non-commercial setting, and therefore is not being used to generate profit in this context.
  • its use here does not significantly impede the right of the copyright holder to sell the copyrighted material.
  • it is used in a largely unaltered state, where any editing has been done purely for cosmetic purposes.
  • the original content of the file has not been modified, and it is not a derivative work.

Documentation

Usage

This template is to contain information about files uploaded to the wiki and should be included on every file page.

{{File Info
|description = 
|game = 
|source = 
|edits = 
|original-name = 
|license = 
|meta = 
|template = 
|user = 
}}

Parameters

  • description — A description of the file; this parameter is required.
  • game — The game or other piece of media the file pertains to, if applicable. Anything defined in Template:Game-key can be put here.
  • source — Where the file was found by the uploader (not where it was originally created, unless it was created by the uploader); this parameter is required
  • edits — Any edits made by the uploader.
  • original-name — The original official file name for files that have them; for example, press images.
  • license — The type of file, which determines which copyright license is displayed. Options are screenshot, artwork, sprite, cover, logo, audio, model, and pd (public domain). This parameter is required; if left blank, the fair use license is displayed.

The game and license parameters also automatically categorize a file. For example, an image with game = Metroid Dread and license = screenshot will be automatically categorized under Category:Metroid Dread screenshots.

Notice parameters

The following parameters will produce a notice box above the file information box:

  • meta — For images that are exclusively used either in the Metroid Wiki namespace, Help namespace, site skin, or for testing.
  • template — For images that are exclusively used in templates. The template's name can be entered here and will be displayed in the notice; if yes is entered for this parameter, no template name will be displayed.
  • personal — For personal images. The uploader's username can be entered here and will be displayed in the notice; if yes is entered for this parameter, no username will be displayed.

Example

{{File Info
|description = Sprite of a [[Zoomer]] from ''[[Metroid (game)|Metroid]]''.
|game = M1
|source = FCEUX screenshots
|edits = Cropped to just sprite; animated from multiple frames
|license = sprite
}}
File information
Description Sprite of a Zoomer from Metroid.
This is a file pertaining to: Metroid
Source FCEUX screenshots
Edit(s) made: Cropped to just sprite; animated from multiple frames
This file is copyrighted.
This file is copyrighted.
This file is a sprite from a copyrighted video game. It is believed that its use here constitutes fair use, given that:
  • it is used in a non-commercial setting, and therefore is not being used to generate profit in this context.
  • its use here does not significantly impede the right of the copyright holder to sell the copyrighted material.
  • it is used in a largely unaltered state, where any editing has been done purely for cosmetic purposes.
  • the original content of the file has not been modified, and it is not a derivative work.