Template:File: Difference between revisions
From Qix Wiki
Jump to navigationJump to search
Trig Jegman (talk | contribs) Created page with "{| class="wikitable" ! colspan="2" | File information |- {{#if:{{{game|}}}| {{!}}- ! Game {{!}} [[{{{game|}}}]] [[Category:{{{game|}}} files]]}} |- ! Summary | {{{summary|}}} |- ! Type | <includeonly>{{File type|{{{type|}}}|{{{user|}}}}}{{#if:{{{type|}}}||Category:Files without type specified}}</includeonly> |- {{#if:{{{type2|}}}|! Type 2 {{!}} {{File type|{{{type2|}}}|{{{user|}}}}} }} |- {{#if:{{{user|}}} |! User {{!}} [[User:{{{user|}}}|{{{user|}}}]] }} |- ! {{!}}..." |
m 6 revisions imported |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" style="max-width: 98%; border-color:{{color|darkgreen}}; border-width:2px; border-style:solid; background-color:{{color|black}}; color:{{color|white}};" | ||
! colspan="2" | File information | ! style="background-color:{{color|black}}; max-width: 98%; color:{{color|white}};" ! colspan="2" | File information | ||
|- | |- | ||
{{#if:{{{game|}}}| | {{#if:{{{game|}}}| | ||
{{!}}- | {{!}}- | ||
! Game | ! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} Game | ||
{{!}} [[{{{game|}}}]] [[Category:{{{game|}}} files]]}} | {{!}} [[{{{game|}}}]] [[Category:{{{game|}}} files]]}} | ||
|- | |- | ||
! Summary | ! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} Summary | ||
| {{{summary|}}} | | {{{summary|}}} | ||
|- | |- | ||
! Type | ! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} Type | ||
| <includeonly>{{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|}}}|! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} Type 2 | ||
{{!}} {{File type|{{{type2|}}}|{{{user|}}}}} | {{!}} {{File type|{{{type2|}}}|{{{user|}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{user|}}} | {{#if:{{{user|}}} | ||
|! User | |! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} User | ||
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }} | {{!}} [[User:{{{user|}}}|{{{user|}}}]] }} | ||
|- | |- | ||
! {{!}} Source | ! style="background-color:{{color|black}}; color:{{color|lightgreen}}; max-width: 50%;" {{!}} Source | ||
| <includeonly>{{#switch:{{lc:{{{source|}}}}} | | <includeonly>{{#switch:{{lc:{{{source|}}}}} | ||
|self=Media created by the uploader | |self=Media created by the uploader | ||
| Line 31: | Line 31: | ||
|#default={{{source|}}}}}</includeonly> | |#default={{{source|}}}}}</includeonly> | ||
|- | |- | ||
! License | ! style="background-color:{{color|black}}; color:{{color|lightgreen}};" {{!}} License | ||
| <includeonly>{{License|{{{license|fairuse [[Category:Files with no license specified]]}}}}}</includeonly> | | <includeonly>{{License|{{{license|fairuse [[Category:Files with no license specified]]}}}}}</includeonly> | ||
|}<noinclude> | |}<noinclude> | ||
Latest revision as of 02:14, 4 May 2026
| 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 =
}}