Difference between revisions of "Template:Painted variants"
m |
m (updated available languages) |
||
Line 26: | Line 26: | ||
| ru = Наведите курсор мыши на изображение, чтобы увидеть, как оно смотрится на тёмном фоне. Нажмите на изображение, чтобы увеличить его. | | ru = Наведите курсор мыши на изображение, чтобы увидеть, как оно смотрится на тёмном фоне. Нажмите на изображение, чтобы увеличить его. | ||
| sv = Lägg muspekaren över bilden för att förhandsgranska den över en svart bakgrund. | | sv = Lägg muspekaren över bilden för att förhandsgranska den över en svart bakgrund. | ||
− | | tr = Resimleri koyu arkaplan üzerinde görmek için imleci kutuların üzerine götürün. | + | | tr = Resimleri koyu arkaplan üzerinde görmek için imleci kutuların üzerine götürün. Resimleri büyütmek için üstüne tıklayın. |
| zh-hans = 将鼠标置于表上以在黑背景上预览图片。 | | zh-hans = 将鼠标置于表上以在黑背景上预览图片。 | ||
| zh-hant = 游標移到圖片上時底色會變黑。 | | zh-hant = 游標移到圖片上時底色會變黑。 | ||
Line 55: | Line 55: | ||
| ru = Общие цвета | | ru = Общие цвета | ||
| sv = Enskilda färger | | sv = Enskilda färger | ||
− | | tr = Tek | + | | tr = Tek renkler |
| zh-hans = 单色 | | zh-hans = 单色 | ||
| zh-hant = 單色 | | zh-hant = 單色 | ||
Line 157: | Line 157: | ||
| ru = Командные цвета | | ru = Командные цвета | ||
| sv = Lagfärger | | sv = Lagfärger | ||
− | | tr = Takım | + | | tr = Takım renkleri |
| zh-hans = 团队色 | | zh-hans = 团队色 | ||
| zh-hant = 團隊色 | | zh-hant = 團隊色 | ||
Line 231: | Line 231: | ||
|- | |- | ||
|}<noinclude> | |}<noinclude> | ||
− | {{translation switching|en, sv, zh-hans, zh-hant}} | + | {{translation switching|en, cs, da, de, es, fi, fr, hu, it, ja, ko, no, nl, pl, pt-br, ru, sv, tr, zh-hans, zh-hant}} |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 16:13, 1 April 2018
Main article: Paint Can
Mouseover cells to preview the images on a dark background. Click on the images to enlarge them.
Single colors | |||
---|---|---|---|
align="center" class="paintCell" style="width:100px;" title="Template:Paint name" | | align="center" class="paintCell" style="width:100px;" title="Template:Paint name" | | align="center" class="paintCell" style="width:100px;" title="Template:Paint name" | | align="center" class="paintCell" style="width:100px;" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | ||
Template:Paint name | Template:Paint name | ||
Team colors | |||
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | |
Template:Paint name | Template:Paint name | Template:Paint name | Template:Paint name |
align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name" | | align="center" class="paintCell" title="Template:Paint name"| | |
Template:Paint name | Template:Paint name | Template:Paint name |
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: en, cs, da, de, es, fi, fr, hu, it, ja, ko, no, nl, pl, pt-br, ru, sv, tr, zh-hans, zh-hant (add) |
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