Navigation menu

Template:File Info/Documentation: Difference between revisions

From Metroid Wiki
m (re-subst template with updated markup)
m (cleanu)
 
Line 42: Line 42:
</pre>
</pre>


{{#if:|{{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.[[Category:Metroid Wiki images]]}}}}{{#if:|{{Small Notice|This file was uploaded for use with {{#ifeq:|yes|a template|the [[Template:|Template:]] template}}.[[Category:Template images]]}}}}{{#if:|{{Small Notice|This file was uploaded by {{#ifeq:|yes|a user|[[User:|User:]]}} for personal use.[[Category:Personal images]]}}}}
{| class="wikitable"
{| class="wikitable"
! colspan=2 | <big>File information</big>
! colspan=2 | <big>File information</big>
Line 49: Line 48:
| Sprite of a [[Zoomer]] from ''[[Metroid (game)|Metroid]]''.
| Sprite of a [[Zoomer]] from ''[[Metroid (game)|Metroid]]''.
|-
|-
{{#if: M1|
| This is a file pertaining to:
{{!}} This is a file pertaining to:
| ''[[Metroid (game)]]''
{{!}} ''[[{{Game-key|M1}}]]''
}}
|-
|-
| Source
| Source
| FCEUX screenshots
| FCEUX screenshots
|-
|-
{{#if: Cropped to just sprite; animated from multiple frames|
| Edit(s) made:
{{!}} Edit(s) made:
| Cropped to just sprite; animated from multiple frames
{{!}} Cropped to just sprite; animated from multiple frames
}}
|-
|-
{{#if: |
| [[File:Copyright.png|center|100px|This file is copyrighted.]]
{{!}} Original filename:
| '''This file is a sprite from a copyrighted video game''' It is believed that its use here constitutes fair use, given that:
{{!}} <tt></tt>
}}
|-
| {{#ifeq:sprite|pd|[[File:Public Domain.svg|center|100px|This file is in the public domain.]]|[[File:Copyright.png|center|100px|This file is copyrighted.]]}}
| {{#ifeq:sprite|pd|This file is in the public domain and can be freely reproduced.|'''This file is {{#switch:sprite|screenshot=a screenshot of a copyrighted video game|artwork=artwork for a copyrighted video game|sprite=a sprite from a copyrighted video game|cover=cover artwork of a copyrighted video game|logo=a logo for a copyrighted video game|audio=an audio file from a copyrighted video game|model=a render of a 3D model from a copyrighted video game|#default=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.
* 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.
* 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.
* 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.}}
* the original content of the file has not been modified, and it is not a derivative work.
|}{{#ifeq:|no||{{#if:M1|[[Category:{{Game-key|M1}} {{#switch:sprite|screenshot=screenshots|artwork=artwork|sprite=sprites|cover=box art and media|logo=artwork|audio=audio|model=models|#default=images}}]]}}}}<noinclude>
|}<noinclude>


[[Category:Template documentation]]</noinclude>
[[Category:Template documentation]]</noinclude>

Latest revision as of 22:34, 13 April 2023

Usage[edit source]

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[edit source]

  • 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[edit source]

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[edit source]

{{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 (game)
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.