m (fix input being ordered unintentionally) |
m (fix error where all maps were being categorised as annotated) |
||
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:{{{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}}]]{{#if:{{#pos:{{{ | |[[: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}}]]{{#if:{{#pos:{{{Type|}}}|ap}}|{{#if:{{#pos:{{{EditType|}}}|nnotated}}|[[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}}|  | ||
{{!}}- | {{!}}- | ||
{{!}}Original Filename | {{!}}Original Filename |
Revision as of 11:58, 29 December 2023
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:
The following input...
TBA
...would present this:
TBAVisit Template:Infobox file/doc to edit this text! (How does this work?)