The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Media

From The Codex
Revision as of 08:36, 14 January 2024 by GiverOfThePeace (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Media
 |<type> =
 ...
 |<type> =
}}

Accepted Parameters

Currently, Artwork, Render, Model, Sprite, and Screenshot are supported for <type>.

Any game abbreviation will work for <game>.

Examples

Script error: No such module "Documentation".

The algorithm for selecting default tabs is as follows:

  • For each type tab, the default game tab is the one most recently released that has an image available.
    • More recent games that specify an image that hasn't been uploaded yet are ignored until the image is uploaded.
  • The default type tab is the one which contains the most recently released game.
    • If multiple type tabs are equal in terms of their latest games, then the leftmost one is the default.

Note from the first example above:

  • For artwork, the files are listed in canon order (OoT, OoT3D, ST), but the default tab is OoT3D because it is the most recent game of the three.
  • Of all the tabs, "Model" and "Sprite" contain the latest game. "Model" is leftmost, so it is default.
  • PH Model and ST Model are the same (one is actually a file redirect to the other), but both are listed nonetheless.

Guidelines

Template:Media is intended only for use within infoboxes, where it should replace standard files and captions that may be embedded. For articles concerning canon material, images from canon should be used in order of release (placing remakes just after their original counterparts) whereas any images that are ambiguously canon or noncanon should be excluded. If no canon images are present, it is acceptable to use ambiguous and non-canon images in the order of their release.

All images added should adhere to the following order: Artwork, Render, Model, Sprite, and Screenshot. Images under Screenshot should only apply to articles about locations and should not be used for any other article type. Location articles that make use of Template:Media should also make use of the Artwork category if applicable.

If you are positive that a file should exist but does not currently exist (such as a model for an important character in Template:OoT), you should add the appropriate file name for the image as dictated by the file guidelines. As this template has built-in functionality to account for nonexistent images being linked in this manner, this will result in the No Image file appearing with a link to the proper page to upload the file. Occasionally, the images you may be looking for might be located under a different and erroneous name. If you cannot find an image, please review the appropriate categories for game and type here. If an image should exist but does not exist yet, you should not leave the link to that image out. If the image you are looking for is under a different name that does not follow the file guidelines, you should link to the erroneous name and ask a staff member to move the file to the appropriate place for you.

Unless otherwise necessary for the content of the article, images present in Template:Media should not reappear throughout the article and in the gallery section. This condition does not apply to gallery pages, which operate on their own rules independently from the parent page.

The above documentation is transcluded from Template:Media/Documentation. (edit | history)