Template:Aboutfile/doc: Difference between revisions

From MiiWiki
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Template was taken and modified from [https://www.khwiki.com/Template:Aboutfile KHWiki]. The various parameters will only appear if they are filled in.
This template is an altered version of Template:File taken from [https://warswiki.org/wiki/Template:File Wars Wiki].
==Layout==
==Walkthrough==
<pre>
<pre>
{{aboutfile
{{aboutfile
|description=DESCRIPTION OF THE FILE
|description=A brief summary describing the file's contents.
|game=GAME IT IS FROM
|game=The game the file belongs to, if it does. This will automatically link and categorize the file for the game added.
|media=MEDIA IT IS FROM, IF IT IS NOT FROM A GAME
|media=For any files not belonging to a game, or that should not have an automatic link generated, use this parameter instead of game=.
|source=WHERE YOU GOT IT
|modified=Any significant changes made to images should be optionally listed here.
|modified=ANY MODIFICATIONS YOU MADE TO IT
|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.
}}</pre>
}}</pre>
<code>user</code> and <code>fanart</code> should only be used on [[MiiWiki:Personal content policy|personal files]] (and always in the case of <code>user</code>).
==Skeleton==
<pre>
{{aboutfile
|description=
|game=
|media=
|modified=
|type=
|type2=
|source=
|license=
}}</pre>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 12:46, 1 June 2022

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=
}}