Template:File: Difference between revisions
From Hard Drop Tetris Wiki
Trig Jegman (talk | contribs) m (Trig Jegman moved page User:Trig Jegman/File to Template:File without leaving a redirect) |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 11: | Line 11: | ||
|- | |- | ||
! Type | ! Type | ||
| <includeonly>{{ | | <includeonly>{{File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||[[Category:Files without type specified]]}}</includeonly> | ||
|- | |- | ||
{{#if:{{{type2|}}}|! Type 2 | {{#if:{{{type2|}}}|! Type 2 | ||
{{!}} {{ | {{!}} {{File type|{{{type2|}}}|{{{user|}}}}} | ||
}} | }} | ||
|- | |- | ||
Line 37: | Line 37: | ||
|- | |- | ||
! License | ! License | ||
| <includeonly>{{ | | <includeonly>{{License|{{{license|fairuse [[Category:Files with no license specified]]}}}}}</includeonly> | ||
|}<noinclude> | |}<noinclude> | ||
Line 77: | Line 77: | ||
|- | |- | ||
! 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 | | 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]]. | ||
|} | |} | ||
Revision as of 17:21, 12 October 2023
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:
| |
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 = }}