Difference between revisions of "Template:Painted variants unused full/doc"
Gabrielwoj (talk | contribs) (Made doc.) |
Gabrielwoj (talk | contribs) m (Updated doc to include the UGC painted variants template.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 23: | Line 23: | ||
:; ''name'' | :; ''name'' | ||
:: Overrides the style name and calls {{tl|item name}} to display the correct translation, useful for items with generic styles such as "Hat" and "No Hat". | :: Overrides the style name and calls {{tl|item name}} to display the correct translation, useful for items with generic styles such as "Hat" and "No Hat". | ||
+ | |||
+ | :; ''width'' | ||
+ | :: Sets custom width for images inside the table. Default is 85px. | ||
=== Other Painted variant templates === | === Other Painted variant templates === | ||
Line 28: | Line 31: | ||
* [[Template:Painted variants full]] - Used for cosmetics that shows different colors per team even on Single color paint cans. | * [[Template:Painted variants full]] - Used for cosmetics that shows different colors per team even on Single color paint cans. | ||
* [[Template:Painted variants unused]] - Used for items that have paintability enabled, but aren't possible to actually be painted as they aren't marked as paintable in the [[Item schema]]. | * [[Template:Painted variants unused]] - Used for items that have paintability enabled, but aren't possible to actually be painted as they aren't marked as paintable in the [[Item schema]]. | ||
+ | * [[Template:Painted variants unused UGC]] - Used for [[United Gaming Clans|UGC Tournament Medal]] pages. Specifically, [[Tournament Medal - UGC 4vs4|4vs4]]'s unused paintability for the Season 17-18 medals, [[Tournament Medal - UGC 6vs6|6vs6]]'s unused paintability for the Season 30-31 medals and [[Tournament Medal - UGC Highlander|Highlander]]'s unused paintability for the Season 8, 28-29 Medals. | ||
* [[Template:Painted variants/Title]] | * [[Template:Painted variants/Title]] | ||
* [[Template:Painted variants/Notes]] | * [[Template:Painted variants/Notes]] | ||
+ | * [[Template:Painted variants unused/Notes]] | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
[[Category:Paint templates]] | [[Category:Paint templates]] |
Latest revision as of 16:21, 28 October 2023
To view all painted images, see Paint Can#Paintable item previews.
This template is used to display painted variants on the "Unused content" section of some pages. It's collapsed by default. It can also display styles.
Example
== Painted variants == {{Painted variants unused full}}
Parameters
- default
- If the item has a style, its 'default' style should be named here. Calls
{{item name}}
to display the correct translation.
- style
- The name of the painted style being displayed in a particular instance. Calls
{{item name}}
to display the correct translation.
- h
- If defined at all, it will hide the
{{main}}
and 'mouseover' notes and just display the table.
- override
- Override
{{BASEPAGENAME}}
and use custom name, useful for sub-pages.
- name
- Overrides the style name and calls
{{item name}}
to display the correct translation, useful for items with generic styles such as "Hat" and "No Hat".
- width
- Sets custom width for images inside the table. Default is 85px.
Other Painted variant templates
- Template:Painted variants - Standard template for Painted variants.
- Template:Painted variants full - Used for cosmetics that shows different colors per team even on Single color paint cans.
- Template:Painted variants unused - Used for items that have paintability enabled, but aren't possible to actually be painted as they aren't marked as paintable in the Item schema.
- Template:Painted variants unused UGC - Used for UGC Tournament Medal pages. Specifically, 4vs4's unused paintability for the Season 17-18 medals, 6vs6's unused paintability for the Season 30-31 medals and Highlander's unused paintability for the Season 8, 28-29 Medals.
- Template:Painted variants/Title
- Template:Painted variants/Notes
- Template:Painted variants unused/Notes