Template:CosmeticImage: Difference between revisions
Template page
More actions
m Undo revision 6177 by MTOnline69 (talk) |
oops |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | <includeonly>{{#if: {{{animated|}}}|[[Category:Animated images]]}}<!-- | ||
--> | -->[[Category:Images of {{#switch: {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}|Hat|Aura|Trail|Cloak|Rod = {{#invoke:CosmeticInfo|getCategory|name={{{name}}}}}s|Accessory = Accessories|Hair = Hair}}]]<!-- | ||
-->{{# | -->[[Category:Images of {{#invoke:CosmeticInfo|getType|name={{{name}}}}} cosmetics]]{{#switch: {{#invoke:CosmeticInfo|getType|name={{{name}}}}}|Limited|Collector=[[Category:Images of tradeable cosmetics]]}}<!-- | ||
--> | -->[[Category:Images of {{#invoke:CosmeticInfo|getRarity|name={{{name}}}}} cosmetics]]<!-- | ||
-->{{# | -->[[Category:Images of {{#invoke:CosmeticInfo|getCollection|name={{{name}}}}} Collection cosmetics]]</includeonly><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": { | ||
"description": "The name of the cosmetic", | |||
"description": "The | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "animated": { | ||
"description": " | "description": "Use any value (preferably \"y\" or \"yes\") if the image is animated", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
}, | }, |
Latest revision as of 10:10, 19 August 2025
This template is intended for use in adding categories to a cosmetic's file page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the cosmetic | String | required |
animated | animated | Use any value (preferably "y" or "yes") if the image is animated | String | optional |