Template:Aboutfile: Difference between revisions
From MiiWiki
Jump to navigationJump to search
m (1 revision imported) |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="notice-template" style="width:75%; background:ghostwhite; border:2px solid #066F71; border-radius:10px" | {| class="notice-template" style="width:75%; background:ghostwhite; border:2px solid #066F71; border-radius:10px" | ||
! colspan="2" align="center" style="background:#00C0D9; padding:5px; border-radius: 10px" | | ! colspan="2" align="center" style="background:#00C0D9; padding:5px; border-radius: 10px" | File information | ||
{{#if:{{{game|}}}| | |||
{{!}}- | |||
! align=center width=25% style="background:#f26887; padding:5px; border-radius: 10px" {{!}} Game | |||
{{!}} [[{{{game|}}}]][[Category:{{{game|}}} images]]}} | |||
|- | |- | ||
{{#if:{{{description|}}}|{{!}}- | {{#if:{{{media|}}}| ! align=center width=25% style="background:#a4d3a8; padding:5px; border-radius: 10px" {{!}} Media | ||
{{!}} align=center width=25% style="background:# | {{!}} {{{media|}}} }} | ||
{{!}}{{{ | |- | ||
! align=center width=25% style="background:lightblue; padding:5px; border-radius: 10px" {{!}} Description | |||
| {{{description|}}} | |||
|- | |||
{{#if:{{{modified|}}}|{{!}}- | |||
{{!}} align=center width=25% style="background:#f5fa91; padding:5px; border-radius: 10px" {{!}} '''Modification(s)''' | |||
{{!}}{{{modified|}}} | |||
|}} | |}} | ||
|- | |- | ||
! align=center width=25% style="background:#C99A0B; padding:5px; border-radius: 10px" {{!}} Type | |||
| {{#switch:{{{type|}}} | |||
{{ | |audio=Audio [[Category:Audio]] | ||
|}} | |video=Video [[Category:Video]] | ||
|photo=Photograph [[Category:Photos]] | |||
|sprite=Sprite [[Category:Sprites]] | |||
|screenshot=Screenshot [[Category:Screenshots]] | |||
|map=Map [[Category:Maps]] | |||
|model=Model [[Category:Models]] | |||
|artwork=Artwork [[Category:Artwork]] | |||
|boxart=Box artwork [[Category:Box artwork]] | |||
|logo=Logo [[Category:Logos]] | |||
|user=User image [[Category:User images]] | |||
|wiki=Wikirby image [[Category:Wiki images]] | |||
|rating=Rating icon [[Category:Rating icons]] | |||
|#default=<includeonly>[[Category:Files without type specified]]</includeonly> | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{type2|}}}| ! align=center width=25% style="background:#A8861D; padding:5px; border-radius: 10px" {{!}} Type2 | ||
{{!}} {{#switch:{{{type2|}}} | |||
{{!}}{{{ | |audio=Audio [[Category:Audio]] | ||
|}} | |video=Video [[Category:Video]] | ||
|photo=Photograph [[Category:Photos]] | |||
|sprite=Sprite [[Category:Sprites]] | |||
|screenshot=Screenshot [[Category:Screenshots]] | |||
|map=Map [[Category:Maps]] | |||
|model=Model [[Category:Models]] | |||
|artwork=Artwork [[Category:Artwork]] | |||
|boxart=Box artwork [[Category:Box artwork]] | |||
|logo=Logo [[Category:Logos]] | |||
|user=User image [[Category:User images]] | |||
|wiki=Wikirby image [[Category:Wiki images]] | |||
|rating=Rating icon [[Category:Rating icons]] | |||
|#default= | |||
}}}} | |||
|- | |- | ||
! align=center width=25% style="background:#b19cd9; padding:5px; border-radius: 10px" {{!}} Source | |||
| {{#ifeq:{{{source|}}}|self|Image created by the uploader|{{{source|}}}}} | |||
{{ | |||
|- | |- | ||
! align=center width=25% style="background:#FF7EF4; padding:5px; border-radius: 10px" {{!}} License | |||
| <includeonly>{{License|{{{license|fairuse [[Category:Media with no license specified]]}}}}}</includeonly> | |||
{{ | |} | ||
<noinclude> | |||
|}<noinclude> | |||
{{doc}}[[Category:Image templates]] | {{doc}}[[Category:Image templates]] | ||
</noinclude> | </noinclude> |
Revision as of 04:35, 23 October 2021
File information | |
---|---|
Description | |
Type | |
Source | |
License |
This template is an altered version of Template:File taken from Wars Wiki.
Walkthrough
{{aboutfile |description=A brief summary describing the file's contents. |game=The game the file belongs to, if it does. This will automatically link and categorize the file for the game added. |media=For any files not belonging to a game, or that should not have an automatic link generated, use this parameter instead of game=. |modified=Any significant changes made to images should be optionally listed here. |type=The type of file in the image. The available types are the following: *audio *video *photo *sprite *screenshot *officialscreenshot *map *model *artwork *boxart *logo *user *wiki *rating *flag *fanart Adding this parameter will automatically categorize the file with its type, as well as automatically generate the license= parameter. |type2=Optional, for images with more than one type. |source=The source of the image. For images captured/created by yourself, enter "self" instead. |license=If the type= parameter is filled, this parameter does not need filled out. This should be reserved for special cases like Creative Commons or Public Domain files. }}
user
and fanart
should only be used on personal files (and always in the case of user
).
Skeleton
{{aboutfile |description= |game= |media= |modified= |type= |type2= |source= |license= }}