64,753
editsAd placeholder
Template:Image rarity item: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
HiddenDragon (talk | contribs) (Created page with "<includeonly>{{#cargo_query: tables = item_icon | fields = TRIM(icon) = icon, CONCAT('', '{{{w|50}}}') = size, LOWER(rarity) = rarity, CONCAT('', "{{{1}}}") = page, CONCAT('', "{{{2|{{{1}}}}}}") = alias | where = {{#if: {{{uid|}}} | item_icon.uid = "{{{uid}}}" | item_icon._pageName="{{{1}}}" }} | limit = 1 | order by = item_icon._pageName | default = {{Image rarity item/Format|icon={{{1}}} Unfaded Icon.png|size={{{w|50}}}|rarity=common|pa...") |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 34: | Line 34: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"description": "The | "description": "The page of the item.", | ||
"example": "Potion of Healing", | "example": "Potion of Healing", | ||
"required": true, | "required": true, | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
" | "2": { | ||
"description": "An alias for the item.", | "description": "An alias for the item.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "w": { | ||
"description": " | "description": "The size of the item icon.", | ||
"type": " | "suggestedvalues": [ | ||
"40", | |||
"25", | |||
"20" | |||
], | |||
"default": "50", | |||
"type": "number" | |||
}, | }, | ||
"uid": { | "uid": { | ||
Line 82: | Line 59: | ||
} | } | ||
}, | }, | ||
"description": " | "description": "Displays an item with rarity, with the icon above the text", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
"2", | |||
"uid", | "uid", | ||
" | "w" | ||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |