Welcome to Wars Wiki! |
---|
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member! |
Template:File: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
Trig Jegman (talk | contribs) mNo edit summary |
No edit summary Tag: Manual revert |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
! Game | ! Game | ||
{{!}} [[ | {{!}} ''[[{{{game|}}}]]''[[Category:{{{game|}}} images]]}} | ||
|- | |- | ||
! Summary | ! Summary | ||
Line 10: | Line 10: | ||
|- | |- | ||
! Type | ! Type | ||
| {{ | | <includeonly>{{File type|{{{type|}}}|{{{user|}}}|primary=1}}</includeonly> | ||
| | |- | ||
| | {{#if:{{{type2|}}}|! Type 2 | ||
| | {{!}} {{File type|{{{type2|}}}|{{{user|}}}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
|user | |||
| | |||
}} | }} | ||
|- | |- | ||
Line 76: | Line 64: | ||
|- | |- | ||
! source | ! 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. | | Yes || File source || || If this file was created by the user, type "self". If it was uploaded on behalf of another user, use "user" and the parameter below. If it was obtained off a website, type its URL here. | ||
|- | |- | ||
! 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 [[Template: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]]. | ||
|- | |||
! user | |||
| No || User || || This optional parameter is used for when the file type is user, or when using user for source. It automatically creates a link to the user named in the parameter. | |||
|} | |} | ||
Line 93: | Line 84: | ||
</pre> | </pre> | ||
[[Category: | [[Category:Meta-templates]]</noinclude> |
Latest revision as of 21:13, 8 July 2023
File information | |
---|---|
Summary | |
Type | |
Source | |
License |
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 |
---|---|---|---|---|
game | No | Game | Game for which the file was uploaded. This will be used to categorize images by game. This section is case-sensitive. If the file is for the series, enter series | |
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. This section is case-sensitive. Can be one of the following:
| |
source | Yes | File source | If this file was created by the user, type "self". If it was uploaded on behalf of another user, use "user" and the parameter below. 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. |
user | No | User | This optional parameter is used for when the file type is user, or when using user for source. It automatically creates a link to the user named in the parameter. |
Skeleton[edit source]
{{File |game= |summary= |type= |source= |license= }}