Template:File info: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
{{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | coverart=[[Category:Cover Art Images]] | comic=[[Category:Comic images]] | audio=[[Category:Audio files]] | concept=[[Category:Concept art]] | asset=[[Category:Assets]] | document=[[Category:Documents]] | merch=[[Category:Merchandise images]] | logo=[[Categors:Logo images]] | icon=[[Category:Icon images]] | map=[[Category:Map images]] | real=[[Category:Real world images]] | nonhalo=[[Category:Non-Halo images]] | user=[[Category:Personal images]] | wiki=[[Category:Halopedia images]]}} | {{#switch:{{{type|}}} | screenshot=[[Category:Screenshots]] | coverart=[[Category:Cover Art Images]] | comic=[[Category:Comic images]] | audio=[[Category:Audio files]] | concept=[[Category:Concept art]] | asset=[[Category:Assets]] | document=[[Category:Documents]] | merch=[[Category:Merchandise images]] | logo=[[Categors:Logo images]] | icon=[[Category:Icon images]] | map=[[Category:Map images]] | real=[[Category:Real world images]] | nonhalo=[[Category:Non-Halo images]] | user=[[Category:Personal images]] | wiki=[[Category:Halopedia images]]}} | ||
{{#switch:{{{game}}} | hce=[[Category:Halo: Combat Evolved images]] | hcea=[[Category:Halo: Combat Evolved Anniversary images]] | h2=[[Category:Halo 2 images]] | h2a=[[Category:Halo 2: Anniversary images]] | h3=[[Category:Halo 3 images]] | h4=[[Category:Halo 4 images]] | h5g=[[Category:Halo 5: Guardians images]] | hi=[[Category:Halo Infinite images]] | hsa=[[Category:Halo: Spartan Assault images]] | hss=[[Category:Halo: Spartan Strike images]] | hw=[[Category:Halo Wars images]] | hw2=[[Category:Halo Wars 2 images]] | odst=[[Category:Halo 3: ODST images]] | reach=[[Category:Halo: Reach images]] | hfr=[[Category:Halo: Fireteam Raven images]] | mcc=[[Category:Halo: The Master Chief Collection images]]}} | {{#switch:{{{game}}} | hce=[[Category:Halo: Combat Evolved images]] | hcea=[[Category:Halo: Combat Evolved Anniversary images]] | h2=[[Category:Halo 2 images]] | h2a=[[Category:Halo 2: Anniversary images]] | h3=[[Category:Halo 3 images]] | h4=[[Category:Halo 4 images]] | h5g=[[Category:Halo 5: Guardians images]] | hi=[[Category:Halo Infinite images]] | hsa=[[Category:Halo: Spartan Assault images]] | hss=[[Category:Halo: Spartan Strike images]] | hw=[[Category:Halo Wars images]] | hw2=[[Category:Halo Wars 2 images]] | odst=[[Category:Halo 3: ODST images]] | reach=[[Category:Halo: Reach images]] | hfr=[[Category:Halo: Fireteam Raven images]] | mcc=[[Category:Halo: The Master Chief Collection images]]}} | ||
{{#switch:{{{film|}}} | legends=[[Category:Halo Legends images]] | h4fud=[[Category:Halo 4: Forward Unto Dawn images]] | nightfall=[[Category:Halo: Nightfall images]] | htts=[[Category:Halo: The Television Series images]] | htfor=[[Category:Halo: The Fall of Reach images]] | htcvc=[[Category:Halo: The Complete Video Collection images]] | gamefilms=[[Category:Game film images]] }} | |||
}}{{#switch:{{{type|}}} | merch | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}</includeonly><noinclude> | }}{{#switch:{{{type|}}} | merch | real | map | user | wiki | icon = {{#if:{{{license|}}}||[[Category:Files with no license]]}} }}</includeonly><noinclude> | ||
Revision as of 18:23, December 9, 2019
Image information | |
---|---|
Summary | |
Type | |
License | This file has not been given a license. To add one, see Help:Images. Until then, fair use is assumed. |
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 | Mandatory | Default | Detailed description |
---|---|---|---|
summary | Yes | File summary | A brief explanation of what the image or sound is; what it contains, and what it is used for. |
type | Yes | Content type | What type of content this is. This will automatically determine some other things. Can be one of the following:
|
game | No | Game | The game this file is about (if applicable). Can be one of the following:
|
film | No | Film series | The film series this file is about (if applicable). Can be one of the following:
|
media | No | Media type | The type of media the file is from if it's not from a game or film: album, marketing, website, other. |
creator | No | File creator | The name of the artist who created the work. If this file was created by the user, type "self". |
source | No | File source | If it was obtained from a website, type its URL here. If this file was created by the user, type "self". |
license | No | License | 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}}. |
nocat | No | No categorization | If this has a value, like "y", then the template will not automatically categorize the file. |
Skeleton
{{file info |summary = |type = |game = |film = |media = |creator = |source = |license = |nocat = }}