w:c:strategywiki>Prod (images -> files) |
m (Clarified image types) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
! colspan="2" | File information | ! colspan="2" | File information | ||
|- | |- | ||
! Summary | ! Summary | ||
Line 10: | Line 6: | ||
|- | |- | ||
! Type | ! Type | ||
| <includeonly>{{File type|{{{type|}}}|{{{user|}}}| | | <includeonly>{{File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||[[Category:Files without type specified]]}}</includeonly> | ||
|- | |- | ||
{{#if:{{{type2|}}}|! Type 2 | {{#if:{{{type2|}}}|! Type 2 | ||
Line 29: | Line 25: | ||
|=<font color=red>''This file is missing a source.''</font>[[Category:Files with no source provided]] | |=<font color=red>''This file is missing a source.''</font>[[Category:Files with no source provided]] | ||
|#default={{{source|}}}}}</includeonly> | |#default={{{source|}}}}}</includeonly> | ||
|}<noinclude> | |}<noinclude> | ||
Line 40: | Line 33: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
! Parameter || Mandatory || Purpose || Default || Detailed description | ! Parameter || Mandatory || Purpose || Default || Detailed description | ||
|- | |- | ||
! summary | ! summary | ||
Line 49: | Line 39: | ||
! type | ! type | ||
| '''Yes''' || Content type || || What type of content this is. Can be one of the following: | | '''Yes''' || Content type || || What type of content this is. Can be one of the following: | ||
* screenshot: | * screenshot: Screenshot (of game, etc). | ||
* logo: Logo. | * logo: Logo. | ||
* map: Map, either in-game or fan-made. | * map: Map, either in-game or fan-made. | ||
* icon: Icon. | * icon: Icon. | ||
* sprite: Game sprite | * sprite: Game sprite. | ||
* user: User's personal image | * user: User's personal profile image. | ||
* wiki: | * wiki: Images for inclusion on pages, that do not better fit another type. | ||
|- | |- | ||
! source | ! source | ||
Line 71: | Line 57: | ||
<pre> | <pre> | ||
{{File | {{File | ||
|summary = | |summary = | ||
|type = | |type = |
Latest revision as of 20:55, 21 November 2023
File information | |
---|---|
Summary | |
Type | |
Source |
Info[edit source]
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[edit source]
Parameter | Mandatory | Purpose | Default | Detailed description |
---|---|---|---|---|
summary | Yes | File summary | A brief explanation of what the media displays, what it contains, or what it is used for. | |
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 {{license}}. |
Skeleton[edit source]
{{File |summary = |type = |source = |license = }}