Template:Aboutfile: Difference between revisions

From MiiWiki
Jump to navigationJump to search
mNo edit summary
(& Bigger and better than ever)
Line 4: Line 4:
{{!}}-
{{!}}-
! align=center width=25% style="background:#f26887; padding:5px; border-radius: 10px" {{!}} Game
! align=center width=25% style="background:#f26887; padding:5px; border-radius: 10px" {{!}} Game
{{!}} [[{{{game|}}}]][[Category:{{{game|}}} images]]}}
{{!}} <i>[[{{{game|}}}]]</i>[[Category:{{{game|}}} {{#switch:{{substr|{{PAGENAME}}|-3}}|png|jpg|gif|svg=images|oga|ogg|mp3|wav=audio}}]]}}
|-
|-
{{#if:{{{media|}}}| ! align=center width=25% style="background:#a4d3a8; padding:5px; border-radius: 10px" {{!}} Media
{{#if:{{{media|}}}| ! align=center width=25% style="background:#a4d3a8; padding:5px; border-radius: 10px" {{!}} Media
Line 14: Line 14:
{{#if:{{{modified|}}}|{{!}}-
{{#if:{{{modified|}}}|{{!}}-
{{!}} align=center width=25% style="background:#f5fa91; padding:5px; border-radius: 10px" {{!}} '''Modification(s)'''
{{!}} align=center width=25% style="background:#f5fa91; padding:5px; border-radius: 10px" {{!}} '''Modification(s)'''
{{!}}{{{modified|}}}
{{!}}{{{modified|}}} [[Category:Modified images]]
|}}
|}}
|-
|-
Line 30: Line 30:
|boxart=Box artwork [[Category:Game covers]]
|boxart=Box artwork [[Category:Game covers]]
|logo=Logo [[Category:Logos]]
|logo=Logo [[Category:Logos]]
|user=User image [[Category:Personal Media]]
|user=This file is [{{FULLURL:Special:Search|search=%7Cuser%3D{{urlencode:{{{user|}}}}}&profile=images}} one of a maximum] of five personal files allowed to [[User:{{{user|}}}|{{{user|}}}]]. [[Category:Personal Media]]
|wiki=Wiki image [[Category:Wiki images]]
|wiki=Wiki image [[Category:Wiki images]]
|rating=Rating icon [[Category:Rating images]]
|rating=Rating icon [[Category:Rating images]]
Line 50: Line 50:
|boxart=Box artwork [[Category:Game covers]]
|boxart=Box artwork [[Category:Game covers]]
|logo=Logo [[Category:Logos]]
|logo=Logo [[Category:Logos]]
|user=User image [[Category:Personal Media]]
|user=This file is [{{FULLURL:Special:Search|search=%7Cuser%3D{{urlencode:{{{user|}}}}}&profile=images}} one of a maximum] of five personal files allowed to [[User:{{{user|}}}|{{{user|}}}]]. [[Category:Personal Media]]
|wiki=Wiki image [[Category:Wiki images]]
|wiki=Wiki image [[Category:Wiki images]]
|flag=Country flag [[Category:Flag images]]
|flag=Country flag [[Category:Flag images]]
Line 56: Line 56:
|#default=  
|#default=  
}}}}
}}}}
|-
{{#if:{{{user|}}}|{{!}}-
{{!}} align=center width=25% style="background:#BEBEBE; padding:5px; border-radius: 10px" {{!}} '''User'''
{{!}} [[User:{{{user|}}}|{{{user|}}}]] }}
|-
|-
! align=center width=25% style="background:#b19cd9; padding:5px; border-radius: 10px" {{!}} Source
! align=center width=25% style="background:#b19cd9; padding:5px; border-radius: 10px" {{!}} Source
| <includeonly>{{#ifeq:{{lc:{{{source|}}}}}|self|Media created by the uploader|{{{source|}}}}}{{#if:{{{source|}}}||[[Category:Files lacking sources]]}}</includeonly>
| <includeonly>{{#switch:{{lc:{{{source|}}}}}
|self=Media created by the uploader
|user=Media created by [[User:{{{user|}}}|{{{user|}}}]]
|fandom=Mii Wiki FANDOM image [[Category:FANDOM sourced images]]
|=<font color=red>''This file is missing a source.''</font>[[Category:Files lacking sources]]
|#default={{{source|}}}}}</includeonly>
|-
|-
! align=center width=25% style="background:#FF7EF4; padding:5px; border-radius: 10px" {{!}} License
! align=center width=25% style="background:#FF7EF4; padding:5px; border-radius: 10px" {{!}} License

Revision as of 06:43, 18 November 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=
}}