×
Create a new article
Write your page title here:
We currently have 3,036 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,036Articles

Template:Infobox file/doc: Difference between revisions

(create rough doc (needs update))
 
m (subst template then removed categories)
Line 172: Line 172:
|-
|-
|Type
|Type
|{{#ifeq:{{lc:screenshot}}|map|[[Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Maps]][[:Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Maps|{{#ifeq:|true|Unused|{{#if:|Outdated}}}} Location Map]]{{#if:{{#pos:|nnotated}}|[[Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Annotated Maps]]}}}}{{#ifeq:{{lc:screenshot}}|gamefile|[[Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Game Files]][[:Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Game Files|{{#ifeq:|true|Unused|{{#if:|Outdated}}}} Game File]]
|{{#if:{{#pos:screenshot|shot}}|[[:Category:Yume Nikki {{#if:|Old Version}} Screenshots|{{#if:|Outdated}} In-game Screenshot]]}}
{{!}}-
{{!}}Original Filename
{{!}}{{#if:||Unknown}}
{{!}}-
{{!}}Folder
{{!}}{{#if:|[[Category:Yume Nikki  Files]][[:Category:Yume Nikki  Files]]|Unspecified}}}}{{#ifeq:{{lc:screenshot}}|character|[[Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Character Images]][[:Category:Yume Nikki {{#ifeq:|true|Unused|{{#if:|Old Version}}}} Character Images|{{#ifeq:|true|Unused|{{#if:|Old Version}}}} Character Sprite]]}}{{#ifeq:{{lc:screenshot}}|art|[[Category:Yume Nikki {{#if:{{#pos:|ecreation}}||Official}} Art]][[:Category:Yume Nikki {{#if:{{#pos:|ecreation}}||Official}} Art|{{#if:{{#pos:|ecreation}}|Fan-made|Official}} Art]]}}{{#if:{{#pos:screenshot|shot}}|[[Category:Yume Nikki {{#if:|Old Version}} Screenshots]][[:Category:Yume Nikki {{#if:|Old Version}} Screenshots|{{#if:|Outdated}} In-game Screenshot]]}}{{#ifeq:{{lc:screenshot}}|other|[[Category:Yume Nikki Other Images]][[:Category:Yume Nikki Other Images]]}}
|-
{{#if:|{{!}}Version Shown
{{!}}
{{!}}-
{{!}}}}{{#if:|colspan="2" style="text-align:center; background-color:#eaecf0;"{{!}}Edits
{{!}}-
{{#ifeq:{{lc:screenshot}}|map|
{{!}}Annotated
{{!}}{{#if:{{#pos:|nnotated}}|Yes|No}}
{{!}}-
{{!}}Improved Clarity
{{!}}{{#if:{{#pos:|larity}}|Yes|No}}
{{!}}-
{{!}}Changed Layout
{{!}}{{#if:{{#pos:|ayout}}|Yes|No}}
{{!}}-
{{!}}Explanation
{{!}}|{{!}}colspan="2"{{!}}}}{{#if:||No explanation was provided by the uploader.}}}}
{{#ifeq:|true|{{!}}-
{{!}} colspan="2" style="text-align:center;"{{!}}This image showcases unused content that does not appear in-game in any version.}}
|}
|}
<noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude>
<noinclude>__NOTOC__ [[Category:Template Documentation]]</noinclude>
<includeonly>__NOEDITSECTION__</includeonly>
<includeonly>__NOEDITSECTION__</includeonly>

Revision as of 05:56, 29 August 2023

Description

Showcases information of images in the File namespace and categorizes the file pages based on provided info.

Syntax

With comments:

{{Infobox image
|Wiki = 
|Type = <!--choose one of: screenshot, map, character, gamefile, art, other-->
|EditType = <!--use any of: annotated, clarity, layout, recreation-->
|Edits = <!--Explain edits here, if necessary-->
|OldVersion = <!--if old content, which version does it show?-->
|Unused = <!--set to "true" if the thing was never even used-->
|GameFileType = <!--use any of: ChipSet, CharSet, Panorama, Picture-->
|GameFileName = <!--if a file from the game's folder, what is it actually named?-->
}}

Without comments:

{{Infobox image
|Wiki = 
|Type = 
|EditType = 
|Edits = 
|OldVersion = 
|Unused = 
|GameFileType = 
|GameFileName = 
}}

Usage

The purpose of this template is to automatically categorize image files on the wiki. This allows the category names to be changed more easily in the future, or for the structure to be made more specific or general depending on needs. Instead of changing every file page with a command, the template can be changed to use different category names. It is also more visually appealing and intuitive to visitors of the file page.

Defines Categories
Type Category If Unused If Old Version
Screenshot % Screenshots % Old Version Screenshots
Map % Maps % Unused Maps % Old Version Maps
Character % Character Images % Unused Character Images % Old Version Character Images
Gamefile % Game Files % Unused Game Files % Old Version Game Files
Special Cases
Art % Official Art If EditType includes "recreation": % Art
Other Always: % Other Images

Parameters

The template parameters are unfinished and need updating.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Intended Game/WikiWiki

Explanation

Default
Default_If_Static
Example
Example_Input
Stringrequired
Image TypeType

Explanation

Suggested values
screenshot map character gamefile art other
Example
Example_Input
Stringrequired
Edit TypeEditType

Explanation

Suggested values
annotated clarity layout recreation
Example
Example_Input
Stringoptional
Fancy_NameEdits

If the image is edited in any way, please explain how it is edited and why the edits were made.

Example
The background panorama of this world was replaced with a static color to make the pathways easier to see. The path to [[Example:Character|Character]]'s room is outlined using a green line.
Contentsuggested
Unused ImageUnused

If the image is completely unused in every game version.

Default
false
Example
true
Booleanoptional
Outdated Game VersionOldVersion

If the image showcases something from an older game version, provide the latest version in which it still appears as displayed in the image.

Example
0.112a
Stringoptional
Name in Game FilesGameFileName

If Type is 'gamefile', provide the original filename as read from the game files of the original-language game copy.

Example
【FC】主人公_A003.xyz
Stringoptional
Game FolderGameFileType

If Type is 'gamefile', provide the folder the game file is found in.

Suggested values
ChipSet CharSet Panorama Picture FaceSet Battle System Title
Example
Example_Input
Stringoptional

Sample

If you had this image:

Mall.png

The following input...

{{Infobox image
|Wiki = Yume Nikki
|Type = screenshot
|EditType = 
|Edits = 
|OldVersion = 
|Unused = 
|GameFileType = 
|GameFileName = 
}}

...would present this:

Image Info
Game Yume Nikki
Type In-game Screenshot