Template:File info: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="margin: 10px auto 0; width: 50%;" | <includeonly>{| class="wikitable" style="margin: 10px auto 0; width: 50%;" | ||
! colspan="2" | | ! colspan="2" | File information | ||
|- | |||
{{#if:{{{filename|}}} | ! Original filename | |||
{{!}} {{{filename}}} }} | |||
|- | |- | ||
{{#if:{{{summary|}}} | ! Summary | {{#if:{{{summary|}}} | ! Summary | ||
Line 41: | Line 44: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter || Default || Detailed description | ! Parameter || Default || Detailed description | ||
|- | |||
! filename | |||
| Original filename || The original filename before it was uploaded to the wiki (if applicable). | |||
|- | |- | ||
! summary | ! summary | ||
Line 93: | Line 99: | ||
<pre> | <pre> | ||
{{file info | {{file info | ||
|filename = | |||
|summary = | |summary = | ||
|type = | |type = |
Revision as of 15:58, December 11, 2019
Info
This template should be used for all files on the "Files" namespace. It presents some information about the file, both in terms of content and metadata. It also automatically categorizes the image.
Parameters
Parameter | Default | Detailed description |
---|---|---|
filename | Original filename | The original filename before it was uploaded to the wiki (if applicable). |
summary | File summary | A brief explanation of what the image or sound is; what it contains, and what it is used for. |
type | Content type | What type of content this is. This will automatically determine some other things. Can be one of the following:
|
game | Game | The game this file is about (if applicable). |
film | Film/series | The film or series this file is about (if applicable). |
comic | Comic | The comic series or graphic novel this file is about (if applicable). |
book | Book | The book this file is about (if applicable). |
media | Media type | The type of media the file is from if it's not from a game, film, comic, or book: merchandise, marketing, website, other. |
artist | Artist | The name of the artist who created the work. If this file was created by the user, type "self". |
source | File source | If it was obtained from a website, type its URL here. |
license | License | This is the same parameter you would feed into {{license}}. Defaults to fair use. |
nocat | No categorization | If this has a value, like "y", then the template will not automatically categorize the file. |
Skeleton
{{file info |filename = |summary = |type = |game = |film = |comic = |book = |media = |artist = |source = |license = |nocat = }}