Navigation menu

Template:File Info: Difference between revisions

From Metroid Wiki
(ignore me lol)
Tag: Undo
(move documentation to separate page, use standard wikitable styling)
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.[[Category:Metroid Wiki images]]}}}}{{#if:{{{template|}}}|{{Small Notice|This file was uploaded for use with {{#ifeq:{{{template|}}}|yes|a template|the [[Template:{{{template|}}}|{{{template|}}}]] template}}.[[Category:Template images]]}}}}{{#if:{{{personal|}}}|{{Small Notice|This file was uploaded by {{#ifeq:{{{personal|}}}|yes|a user|[[User:{{{personal|}}}|{{{personal|}}}]]}} for personal use.[[Category:Personal images]]}}}}
{{#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.[[Category:Metroid Wiki images]]}}}}{{#if:{{{template|}}}|{{Small Notice|This file was uploaded for use with {{#ifeq:{{{template|}}}|yes|a template|the [[Template:{{{template|}}}|{{{template|}}}]] template}}.[[Category:Template images]]}}}}{{#if:{{{personal|}}}|{{Small Notice|This file was uploaded by {{#ifeq:{{{personal|}}}|yes|a user|[[User:{{{personal|}}}|{{{personal|}}}]]}} for personal use.[[Category:Personal images]]}}}}
{| style="{{round|20px}} border: 2px solid #6a567a; background: #422d48; color:white; width: 100%" cellpadding=3 cellspacing=3
{| class="wikitable"
|-
! colspan=2 | <big>File information</big>
! colspan=2 | <big>File information</big>
|-
|-
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" | Description
| style="width: 30%" | Description
| style="background: #221826; border: 1px solid #6a567a" | {{{description|''Please describe this file.''}}}
| {{{description|''Please describe this file.''}}}
|-
|-
{{#if: {{{game|}}}|
{{#if: {{{game|}}}|
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} This is a file pertaining to:
{{!}} This is a file pertaining to:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} ''[[{{Game-key|{{{game|}}}}}]]''
{{!}} ''[[{{Game-key|{{{game|}}}}}]]''
}}
}}
|-
|-
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" | Source
| Source
| style="background: #221826; border: 1px solid #6a567a" | {{{source|''Please find and list this file's source.''}}}
| {{{source|''Please find and list this file's source.''}}}
|-
|-
{{#if: {{{edits|}}}|
{{#if: {{{edits|}}}|
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} Edit(s) made:
{{!}} Edit(s) made:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} {{{edits|}}}
{{!}} {{{edits|}}}
}}
}}
|-
|-
{{#if: {{{original-name|}}}|
{{#if: {{{original-name|}}}|
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} Original filename:
{{!}} Original filename:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} <tt>{{{original-name|}}}</tt>
{{!}} <tt>{{{original-name|}}}</tt>
}}
}}
|-
|-
! rowspan="2" style="{{roundbl|20px}}; background: #221826; border: 1px solid #6a567a" {{!}} {{#ifeq:{{{license|}}}|pd|[[File:Public Domain.svg|center|100px|This file is in the public domain.]]|[[File:Copyright.png|center|100px|This file is copyrighted.]]}}
| {{#ifeq:{{{license|}}}|pd|[[File:Public Domain.svg|center|100px|This file is in the public domain.]]|[[File:Copyright.png|center|100px|This file is copyrighted.]]}}
{{!}} style="background: #221826; border: 1px solid #6a567a; font-weight: bold" {{!}} {{#ifeq:{{{license|}}}|pd|This file is in the public domain and can be freely reproduced.|This file is {{#switch:{{{license|}}}|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:}}
| {{#ifeq:{{{license|}}}|pd|This file is in the public domain and can be freely reproduced.|'''This file is {{#switch:{{{license|}}}|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:}}
{{#ifeq:{{{license|}}}|pd||{{!-}}
* it is used in a non-commercial setting, and therefore is not being used to generate profit in this context.
{{!}} style="{{roundbr|20px}}; background: #221826; border: 1px solid #6a567a; font-weight: bold" {{!}}
* its use here does not significantly impede the right of the copyright holder to sell the copyrighted material.
*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 largely unaltered state, where any editing has been done purely for cosmetic purposes.
*its use here does not significantly impede the right of the copyright holder to sell the copyrighted material.
* the original content of the file has not been modified, and it is not a derivative work.}}
*it is used in a largely unaltered state, where any editing has been done purely for cosmetic purposes.
|}{{#ifeq:{{{categorize|}}}|no||{{#if:{{{game|}}}|[[Category:{{Game-key|{{{game|}}}}} {{#switch:{{{license|}}}|screenshot=screenshots|artwork=artwork|sprite=sprites|cover=box art and media|logo=artwork|audio=audio|model=models|#default=images}}]]}}}}<noinclude>
*the original content of the file has not been modified, and it is not a derivative work.}}
{{Documentation}}
|}{{#ifeq:{{{categorize|}}}|no||{{#if:{{{game|}}}|[[Category:{{Game-key|{{{game|}}}}} {{#switch:{{{license|}}}|screenshot=screenshots|artwork=artwork|sprite=sprites|cover=box art and media|logo=artwork|audio=audio|model=models|#default=images}}]]}}}}<noinclude>{{Clear}}
==Documentation==
===Usage===
This template is to contain information about files uploaded to the wiki and should be included on every file page.
<pre>
{{File Info
|description =
|game =
|source =
|edits =
|original-name =
|license =
|meta =
|template =
|user =
}}
</pre>
 
===Parameters===
*<code>description</code> — A description of the file; this parameter is required.
*<code>game</code> — The game or other piece of media the file pertains to, if applicable. Anything defined in [[Template:Game-key]] can be put here.
*<code>source</code> — 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
*<code>edits</code> — Any edits made by the uploader.
*<code>original-name</code> — The original official file name for files that have them; for example, press images.
*<code>license</code> — The type of file, which determines which copyright license is displayed. Options are <tt>screenshot</tt>, <tt>artwork</tt>, <tt>sprite</tt>, <tt>cover</tt>, <tt>logo</tt>, <tt>audio</tt>, <tt>model</tt>, and <tt>pd</tt> (public domain). This parameter is required; if left blank, the fair use license is displayed.
 
The <code>game</code> and <code>license</code> parameters also automatically categorize a file. For example, an image with <code>game = Metroid Dread</code> and <code>license = screenshot</code> will be automatically categorized under [[:Category:Metroid Dread screenshots]].
 
====Notice parameters====
The following parameters will produce a notice box above the file information box:
*<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>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===
<pre>
{{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
}}
</pre>


{| style="{{round|20px}} border: 2px solid #6a567a; background: #422d48; float: left; width: 100%" cellpadding=3 cellspacing=3
[[Category:Templates]]</noinclude>
|-
! colspan=2 | <big>File information</big>
|-
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" | Description
| style="background: #221826; border: 1px solid #6a567a" | Sprite of a [[Zoomer]] from ''[[Metroid (game)|Metroid]]''.
|-
{{#if: M1|
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} This is a file pertaining to:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} ''[[{{Game-key|M1}}]]''
}}
|-
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" | Source
| style="background: #221826; border: 1px solid #6a567a" | FCEUX screenshots
|-
{{#if: Cropped to just sprite; animated from multiple frames|
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} Edit(s) made:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} Cropped to just sprite; animated from multiple frames
}}
|-
{{#if: |
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} Original filename:
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}}
}}
|-
{{#if: |
! style="background: #221826; border: 1px solid #6a567a; text-align: left; width: 30%" {{!}} [[File:Personal File.png|center|100px|]]
{{!}} style="background: #221826; border: 1px solid #6a567a" {{!}} This file was uploaded by {{#if:|[[User:|User:]]|a user}} for personal use in their userspace and should not be used in articles.
}}
|-
! rowspan="2" style="{{roundbl|20px}}; background: #221826; border: 1px solid #6a567a" {{!}} {{#ifeq:sprite|pd|[[File:Copyright Free.png|center|100px|This file is in the public domain.]]|[[File:Copyright.png|center|100px|This file is copyrighted.]]}}
{{!}} style="background: #221826; border: 1px solid #6a567a; font-weight: bold" {{!}} {{#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:}}
{{#ifeq:sprite|pd||{{!-}}
{{!}} style="{{roundbr|20px}}; background: #221826; border: 1px solid #6a567a; font-weight: bold" {{!}}
*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.}}
|}

Revision as of 22:26, 13 April 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.}}

This page has been transcluded from Template:File Info/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 (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.