Jump to content
Discussions

User:KockaAdmiralac/Files

From Deltarune Wiki

Files on the wiki are used to supply textual article content with visual demonstrations, such as documenting a character's appearance, an item's location, providing interactive maps of locations, etc. It is important to organize them both for informational and maintenance purposes.

File organization involves maintaining file quality, proper file naming and categorization and describing files (the context they appear in, source, internal filename, licensing, etc.)

Use

Before uploading a file, make sure that there isn't already a file depicting the same subject, and that it will be used on one of the content pages on the wiki. Files that already exist in another form may be deleted as duplicate, and files only used on user or talk namespaces may be deleted as unused.

If uploading a file for a character or location gallery, make sure that there aren't other files depicting the character or location in a similar manner. When they become long, galleries may be trimmed aggressively.

When inserting files into articles take note of their following properties:

  • Caption: All files should have captions on them. Captions follow standard grammatical rules (only ending with a period if they form a complete sentence.)
  • Placement: Prefer placing files to the right side of articles, as files placed on the left side significantly displace regular page text. Prefer placing files at relevant locations in the page content instead of the gallery. If too many files are vertically stacked, such that they push each other in a way that impacts page readability (e.g. files are pushed way below their related paragraphs), consider removing some of them. {{Clear}} can be used to prevent files from overflowing into following sections, but it should only be used in case that impacts readability.

Quality

Generally, files should be presented on the wiki in the highest quality possible. This involves specifically seeking out the highest quality image or audio file that is available, and making sure that some step between you taking and uploading the file did not apply additional lossy compression. Below are general tips on how to keep the quality consistent across the entire wiki.

If you spot a low quality image, add the issues with its quality to the {{File}} template using the issues parameter. This automatically categorizes it under faulty images, allowing a future editor to fix it.

Format

PNG is the only acceptable format for static screenshots and sprites. GIF is the only acceptable format for animated sprites. SVG format is preferable for logos, if they are available in that format. JPEG format is only acceptable if used for real life photographs. WebP format may exceptionally be used if the file is of extreme size when in other formats, but contact wiki staff to ensure it is acceptable. Audio files should be uploaded as OGG.

Examples of low quality images:

  • JPEG image for an in-game screenshot (it is a lossy screenshot)
  • WebP image for an overworld sprite (you obtained the image through a website that automatically converted a lossless image to a potentially lossy WebP image)
  • APNG image for an animated battle sprite (software support for the format is limited)
  • WAV format for an in-game audio file (WAV files are significantly bigger)
  • PNG image of a logo already available as an SVG (most popular logos are available as SVG)
  • SVG image for an overworld sprite (you either embedded a PNG inside of an SVG, or needlessly traced it with potential losses)

Size

The wiki depicts subjects in the game as they appear in windowed mode (640 × 480 pixels). This means that all screenshots should be taken at 640 × 480 window dimensions (or losslessly downscaled to these dimensions). Screenshots taken in fullscreen are considered low quality due to visible anti-aliasing artifacts.

Similarly, sprites extracted from game files usually need to be upscaled twice to match the size at which they display in-game. When upscaling or downscaling pixel art, make sure to use nearest-neighbor interpolation.

Contents

Images used to represent locations should be taken without the party present, or modified later to remove the party while preserving integrity of the screenshot. Images of Undertale battles should have Chara's name removed from them.

Tools

If uploading individual sprites, it is recommended to use UndertaleModTool to extract the sprites from the game. When battle sprites consist of multiple moving parts, it is sometimes optimal to record the screen, convert the recording to a GIF, and remove the background from the recording to obtain the highest quality battle sprite.

When downloading images from social media, the website may initially serve you a lossy image even though they have a higher quality variant available, in order to save bandwidth. Seek out downloader websites or instructions on how to download images losslessly from that network to make sure you have the highest quality image. Compare images across different social media websites and pick the one that appears higher quality (usually files with larger dimensions have more details). Sometimes, the files are stored as lossy on the website's servers, and there's nothing to be done about that.

When uploading logos, try searching for the company's or product's media kit, or look at Wikimedia Commons.

Naming

Consistently naming files across the wiki gives us the ability to infer some attributes of that file automatically when describing and categorizing them, allows more easily searching for files of a particular character, and helps users and search engines better understand the files they are served.

