Difference between revisions of "Template:Painted variants unused full/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Other Painted variant templates)
m (Updated doc)
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 ===

Revision as of 23:49, 16 September 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