Template:File info: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
link affiliation
no link if none
Line 16: Line 16:
! Affiliation
! Affiliation
| {{#if:{{{affiliation|}}}
| {{#if:{{{affiliation|}}}
     |{{#if:{{{game|}}}|{{gamepage|{{{affiliation}}}|game={{{game}}}|p=x}}|[[{{{affiliation}}}]]}}{{if ns|file|
     |{{#switch:
      {{lc:{{{affiliation}}}}}
      |none|n/a={{{affiliation}}}
      |#default={{#if:{{{game|}}}|{{gamepage|{{{affiliation}}}|game={{{game}}}|p=x}}|[[{{{affiliation}}}]]}}
    }}{{if ns|file|
       {{#switch:
       {{#switch:
         {{lc:{{{affiliation}}}}}
         {{lc:{{{affiliation}}}}}

Revision as of 09:36, 18 July 2020

File Information
Description
Author unknown
License unknown
Source
Affiliation unknown
Related Game N/A
Type unknown
Notes


Documentation [edit]

This template is used on file pages to format and display information about files in a consistent manner. It automatically adds categories based on the information, so you shouldn't need to add categories manually in most cases.

Parameters

Please fill out the fields to the best of your knowledge, but do not guess. For any that you don't know, leave the field blank.

  • description: A brief description of the file's contents, if the file name is not clear enough.
  • author: The person, people, and/or AI that contributed to the creation of the file. If a screenshot, this can be the name of the website, and post author(s) if applicable.
  • license: The license and usage permissions of the file. If it is a commonly used license, simply enter the name and information will be displayed automatically. If there is explicitly no license, enter "none".
    • You can explicitly set the license to "unknown" to mark the file as likely unlicensed for our use, adding a notice below the info box (see Category:Unlicensed files).
  • source: The URL where the file was obtained, or the person who provided it, if they are the creator. If possible, link to the original source, not a repost. If the uploader is the creator of the file, you can enter "self".
  • affiliation: The group with which the file is associated. Please spell out abbreviations and capitalize correctly. If it is not an image officially used by a group, enter "none".
  • game: The game with which the file is associated. If none, leave blank.
  • type: The usage type of the file. For example: "avatar", "flag" (see subtypes), "job tag", "archive", "screenshot", "war ribbon", "logo", "publication".
  • notes: Any miscellaneous notes which are important to the file and not covered in other fields. For example, alternative versions, any modifications made before uploading it, or items of interest it features.
    • If the wiki's copy of the file is known to be hotlinked elsewhere, such as the NPO forums, note it in this field.

The above is transcluded from Template:File info/usage.

Skeleton

{{File info
|description = 
|author      = 
|license     = 
|source      = 
|affiliation = 
|game        = 
|type        = 
|notes       = 
}}

The above documentation is transcluded from Template:File info/doc.