Template:File: Difference between revisions

From Hard Drop Tetris Wiki

Jump to: navigation, search
m (Trig Jegman moved page User:Trig Jegman/File to Template:File without leaving a redirect)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
|-
|-
! Type
! Type
| <includeonly>{{User:Trig Jegman/File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||[[Category:Files without type specified]]}}</includeonly>
| <includeonly>{{File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||[[Category:Files without type specified]]}}</includeonly>
|-
|-
{{#if:{{{type2|}}}|! Type 2
{{#if:{{{type2|}}}|! Type 2
{{!}} {{User:Trig Jegman/File type|{{{type2|}}}|{{{user|}}}}}
{{!}} {{File type|{{{type2|}}}|{{{user|}}}}}
}}
}}
|-
|-
Line 33: Line 33:
|youtube=YouTube image [[Category:YouTube sourced images]]
|youtube=YouTube image [[Category:YouTube sourced images]]
|presskit=Press kit image [[Category:Non-public press kit images]]
|presskit=Press kit image [[Category:Non-public press kit images]]
|=<font color=red>''This file is missing a source.''</font>[[Category:Files with no source provided]]
|=<span style="color:red">''This file is missing a source.''</span>[[Category:Files with no source provided]]
|#default={{{source|}}}}}</includeonly>
|#default={{{source|}}}}}</includeonly>
|-
|-
! License
! License
| <includeonly>{{User:Trig Jegman/License|{{{license|fairuse [[Category:Files with no license specified]]}}}}}</includeonly>
| <includeonly>{{License|{{{license|fairuse [[Category:Files with no license specified]]}}}}}</includeonly>
|}<noinclude>
|}<noinclude>


Line 72: Line 72:
* user: User's personal image.
* user: User's personal image.
* wiki: Wiki image.
* wiki: Wiki image.
* mmc: File used for MMC news.
|-
|-
! source
! source
Line 77: Line 78:
|-
|-
! license
! license
| No || License || fairuse || If it cannot be deduced automatically from the content type, the license must be added here. This is the same parameter you would feed into {{User:Trig Jegman/License}}.
| No || License || fairuse || If it cannot be deduced automatically from the content type, the license must be added here. This is the same parameter you would feed into [[Template:License]].
|}
|}



Latest revision as of 14:40, 27 June 2024

File information
Summary
Type
Source
License

Info

This template should be used for all files in the "Files:" namespace. It presents some information about the file, and automatically categorizes the image.

Parameters

Parameter Mandatory Purpose Default Detailed description
game No Game Game for which the file was uploaded. This will be used to categorize by Category:Files by game.
summary Yes File summary A brief explanation of what the media displays, what it contains, or what it is used for.
opening No File summary If the file demonstrates an opening, link to it here.
type Yes Content type What type of content this is. Can be one of the following:
  • screenshot: Media screenshot.
  • playfield: The playfield or a playfield tile.
  • boxart: Box art.
  • texture: Game texture.
  • audio: Game audio.
  • video: Game video.
  • logo: Logo.
  • photo: A real-world photograph.
  • rating: Age rating icon.
  • flag: Real-world flag.
  • icon: Icon.
  • sprite: Game sprite.
  • user: User's personal image.
  • wiki: Wiki image.
  • mmc: File used for MMC news.
source Yes File source If this file was created by the user, type "self". If it was obtained off a website, type its URL here.
license No License fairuse If it cannot be deduced automatically from the content type, the license must be added here. This is the same parameter you would feed into Template:License.

Skeleton

{{File
|game     = 
|summary  = 
|type     = 
|source   = 
|license  = 
}}