Difference between revisions of "Template:Painted variants"
GrampaSwood (talk | contribs) (Added support for override-prefix to the unpainted images) |
|||
(182 intermediate revisions by 81 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{#if:{{{h|}}} |
− | + | | {{ns:0}} | |
− | + | | {{#if:{{{style|}}} | |
− | + | | {{main|Styles{{if lang}}|l1={{common string|Styles}}}} | |
− | + | | {{main|Paint Can{{if lang}}|l1={{item name|Paint Can}}}} | |
− | + | }} | |
− | + | {{Hatnote|<small>{{Painted variants/Title|title-0}}</small>}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | {| class="wikitable grid" style="font-size:{{lang | + | {| class="wikitable grid" style="font-size:{{lang incomplete|en=x-small|zh-hans=small|zh-hant=small}}; font:transparent; line-height:125%; margin-bottom:0.5em" |
− | + | {{#if:{{{hh|}}}|{{ns:0}}|{{#if:{{{default|{{{style|}}}}}} | |
− | + | | {{!}}+ style="text-align:left; font-size:1.5em; padding:0.5em 0em" colspan="4" {{!}} {{#if:{{{name|}}}|{{item name|{{{name}}}}}|{{item name|{{{default|{{{style|default appearance}}}}}}}}}} | |
− | + | }}}} | |
− | + | ! class="header" colspan="4" | {{tooltip|'''{{Painted variants/Title|single colors}}'''|{{Painted variants/Title|title-1}}}} | |
− | |||
|- | |- | ||
− | | align="center" style="width: | + | | align="center" class="paintCell" style="width:100px" title="{{item name|An Extraordinary Abundance of Tinge}}" | [[File:{{{override-prefix|Painted|}}} {{{override|{{BASEPAGENAME}}}}} E6E6E6{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | | + | | align="center" class="paintCell" style="width:100px" title="{{item name|Color No. 216-190-216}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} D8BED8{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" style="width: | + | | align="center" class="paintCell" style="width:100px" title="{{item name|Peculiarly Drab Tincture}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} C5AF91{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | | + | | align="center" class="paintCell" style="width:100px" title="{{item name|Aged Moustache Grey}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 7E7E7E{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" style="width: | ||
− | | | ||
− | | align="center" style="width: | ||
− | |||
|- | |- | ||
− | ! style="border-top:solid 5px # | + | ! style="border-top:solid 5px #E6E6E6" | {{item name|An Extraordinary Abundance of Tinge}} |
− | + | ! style="border-top:solid 5px #D8BED8" | {{item name|Color No. 216-190-216}} | |
− | + | ! style="border-top:solid 5px #C5AF91" | {{item name|Peculiarly Drab Tincture}} | |
− | + | ! style="border-top:solid 5px #7E7E7E" | {{item name|Aged Moustache Grey}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ! style="border-top:solid 5px #D8BED8 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ! style="border-top:solid 5px # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ! style="border-top:solid 5px # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | align="center" | [[File:Painted {{BASEPAGENAME}} | + | | align="center" class="paintCell" title="{{item name|A Distinctive Lack of Hue}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 141414{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" | [[File:Painted {{BASEPAGENAME}} | + | | align="center" class="paintCell" title="{{item name|After Eight}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 2D2D24{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" | [[File:Painted {{BASEPAGENAME}} 694D3A.png| | + | | align="center" class="paintCell" title="{{item name|Radigan Conagher Brown}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 694D3A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" | [[File:Painted {{BASEPAGENAME}} 7C6C57.png| | + | | align="center" class="paintCell" title="{{item name|Ye Olde Rustic Colour}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 7C6C57{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] |
− | | align="center" | [[File:Painted {{BASEPAGENAME}} 424F3B.png| | + | |- |
− | | style=" | + | ! style="border-top:solid 5px #141414" | {{item name|A Distinctive Lack of Hue}} |
− | | align="center" | [[File:Painted {{BASEPAGENAME}} | + | ! style="border-top:solid 5px #2D2D24" | {{item name|After Eight}} |
− | | align="center" style="width: | + | ! style="border-top:solid 5px #694D3A" | {{item name|Radigan Conagher Brown}} |
+ | ! style="border-top:solid 5px #7C6C57" | {{item name|Ye Olde Rustic Colour}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{item name|Muskelmannbraun}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} A57545{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Mann Co. Orange}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} CF7336{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Australium Gold}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} E7B53B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|The Color of a Gentlemann's Business Pants}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} F0E68C{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #A57545" | {{item name|Muskelmannbraun}} | ||
+ | ! style="border-top:solid 5px #CF7336" | {{item name|Mann Co. Orange}} | ||
+ | ! style="border-top:solid 5px #E7B53B" | {{item name|Australium Gold}} | ||
+ | ! style="border-top:solid 5px #F0E68C" | {{item name|The Color of a Gentlemann's Business Pants}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{item name|Dark Salmon Injustice}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} E9967A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Pink as Hell}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} FF69B4{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|A Deep Commitment to Purple}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 7D4071{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Noble Hatter's Violet}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 51384A{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #E9967A" | {{item name|Dark Salmon Injustice}} | ||
+ | ! style="border-top:solid 5px #FF69B4" | {{item name|Pink as Hell}} | ||
+ | ! style="border-top:solid 5px #7D4071" | {{item name|A Deep Commitment to Purple}} | ||
+ | ! style="border-top:solid 5px #51384A" | {{item name|Noble Hatter's Violet}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{item name|A Color Similar to Slate}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 2F4F4F{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Zepheniah's Greed}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 424F3B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Drably Olive}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 808000{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|Indubitably Green}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 729E42{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #2F4F4F" | {{item name|A Color Similar to Slate}} | ||
+ | ! style="border-top:solid 5px #424F3B" | {{item name|Zepheniah's Greed}} | ||
+ | ! style="border-top:solid 5px #808000" | {{item name|Drably Olive}} | ||
+ | ! style="border-top:solid 5px #729E42" | {{item name|Indubitably Green}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{item name|The Bitter Taste of Defeat and Lime}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 32CD32{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{item name|A Mann's Mint}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} BCDDB3{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | colspan="2" rowspan="2" | | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #32CD32" | {{item name|The Bitter Taste of Defeat and Lime}} | ||
+ | ! style="border-top:solid 5px #BCDDB3" | {{item name|A Mann's Mint}} | ||
+ | |- | ||
+ | ! class="header" colspan="4" | {{tooltip|'''{{Painted variants/Title|team colors}}'''|{{Painted variants/Title|title-2}}}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Waterlogged Lab Coat|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} A89A8C{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Waterlogged Lab Coat|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 839FA3{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Balaclavas Are Forever|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 3B1F23{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Balaclavas Are Forever|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 18233D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #A89A8C" | {{Painted variants/Paint name|Waterlogged Lab Coat|RED}} | ||
+ | ! style="border-top:solid 5px #839FA3" | {{Painted variants/Paint name|Waterlogged Lab Coat|BLU}} | ||
+ | ! style="border-top:solid 5px #3B1F23" | {{Painted variants/Paint name|Balaclavas Are Forever|RED}} | ||
+ | ! style="border-top:solid 5px #18233D" | {{Painted variants/Paint name|Balaclavas Are Forever|BLU}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Team Spirit|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} B8383B{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Team Spirit|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 5885A2{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Operator's Overalls|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 483838{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Operator's Overalls|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 384248{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #B8383B" | {{Painted variants/Paint name|Team Spirit|RED}} | ||
+ | ! style="border-top:solid 5px #5885A2" | {{Painted variants/Paint name|Team Spirit|BLU}} | ||
+ | ! style="border-top:solid 5px #483838" | {{Painted variants/Paint name|Operator's Overalls|RED}} | ||
+ | ! style="border-top:solid 5px #384248" | {{Painted variants/Paint name|Operator's Overalls|BLU}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|The Value of Teamwork|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 803020{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|The Value of Teamwork|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 256D8D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|An Air of Debonair|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 654740{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|An Air of Debonair|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} 28394D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #803020" | {{Painted variants/Paint name|The Value of Teamwork|RED}} | ||
+ | ! style="border-top:solid 5px #256D8D" | {{Painted variants/Paint name|The Value of Teamwork|BLU}} | ||
+ | ! style="border-top:solid 5px #654740" | {{Painted variants/Paint name|An Air of Debonair|RED}} | ||
+ | ! style="border-top:solid 5px #28394D" | {{Painted variants/Paint name|An Air of Debonair|BLU}} | ||
+ | |- | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Cream Spirit|RED}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} C36C2D{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | | align="center" class="paintCell" title="{{Painted variants/Paint name|Cream Spirit|BLU}}" | [[File:{{{override-prefix|Painted}}} {{{override|{{BASEPAGENAME}}}}} B88035{{#if:{{{style|{{{1|}}}}}}|_{{{style|{{{1}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | {{#ifexist: File:{{#if:{{{override-prefix|}}}|{{{override-prefix}}} BLU_|BLU_}}{{{override-unpainted|{{{override|{{BASEPAGENAME}}}}}}}}{{#ifeq:{{lc:{{{style-unpainted|}}}}}|none||{{#if:{{{style-unpainted|}}}|_{{{style-unpainted}}}|{{#if:{{{style|}}}|_{{{style}}}}}}}}}.png | | ||
+ | {{!}}align="center" class="paintCell" title="{{Painted variants/Paint name|Unpainted|RED}}"{{!}}[[File:{{#if:{{{override-prefix|}}}|{{{override-prefix}}} RED|RED}} {{{override-unpainted|{{{override|{{BASEPAGENAME}}}}}}}}{{#ifeq:{{lc:{{{style-unpainted|}}}}}|none||{{#if:{{{style-unpainted|}}}|_{{{style-unpainted}}}|{{#if:{{{style|}}}|_{{{style}}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | {{!}}align="center" class="paintCell" title="{{Painted variants/Paint name|Unpainted|BLU}}"{{!}}[[File:{{#if:{{{override-prefix|}}}|{{{override-prefix}}} BLU|BLU}} {{{override-unpainted|{{{override|{{BASEPAGENAME}}}}}}}}{{#ifeq:{{lc:{{{style-unpainted|}}}}}|none||{{#if:{{{style-unpainted|}}}|_{{{style-unpainted}}}|{{#if:{{{style|}}}|_{{{style}}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | |{{!}}align="center" class="paintCell" title="{{item name|Unpainted}}"{{!}}[[File:{{{override-prefix|Painted}}} {{{override-unpainted|{{{override|{{BASEPAGENAME}}}}}}}} UNPAINTED{{#ifeq:{{lc:{{{style-unpainted|}}}}}|none||{{#if:{{{style-unpainted|}}}|_{{{style-unpainted}}}|{{#if:{{{style|}}}|_{{{style}}}}}}}}}.png|{{{width|85x85px}}}]] | ||
+ | {{!}}colspan="1" rowspan="2"{{!}} | ||
+ | }} | ||
+ | |- | ||
+ | ! style="border-top:solid 5px #C36C2D" | {{Painted variants/Paint name|Cream Spirit|RED}} | ||
+ | ! style="border-top:solid 5px #B88035" | {{Painted variants/Paint name|Cream Spirit|BLU}} | ||
+ | {{#ifexist: File:{{#if:{{{override-prefix|}}}|{{{override-prefix}}}_|}}BLU_{{{override-unpainted|{{{override|{{BASEPAGENAME}}}}}}}}{{#ifeq:{{lc:{{{style-unpainted|}}}}}|none||{{#if:{{{style-unpainted|}}}|_{{{style-unpainted}}}|{{#if:{{{style|}}}|_{{{style}}}}}}}}}.png | | ||
+ | ! style="border-top:solid 5px #B8383B" {{!}} {{Painted variants/Paint name|Unpainted|RED}} | ||
+ | ! style="border-top:solid 5px #5885A2" {{!}} {{Painted variants/Paint name|Unpainted|BLU}} | ||
+ | | ! style="border-top:solid 5px #F3A957" {{!}} {{item name|Unpainted}} | ||
+ | }} | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|}<noinclude> | |}<noinclude> | ||
− | {{ | + | {{Documentation}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 01:26, 26 November 2024
Main article: Paint Can
Mouseover cells to preview the images on a dark background. Click on the images to enlarge them.
This template is very complex. Please, sandbox any changes before making them. If you have questions about this template, feel free to ask on the IRC. |
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.
Examples
When used on Bill's Hat:
{{Painted variants}}
Results in:
Main article: Paint Can
Mouseover cells to preview the images on a dark background. Click on the images to enlarge them.
When used on Batter's Helmet (in conjunction with {{Tabs}}
):
{{Tabs | collapsed = yes | noalign = 1 | width = 430px | title = {{common string|Painted variants}} | orientation = horizontal | icon1 = {{item name|Hat and Headphones}} | icon2 = {{item name|No Hat and No Headphones}} | content1 = {{Painted variants|default=Hat and Headphones|h=0}} | content2 = {{Painted variants|style=No Hat and No Headphones|h=0}} }}
Results in:
[show]Painted variants
- Hat and Headphones
- No Hat and No Headphones
show;hide
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.
- style-unpainted
- The name of the painted style for the unpainted variant (this is not required and always defaults to whatever
style
is set to). If set tonone
, it will preventstyle
from being applied to the unpainted variants at all. Useful for medals.
- h
- If defined at all, it will hide the
{{main}}
and 'mouseover' notes and just display the table.
- hh
- If defined at all, it will hide the table header containing the item name.
- override
- Override
{{BASEPAGENAME}}
and use custom name, useful for sub-pages.
- override-unpainted
- Override
{{BASEPAGENAME}}
andoverride
, but only for the unpainted variants. Useful for medals.
- override-prefix
- Override the default prefix in file names ("Painted"). Particularly useful for painted items uploaded for use in userspaces.
- 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
- Template:Painted variants full - Used for cosmetics that shows different colors per team even on Single color paint cans.
- Template:Painted variants unused - 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.
- 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 unused UGC - Used for UGC Tournament Medal pages. Specifically, 4vs4's unused paintability for the Season 17-18 medals, 6vs6's unused paintability for the Season 30-31 medals and Highlander's unused paintability for the Season 8, 28-29 Medals.
- Template:Painted variants/Title
- Template:Painted variants/Notes
- Template:Painted variants unused/Notes