Difference between revisions of "Template:Painted variants"
m |
m (Refined styles team unpainted trigger & refined argument/#if logic) |
||
Line 72: | Line 72: | ||
}}}} | }}}} | ||
|- | |- | ||
− | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} E6E6E6{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} D8BED8{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} C5AF91{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" style="width:100px;" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 7E7E7E{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #E6E6E6;" | {{Paint name|An Extraordinary Abundance of Tinge}} | ! style="border-top:solid 5px #E6E6E6;" | {{Paint name|An Extraordinary Abundance of Tinge}} | ||
Line 82: | Line 82: | ||
! style="border-top:solid 5px #7E7E7E;" | {{Paint name|Aged Moustache Grey}} | ! style="border-top:solid 5px #7E7E7E;" | {{Paint name|Aged Moustache Grey}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 141414{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 2D2D24{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 694D3A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 7C6C57{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #141414;" | {{Paint name|A Distinctive Lack of Hue}} | ! style="border-top:solid 5px #141414;" | {{Paint name|A Distinctive Lack of Hue}} | ||
Line 92: | Line 92: | ||
! style="border-top:solid 5px #7C6C57;" | {{Paint name|Ye Olde Rustic Colour}} | ! style="border-top:solid 5px #7C6C57;" | {{Paint name|Ye Olde Rustic Colour}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} A57545{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} CF7336{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} E7B53B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} F0E68C{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #A57545;" | {{Paint name|Muskelmannbraun}} | ! style="border-top:solid 5px #A57545;" | {{Paint name|Muskelmannbraun}} | ||
Line 102: | Line 102: | ||
! style="border-top:solid 5px #F0E68C;" | {{Paint name|The Color of a Gentlemann's Business Pants}} | ! style="border-top:solid 5px #F0E68C;" | {{Paint name|The Color of a Gentlemann's Business Pants}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} E9967A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} FF69B4{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 7D4071{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 51384A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #E9967A;" | {{Paint name|Dark Salmon Injustice}} | ! style="border-top:solid 5px #E9967A;" | {{Paint name|Dark Salmon Injustice}} | ||
Line 112: | Line 112: | ||
! style="border-top:solid 5px #51384A;" | {{Paint name|Noble Hatter's Violet}} | ! style="border-top:solid 5px #51384A;" | {{Paint name|Noble Hatter's Violet}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 2F4F4F{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 424F3B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 808000{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 729E42{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #2F4F4F;" | {{Paint name|A Color Similar to Slate}} | ! style="border-top:solid 5px #2F4F4F;" | {{Paint name|A Color Similar to Slate}} | ||
Line 122: | Line 122: | ||
! style="border-top:solid 5px #729E42;" | {{Paint name|Indubitably Green}} | ! style="border-top:solid 5px #729E42;" | {{Paint name|Indubitably Green}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 32CD32{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} BCDDB3{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
| colspan="2" rowspan="2" | | | colspan="2" rowspan="2" | | ||
|- | |- | ||
Line 166: | Line 166: | ||
}}}} | }}}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} A89A8C{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 839FA3{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 3B1F23{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 18233D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #A89A8C;" | {{Paint name|waterlogged lab coat red}} | ! style="border-top:solid 5px #A89A8C;" | {{Paint name|waterlogged lab coat red}} | ||
Line 176: | Line 176: | ||
! style="border-top:solid 5px #18233D;" | {{Paint name|balaclavas are forever blu}} | ! style="border-top:solid 5px #18233D;" | {{Paint name|balaclavas are forever blu}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} B8383B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 5885A2{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 483838{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 384248{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #B8383B;" | {{Paint name|Team Spirit (RED)}} | ! style="border-top:solid 5px #B8383B;" | {{Paint name|Team Spirit (RED)}} | ||
Line 186: | Line 186: | ||
! style="border-top:solid 5px #384248;" | {{Paint name|operator's overalls blu}} | ! style="border-top:solid 5px #384248;" | {{Paint name|operator's overalls blu}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 803020{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 256D8D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 654740{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} 28394D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
|- | |- | ||
! style="border-top:solid 5px #803020;" | {{Paint name|the value of teamwork red}} | ! style="border-top:solid 5px #803020;" | {{Paint name|the value of teamwork red}} | ||
Line 196: | Line 196: | ||
! style="border-top:solid 5px #28394D;" | {{Paint name|an air of debonair blu}} | ! style="border-top:solid 5px #28394D;" | {{Paint name|an air of debonair blu}} | ||
|- | |- | ||
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} C36C2D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override | + | | align="center" class="paintCell" | [[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} B88035{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | {{#ifexist: File:RED {{#if:{{{override|}}}|{{{override | + | {{#ifexist: File:RED {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}}.png | |
− | {{!}}align="center" class="paintCell"{{!}}[[File:RED {{#if:{{{override|}}}|{{{override | + | {{!}}align="center" class="paintCell"{{!}}[[File:RED {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}}{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | {{!}}align="center" class="paintCell"{{!}}[[File:BLU {{#if:{{{override|}}}|{{{override | + | {{!}}align="center" class="paintCell"{{!}}[[File:BLU {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}}{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
− | |{{!}}align="center" class="paintCell"{{!}}[[File:Painted {{#if:{{{override|}}}|{{{override | + | |{{!}}align="center" class="paintCell"{{!}}[[File:Painted {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}}} UNPAINTED{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|85x85px]] |
{{!}}colspan="1" rowspan="2"{{!}} | {{!}}colspan="1" rowspan="2"{{!}} | ||
}} | }} | ||
Line 207: | Line 207: | ||
! style="border-top:solid 5px #C36C2D;" | {{Paint name|cream spirit red}} | ! style="border-top:solid 5px #C36C2D;" | {{Paint name|cream spirit red}} | ||
! style="border-top:solid 5px #B88035;" | {{Paint name|cream spirit blu}} | ! style="border-top:solid 5px #B88035;" | {{Paint name|cream spirit blu}} | ||
− | {{#ifexist: File:RED {{#if:{{{override|}}}|{{{override | + | {{#ifexist: File:RED {{#if:{{{override|}}}|{{{override}}}|{{BASEPAGENAME}}_{{{style|{{{1}}}}}}}}.png | |
! style="border-top:solid 5px #B8383B;" {{!}} {{Paint name|unpainted red}} | ! style="border-top:solid 5px #B8383B;" {{!}} {{Paint name|unpainted red}} | ||
! style="border-top:solid 5px #5885A2;" {{!}} {{Paint name|unpainted blu}} | ! style="border-top:solid 5px #5885A2;" {{!}} {{Paint name|unpainted blu}} |
Revision as of 20:16, 11 May 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.
- override
- Override
{{BASEPAGENAME}}
and use custom name, useful for sub-pages.