Difference between revisions of "Template:Painted variants/doc"
m |
m (Category) |
||
Line 37: | Line 37: | ||
* [[Template:Painted variants/Notes]] | * [[Template:Painted variants/Notes]] | ||
− | [[Category: | + | [[Category:Template documentation]] |
− | [[Category:Paint templates | + | [[Category:Paint templates]] |
Revision as of 20:47, 31 January 2023
To view all painted images, see Paint Can#Paintable item previews.
This template is used to display painted variants on pages. It can also display styles.
Example
== Painted variants == {{Painted variants}}
== Painted variants == {{Painted variants|default=New School}} {{Painted variants|style=Old School|h=0}} {{Painted variants|style=Older School|h=0}} {{Painted variants|style=Oldest School|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 full - Used for cosmetics that shows different colors per team even on Single color paint cans.
- Template:Painted variants/Title
- Template:Painted variants/Notes