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



YumeWiki
2,844Articles

Template:Infobox image: Difference between revisions

(fix whole thing lol)
m (change OldVersion to VersionRemoved to match Template:Locationbox)
Line 9: Line 9:
|-
|-
|Type
|Type
|[[:Category:{{{Game}}} {{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}||{{#ifeq:{{{Unused|}}}|true|Unused {{#if:{{#pos:{{{Type|}}}|reenshot}}|Content}}|{{#if:{{{OldVersion|}}}|Old Version}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=Screenshots|map=Maps|character=Character Images|gamefile=Game Files|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}|{{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}{{#pos:{{{Type|}}}|reenshot}}||{{#ifeq:{{{Unused|}}}|true|Unused|{{#if:{{{OldVersion|}}}|Old Version}}}}}}{{#if:{{#pos:{{{Type|}}}|reenshot}}|{{#ifeq:{{{Unused|}}}|true|In-game Screenshot of Unused Content|{{#if:{{{OldVersion|}}}|Old Game Version Screenshot|In-game Screenshot}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=|map=Location Map|character=Character Sprite|gamefile=Game File|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}]]{{#ifeq:{{#pos:{{{EditType|}}}|nnotated}}{{#pos:{{{Type|}}}|ap}}|11|[[Category:{{{Game}}} {{#ifeq:{{{Unused|}}}|true|Unused|{{#if:{{{OldVersion|}}}|Old Version}}}} Annotated Maps]]}}[[Category:{{{Game}}} {{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}||{{#ifeq:{{{Unused|}}}|true|Unused {{#if:{{#pos:{{{Type|}}}|reenshot}}|Content}}|{{#if:{{{OldVersion|}}}|Old Version}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=Screenshots|map=Maps|character=Character Images|gamefile=Game Files|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}]]
|[[:Category:{{{Game}}} {{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}||{{#ifeq:{{{Unused|}}}|true|Unused {{#if:{{#pos:{{{Type|}}}|reenshot}}|Content}}|{{#if:{{{VersionRemoved|}}}|Old Version}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=Screenshots|map=Maps|character=Character Images|gamefile=Game Files|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}|{{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}{{#pos:{{{Type|}}}|reenshot}}||{{#ifeq:{{{Unused|}}}|true|Unused|{{#if:{{{VersionRemoved|}}}|Old Version}}}}}}{{#if:{{#pos:{{{Type|}}}|reenshot}}|{{#ifeq:{{{Unused|}}}|true|In-game Screenshot of Unused Content|{{#if:{{{VersionRemoved|}}}|Old Game Version Screenshot|In-game Screenshot}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=|map=Location Map|character=Character Sprite|gamefile=Game File|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}]]{{#ifeq:{{#pos:{{{EditType|}}}|nnotated}}{{#pos:{{{Type|}}}|ap}}|11|[[Category:{{{Game}}} {{#ifeq:{{{Unused|}}}|true|Unused|{{#if:{{{VersionRemoved|}}}|Old Version}}}} Annotated Maps]]}}[[Category:{{{Game}}} {{#if:{{#pos:{{{Type|}}}|ther}}{{#pos:{{{Type|}}}|rt}}||{{#ifeq:{{{Unused|}}}|true|Unused {{#if:{{#pos:{{{Type|}}}|reenshot}}|Content}}|{{#if:{{{VersionRemoved|}}}|Old Version}}}}}} {{#switch:{{lc:{{{Type|}}}}}|screenshot=Screenshots|map=Maps|character=Character Images|gamefile=Game Files|art={{#if:{{#pos:{{{EditType|}}}|ecreation}}|A|Official A}}rt|other=Other Images}}]]
{{#if:{{#pos:{{{Type|}}}|amefile}}|{{!}}-
{{#if:{{#pos:{{{Type|}}}|amefile}}|{{!}}-
{{!}}Original Filename
{{!}}Original Filename
Line 15: Line 15:
{{!}}-
{{!}}-
{{!}}Folder
{{!}}Folder
{{!}}{{#if:{{{GameFileType|}}}|[[Category:{{{Game}}} {{#if:{{{OldVersion|}}}|Old Version}} {{{GameFileType}}} Files]][[:Category:{{{Game}}} {{#if:{{{OldVersion|}}}|Old Version}} {{{GameFileType}}} Files|{{{Game}}} {{{GameFileType}}} Files]]|Unspecified}}}}{{#if:{{{OldVersion|}}}| 
{{!}}{{#if:{{{GameFileType|}}}|[[Category:{{{Game}}} {{#if:{{{VersionRemoved|}}}|Old Version}} {{{GameFileType}}} Files]][[:Category:{{{Game}}} {{#if:{{{VersionRemoved|}}}|Old Version}} {{{GameFileType}}} Files|{{{Game}}} {{{GameFileType}}} Files]]|Unspecified}}}}{{#if:{{{VersionRemoved|}}}| 
{{!}}-
{{!}}-
{{!}}Version Shown
{{!}}Version Shown
{{!}}{{{OldVersion}}}}}{{#if:{{{EditType|}}}| 
{{!}}{{{VersionRemoved}}}}}{{#if:{{{EditType|}}}| 
{{!}}-
{{!}}-
{{!}}colspan="2" style="text-align:center; background-color:#eaecf0;"{{!}}Edits
{{!}}colspan="2" style="text-align:center; background-color:#eaecf0;"{{!}}Edits

Revision as of 01:21, 3 September 2023

Image Info
Game Unknown
Type [[:Category:{{{Game}}} | ]][[Category:{{{Game}}} ]]


Documentation (for the above template, sometimes hidden or invisible)

Description

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

Syntax

TBA

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 built to work with Form:File.

TBA

Parameters

TBA

Sample

If you had this image:

Mall.png

The following input...

TBA

...would present this:

TBA