Template:Image classification/doc

From Ring of Brodgar
< Template:Image classification
Revision as of 11:43, 9 August 2023 by Mvg bot (talk | contribs) (Mutual exclusive parm update.)
Jump to navigation Jump to search
Description
This template is used in "Files:" pages to add some classifications to an image.
By default it always adds the images to the general Images Category.
If no classification is given (ie:left empty) it will also add the image to the Img-Unclassified Category.
All image classification-categories can be found in the Image_Types Category.
Syntax
To use the template, type {{image_classification|<classification1, classification2, ...>}} and place it at the top of the content-page.
To classify some image as a "Inventory-item image" and a "Resource pulled image" it becomes {{image_classification| Inv-Obj, Res-Img}}.
Unknown class-names are ignored. (no error is triggered in such a case.)
Class-names are not case sensitive.
Classification names.
(This part is still a work in progress. So changes are to be expected.)
Class Description
Unclassified The default classification if no classification is given.
Can also be specified as classification. But other classifications will be ignored in that case.
Legacy For Legacy images. Acts similar to Unclassified.
ie: Other classifications will be ignore if used. (Overruled by Unclassified)

The following Class-names are mutual exclusive.
Currently collision cases are displayed in red (debug output).
Graph Flow charts, Graphs, Data tables, etc.
Inv-Obj Inventory-item image.
(Used Item-definition: Stuff that can be placed inside the character's inventory.)
Obj-Img Specific to a given object, without additional added info in image.
(Used Object-definition: Stuff that is not an Item.)
Obj-Info Specific to a given object, with additional added info in image.
Game-Scene General scene not specific to a given object ...
Texture Stuff like Mini-map terrain tiles, pavement tiles, ...

Res-Img True copy of some image pulled from a game-resource file.
(Not available with Legacy classification. ...)
Res-Img-HR For res-pulled image that are in new high-resolution format (new or redrawn).
(Implies Res-Img, so no need to specify both.)

Image classification

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Label11

Classifications

Suggested values
Graph Inv-Obj Inv-Obj, Res-Img(-HR) Obj-Img Obj-Img, Res-Img(-HR) Obj-Info Game-Scene Texture Legacy Unclassified
Lineoptional