All files should follow the naming scheme of <Subject> <Type> [Info].[Extension], where:

  • Subject describes the subject of the file. Example: "Sans," "Ruins," "Scarlixir." This usually refers to an article name of the subject.
  • Type describes the type of the file. Example: "battle," "overworld," "location."
  • Info more closely describes a variant of this subject-type combination. For example, if subject is "Kris" and type is "battle," then this part specified which Kris battle sprite is the file representing.
  • Extension is the extension under which the file is uploaded (png, gif, ogg, etc.) This should always be lowercase, and the jpg extension is preferred over jpeg.

Types

Types of files available for use, and what the "subject" and "info" segments of the file's name usually mean.
Type Category Purpose Subject segment Info segment
overworld Overworld sprites Sprites used in overworld segments of the game. Character depicted in the sprite. Situation in which the sprite displays.
battle Battle sprites Sprites used during battle. Character depicted in the sprite. Info segment is idle if used as an idle animation, omitted if entirely static, or set to action name if the actor is performing a specific action.
face Face sprites Sprites used inside textboxes as character faces. Character depicted in the sprite. Situation in which the sprite displays.
item Item files Item sprites or, in case the item doesn't have a sprite, a screenshot of the item's location. Item depicted in the sprite. Usually omitted. If there are multiple sprites, use the info segment to specify the difference in the non-default sprites.
motif Motif files Sheet music and audio for use on the Leitmotifs article. Name of the motif on the Leitmotifs article. Usually omitted.
music Audio Music and sound files. Track name. If the track has no official name, name from the game files may be used. If the subject has multiple associated audio files, the info segment is used to specify the audio file or part.
location Location files Screenshots of locations. Location depicted in the screenshot. What part of the location is shown in the image, if multiple images of this location exist.
soundtrack Soundtrack files Images used on soundtrack articles as images demonstrating where tracks play. Track name. Omitted.
attack Screenshots Screenshots of enemy attacks in battle, usually used in respective character In Battle sections demonstrating how these attacks look. Character performing the attack. A short (1-5 words) name of the attack.
screenshot Screenshots Screenshots of the game that don't fall under any other category. Subject of the screenshot. Addition description of the screenshot.
icon Icons Icons usually used in the game's interface. Subject depicted in the icon. Context in which the icon is used, unless there is only one context in which icons for this subject are ever used (for example, ACT icon.png).
funnytext Funnytext sprites Special text effects used for Tenna's text. Word depicted on the special text effect. Omitted.
artwork Artwork Art of Undertale and Deltarune characters, locations, items and similar subjects outside of the context of the game. Concept art, merch, stickers, etc. Subject depicted in the artwork. Type of artwork (for example, concept for concept art).
cover Cover art Cover art for music albums. Music album name. Omitted.
logo Logos Logos of games, companies or products. Game, company or product depicted in the logo. Additional descriptor of the logo.
photograph Photographs Real life photographs. Person or location in the photo. If there are multiple photos of the person, used to more closely specify what's on the photo.
- Miscellaneous files Files not falling under any other category. File name does not have to follow any pattern. Not applicable.

Examples

Examples of appropriate file names
File name Subject Type Info Extension Meaning
Kris battle idle.gif Kris battle idle gif This is Kris's animated idle battle sprite.
Dogcheck screenshot Chapter 3.png Dogcheck screenshot Chapter 3 png This is a static screenshot of Dogcheck in Chapter 3 of Deltarune.
Cool Mixtape motif.ogg Cool Mixtape motif - ogg This is a music rendition of the Cool Mixtape motif. In this case, the subject part does not refer to an article name, but rather to a section name on the Leitmotifs page.
Ficus Licker overworld.png Ficus Licker overworld - png This is an overworld sprite of the Ficus Licker NPC. In this case, the subject part refers to a redirect to an NPC page section.

Description

Each file has a dedicated file description page for itself under the File namespace, usually reachable by clicking on the opening the file and using the "More details" button. When initially uploading a file, you may be asked to provide a file description, which is used in the initial contents of the file description page.

File description pages should consist of a single {{File}} template invocation. The template has parameters for file description, file source, internal filename and all other relevant information about the file. However, most of this information can be automatically inferred from the file's name, which is why it's very important to have meaningful file names. If an automatically inferred parameter fits the file just fine, do not specify the parameter manually. The less text there is on the wiki, the less information needs to be kept up to date. If the automatically description of the file does not fit the file exactly, try seeing if it's possible to rename the file to a more meaningful name to generate a meaningful automatic description.

Files are automatically categorized by the template, so categories should not be added manually to files.

See Also

  • Category:Files for examples of how files are categorized.
  • Template:File for documentation on the template used for all file descriptions.
  • Module:File for the module used to handle automatic description logic.
  • Module:File/data for the data module used to map file type names to categories.