Difference between revisions of "Template:Painted variants unused/doc"
Gabrielwoj (talk | contribs) m |
Gabrielwoj (talk | contribs) m (Added style examples.) |
||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
== Painted variants == | == Painted variants == | ||
− | {{Painted variants | + | {{Painted variants}} |
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | == Painted variants == | ||
+ | {{Painted variants|default=Outdoorsmen}} | ||
+ | {{Painted variants|style=Blood Bin|h=0}} | ||
+ | {{Painted variants|style=Investor|h=0}} | ||
+ | {{Painted variants|style=J.R. Gyle|h=0}} | ||
</pre> | </pre> | ||
Revision as of 18:37, 19 February 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}}
== Painted variants == {{Painted variants|default=Outdoorsmen}} {{Painted variants|style=Blood Bin|h=0}} {{Painted variants|style=Investor|h=0}} {{Painted variants|style=J.R. Gyle|h=0}}
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".
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 full - 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, while also including RED and BLU images for Single color paint cans.
- Template:Painted variants/Title
- Template:Painted variants/Notes