Template:File info: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
{{#if:{{{type|}}} | ! Type | {{#if:{{{type|}}} | ! Type | ||
{{!}} {{#switch:{{{type|}}} | screenshot=Screenshot {{#switch:{{{subject|}}}|of {{{subject}}}}} | icon=Icon image | achievement=Achievement image | medal=Multiplayer medal image | artwork=General | {{!}} {{#switch:{{{type|}}} | screenshot=Screenshot {{#switch:{{{subject|}}}|of {{{subject}}}}} | icon=Icon image | achievement=Achievement image | medal=Multiplayer medal image | artwork=General artwork | concept=Concept art | cover=Cover art | character=Character art | render=Render | logo=Logo | asset=Asset | page={{#if:{{{comic|}}}|Comic panel|Book page}} | document=Document | audio=Audio | real=Real-world image | nonhalo=Non-''Halo'' image | user=[[Halopedia:Personal Image Policy|Personal user image]] | wiki=Halopedia site image}} }} | ||
|- | |- | ||
{{#if:{{{game|}}} | !Game | {{#if:{{{game|}}} | !Game | ||
Line 69: | Line 69: | ||
**achievement: Achievement image | **achievement: Achievement image | ||
**medal: Multiplayer medal image | **medal: Multiplayer medal image | ||
*artwork: General | *artwork: General artwork | ||
**concept: Concept art | **concept: Concept art | ||
**cover: Cover art | **cover: Cover art |
Revision as of 15:38, December 12, 2019
Info
This template should be used for all files in the "File" 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 |
---|---|---|
summary | File summary | A brief explanation of what the file is and what it is used for. |
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. |
type | Content type | What type of content this is. This will automatically determine some other things. Can be one of the following:
|
subject | Subject | Subject of the image for optional screenshot categorization: character, weapon, vehicle, multiplayer, menu. |
artist | Artist | The name of the artist who created the work, if known. |
source | File source | If it was obtained from a website, type its URL here. If this file was created by the user, type "self". |
filename | Original filename | The original filename before it was uploaded to the wiki (if applicable). |
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 |summary = |game = |film = |comic = |book = |media = |subject = |type = |artist = |source = |filename = |license = |nocat = }}