Difference between revisions of "Template:Painted variants"
m (+support for displaying team skins/unpainted (if no team skins exist)) |
m |
||
Line 195: | Line 195: | ||
| align="center" class="paintCell" | [[File:Painted {{BASEPAGENAME}} B88035{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | | align="center" class="paintCell" | [[File:Painted {{BASEPAGENAME}} B88035{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | ||
{{#ifexist: File:RED {{BASEPAGENAME}}.png | | {{#ifexist: File:RED {{BASEPAGENAME}}.png | | ||
− | {{!}}align="center" class="paintCell"{{!}}[[File:RED {{BASEPAGENAME}} {{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | + | {{!}}align="center" class="paintCell"{{!}}[[File:RED {{BASEPAGENAME}}{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | {{!}}align="center" class="paintCell"{{!}}[[File:BLU {{BASEPAGENAME}} {{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | + | {{!}}align="center" class="paintCell"{{!}}[[File:BLU {{BASEPAGENAME}}{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|{{!}}align="center" class="paintCell"{{!}}[[File:Painted {{BASEPAGENAME}} UNPAINTED{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | |{{!}}align="center" class="paintCell"{{!}}[[File:Painted {{BASEPAGENAME}} UNPAINTED{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] | ||
{{!}}colspan="1" rowspan="2"{{!}} | {{!}}colspan="1" rowspan="2"{{!}} |
Revision as of 11:55, 24 February 2012
Main article: Paint Can
Mouseover cells to preview the images on a dark background.
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Painted variants/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: ar, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |
Documentation for Painted variants
To view all painted images, see Paint Can#Paintable item previews.
This template is used to display painted variants on hat pages. It can also display styles.
Example
== Painted variants == {{Painted variants}}
== Painted variants == {{Painted variants|default=New School}} === Styles === {{Painted variants|style=Old School}} {{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.