Difference between revisions of "Template:Styles table"
GianAwesome (talk | contribs) m |
BrazilianNut (talk | contribs) m |
||
(42 intermediate revisions by 18 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if: {{{hatnotes|}}} | + | {{#if:{{{hatnotes|}}}||{{main|Styles{{if lang}}|l1={{common string|Styles}}}}}} |
− | | {{ | + | {| class="wikitable grid" cellpadding="2" |
− | | {{ | + | ! class="header" colspan="11" | {{common string|Styles}} |
+ | |- | ||
+ | | [[File:{{{image1}}}|{{{width|80px}}}|center]]{{ | ||
+ | #if:{{{style2|}}}|{{!!}} [[File:{{{image2}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style3|}}}|{{!!}} [[File:{{{image3}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style4|}}}|{{!!}} [[File:{{{image4}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style5|}}}|{{!!}} [[File:{{{image5}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style6|}}}|{{!!}} [[File:{{{image6}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style7|}}}|{{!!}} [[File:{{{image7}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style8|}}}|{{!!}} [[File:{{{image8}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style9|}}}|{{!!}} [[File:{{{image9}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style10|}}}|{{!!}} [[File:{{{image10}}}|{{{width|80px}}}|center]]}}{{ | ||
+ | #if:{{{style11|}}}|{{!!}} [[File:{{{image11}}}|{{{width|80px}}}|center]]}} | ||
+ | |- | ||
+ | ! style="background:#F9D483;" | {{Item name|{{{style1}}}}}{{ | ||
+ | #if:{{{style2|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style2}}}}}}}{{ | ||
+ | #if:{{{style3|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style3}}}}}}}{{ | ||
+ | #if:{{{style4|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style4}}}}}}}{{ | ||
+ | #if:{{{style5|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style5}}}}}}}{{ | ||
+ | #if:{{{style6|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style6}}}}}}}{{ | ||
+ | #if:{{{style7|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style7}}}}}}}{{ | ||
+ | #if:{{{style8|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style8}}}}}}}{{ | ||
+ | #if:{{{style9|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style9}}}}}}}{{ | ||
+ | #if:{{{style10|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style10}}}}}}}{{ | ||
+ | #if:{{{style11|}}}|!! style="background:#F9D483;" {{!}} {{style name|{{{style11}}}}}}} | ||
+ | |}{{#if:{{{littlediff|}}}|{{lang | ||
+ | | en = ''This item has very little effect on its appearance when its styles are changed unless painted. [[Paint Can|{{item name|{{{littlediff}}}}}]] paint is used here for demonstration purposes.'' | ||
+ | | da = ''Denne genstand skifter ikke udseende hvis dens stile er ændret, medmindre den har maling påført. [[Paint Can/da|{{item name|{{{littlediff}}}}}]] er brugt her for at demonstrere.'' | ||
+ | | de = ''Dieser Gegenstand verändert sich kaum sichtbar, wenn unbemalt. Zu Demonstrationszwecken wurde der Gegenstand mit [[Paint Can/de|{{item name|{{{littlediff}}}}}]] bemalt.'' | ||
+ | | es = ''Este objeto tiene muy pocos cambios en su apariencia al cambiar de estilos a menos que esté pintado. La pintura [[Paint Can/es|{{item name|{{{littlediff}}}}}]] es usada aquí para su demostración.'' | ||
+ | | fr = ''Changer le style de cet objet ne modifie que très peu son apparence s'il n'est pas peint. La peinture [[Paint Can/fr|{{item name|{{{littlediff}}}}}]] est utilisée ici pour illustrer la différence.'' | ||
+ | | ja = 注:このアイテムのスタイルによる差は、ペイントされていない状態ではごく僅かです。 ここではスタイルを比較しやすくするため、[[Paint Can/ja|{{item name|{{{littlediff}}}}}]]ペイントを適用した状態で表示しています。 | ||
+ | | ko = ''이 아이템은 페인트칠 되지 않은 상태에서는 외관상 거의 차이가 없습니다. 설명을 위해 [[Paint Can/ko|{{item name|{{{littlediff}}}}}]] 페인트를 사용했습니다.'' | ||
+ | | nl = ''De stijlen van dit voorwerp veranderen weinig aan het uiterlijk, tenzij het voorwerp geverft is. [[Paint Can/nl|{{item name|{{{littlediff}}}}}]] wordt hier gebruikt om de veranderingen aan te geven.'' | ||
+ | | no = ''Denne gjenstanden har en liten effekt på farge endringer om ikke den er malt. [[Paint Can/no|{{item name|{{{littlediff}}}}}]] malingen er brukt for å demonstrere i denne sammenhengen.'' | ||
+ | | pl = ''Style tego przedmiotu w niewielkim stopniu zmieniają jego wygląd, jeśli nie jest on przemalowany. Farba [[Paint Can/pl|{{item name|{{{littlediff}}}}}]] została tutaj użyta jako przykład.'' | ||
+ | | pt = ''Este item tem muito pouco efeito na sua aparência quando os estilos são alterados, a não ser que seja pintado. A tinta [[Paint Can/pt|{{item name|{{{littlediff}}}}}]] é usada aqui para fins de demonstração.'' | ||
+ | | pt-br = ''Este item tem muito pouco efeito sobre sua aparência quando seus estilos são alterados a menos que esteja pintado. A tinta [[Paint Can/pt-br|{{item name|{{{littlediff}}}}}]] é usada aqui para fins de demonstração.'' | ||
+ | | ro = ''Stilurile acestui obiect fac schimbări minore dacă obiectul nu este vopsit. Vopseaua [[Paint Can/ro|{{item name|{{{littlediff}}}}}]] este folosită în cazul de față pentru a demonstra diferența.'' | ||
+ | | ru = ''У этого предмета без покраски внешний вид при выборе разных стилей практически не изменяется. Он покрашен в [[Paint can/ru|{{item name|{{{littlediff}}}}}]] для демонстрационных целей.'' | ||
+ | | tr = ''Bu eşyanın görünümünde boyanmadığı zaman çok ufak bir değişiklik olur. [[Paint Can/tr|{{item name|{{{littlediff}}}}}]] boyası burada örnekleme amacı ile kullanılmıştır.'' | ||
+ | | zh-hans = 该物品未经染色时,更改式样产生的外观差异微不足道。为提升演示效果,此处的示例图应用了{{item name|Paint Can}}:[[Paint Can/zh-hans|{{item name|{{{littlediff}}}}}]]。 | ||
+ | | zh-hant = 這物品除非有上色過,要不然很難看出來樣式有改變。這裡以[[Paint Can/zh-hant|{{item name|{{{littlediff}}}}}]]來當作範例。 | ||
+ | }} | ||
+ | }}{{#if:{{{nodiff|}}}|{{lang | ||
+ | | en = ''This item has no effect on its appearance when its styles are changed unless painted. [[Paint Can|{{item name|{{{nodiff}}}}}]] paint is used here for demonstration purposes.'' | ||
+ | | da = ''Denne genstand har ingen effekt på sit udseende, når dens stilarter ændres, medmindre den er malet. [[Paint Can/da|{{item name|{{{nodiff}}}}}]] malingen anvendes til denne demonstration.'' | ||
+ | | de = ''Die Stile dieses Gegenstands sind identisch, wenn er nicht angemalt wurde. Zu Demonstrationszwecken wird hier [[Paint Can/de|{{item name|{{{nodiff}}}}}]] verwendet.'' | ||
+ | | es = ''Este objeto no tiene ningún cambio en su apariencia al cambiar de estilos a menos que esté pintado. La pintura [[Paint Can/es|{{item name|{{{nodiff}}}}}]] es usada aquí para su demostración.'' | ||
+ | | fr = ''Changer le style de cet objet ne modifie pas son apparence s'il n'est pas peint. La peinture [[Paint Can/fr|{{item name|{{{nodiff}}}}}]] est utilisée ici pour illustrer la différence.'' | ||
+ | | ko = ''이 아이템은 페인트 칠을 하지 않을 경우 양식에 변화가 없습니다. 여기서는 예시를 위해 [[Paint Can/ko|{{item name|{{{nodiff}}}}}]] 페인트가 사용 되었습니다.'' | ||
+ | | nl = ''De stijlen van dit voorwerp veranderen niks aan het uiterlijk, tenzij het voorwerp geverft is. [[Paint Can/nl|{{item name|{{{nodiff}}}}}]] wordt hier gebruikt om de veranderingen aan te geven.'' | ||
+ | | pl = ''Style tego przedmiotu nie zmieniają jego wyglądu, jeśli nie jest on przemalowany. Farba [[Paint Can/pl|{{item name|{{{nodiff}}}}}]] została tutaj użyta jako przykład.'' | ||
+ | | pt = ''Este item não tem efeito na sua aparência quando os estilos são alterados, a não ser que seja pintado. A tinta [[Paint Can/pt|{{item name|{{{nodiff}}}}}]] é usada aqui para fins de demonstração.'' | ||
+ | | pt-br = ''Este item não tem efeito sobre sua aparência quando seus estilos são alterados a menos que esteja pintado. A tinta [[Paint Can/pt-br|{{item name|{{{nodiff}}}}}]] é usada aqui para fins de demonstração.'' | ||
+ | | ro = ''Stilurile acestui obiect nu modifică obiectul dacă acesta nu este vopsit. Vopseaua [[Paint Can/ro|{{item name|{{{nodiff}}}}}]] este folosită în cazul de față pentru a demonstra diferența.'' | ||
+ | | ru = ''У этого предмета без покраски нет изменений во внешнем виде при выборе разных стилей. Он покрашен в [[Paint can/ru|{{item name|{{{nodiff}}}}}]] для демонстрационных целей.'' | ||
+ | | sv = ''Detta föremål har ingen ändring om den inte är målad. [[Paint Can/sv|{{item name|{{{nodiff}}}}}]] färgen används här som demonstration.'' | ||
+ | | tr = ''Bu öğe boyanmadığı sürece iki tarzın da öğenin görünümü üzerinde hiçbir etkisi yoktur. [[Paint Can/tr|{{item name|{{{nodiff}}}}}]] adlı boya kutusu burada farkı göstermek amacıyla kullanılmıştır.'' | ||
+ | | zh-hans = 该物品未经染色时,更改式样不会产生任何外观差异。为提升演示效果,此处的示例图应用了{{item name|Paint Can}}:[[Paint Can/zh-hans|{{item name|{{{nodiff}}}}}]]。 | ||
+ | }} | ||
+ | }}<includeonly>{{#if: {{{nocategory|}}}||{{lang cat|Items with styles}}}}</includeonly><noinclude> | ||
+ | |||
+ | {{translation switching|en, da, de, es, fr, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans}} | ||
+ | {{doc begin}} | ||
+ | This template is used on [[Items|item]] articles to show several [[styles]]. It currently supports up to 11 styles. | ||
+ | |||
+ | == Usage == | ||
+ | <pre> | ||
+ | {{Styles table | ||
+ | | hatnotes = | ||
+ | |||
+ | | style1 = | ||
+ | | style2 = | ||
+ | | style3 = | ||
+ | | style4 = | ||
+ | ... | ||
+ | | style11 = | ||
+ | |||
+ | | image1 = | ||
+ | | image2 = | ||
+ | | image3 = | ||
+ | | image4 = | ||
+ | ... | ||
+ | | image11 = | ||
+ | |||
+ | | width = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | == Parameters == | ||
+ | :; ''hatnotes'' | ||
+ | :: Hides hatnotes for main article if used. | ||
+ | |||
+ | :; ''styleX'' | ||
+ | :: Name for style X. This should not be translated, as it uses strings from [[Template:Dictionary/items|Template:Dictionary]]. If the item has less than 11 styles, remove the unused ones from the template. | ||
+ | |||
+ | :; ''imageX'' | ||
+ | :: Image for style X. This should be placed as <code>Filename.extension</code>, without <code>File:</code> on the start. If the item has less than 11 styles, remove the unused ones from the template. | ||
+ | |||
+ | :; ''width'' | ||
+ | :: Sets custom width for images. Default is 80px. | ||
+ | |||
+ | :; ''littlediff'' | ||
+ | :: A note for when items have very little difference between styles unless painted. | ||
+ | |||
+ | :; ''nodiff'' | ||
+ | :: A note for when items have no difference between styles unless painted. | ||
+ | |||
+ | == Example == | ||
+ | <pre> | ||
+ | {{Styles table | ||
+ | | hatnotes = pootis | ||
+ | |||
+ | | style1 = Ghastlier Gibus | ||
+ | | style2 = Ghastly Gibus | ||
+ | |||
+ | | image1 = Item icon Ghastlier Gibus.png | ||
+ | | image2 = Item icon Ghastly Gibus.png | ||
+ | |||
+ | | width = 40px | ||
+ | | littlediff = Mann Co. Orange | ||
}} | }} | ||
− | {{ | + | </pre> |
− | + | will appear as: | |
− | + | {{Styles table | |
+ | | hatnotes = pootis | ||
+ | |||
+ | | style1 = Ghastlier Gibus | ||
+ | | style2 = Ghastly Gibus | ||
+ | |||
+ | | image1 = Item icon Ghastlier Gibus.png | ||
+ | | image2 = Item icon Ghastly Gibus.png | ||
+ | |||
+ | | width = 40px | ||
+ | | littlediff = Mann Co. Orange | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | [[Category:Infobox templates|Styles table]] |
− | + | </noinclude> |
Latest revision as of 20:45, 24 March 2024
Main article: Styles
Styles | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
[[File:{{{image1}}}|80px|center]] | ||||||||||
{{dictionary/items/{{{style1}}}|null=|list=}} |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Styles table/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, da, de, es, fr, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans (add) |
Documentation for Styles table
This template is used on item articles to show several styles. It currently supports up to 11 styles.
Usage
{{Styles table | hatnotes = | style1 = | style2 = | style3 = | style4 = ... | style11 = | image1 = | image2 = | image3 = | image4 = ... | image11 = | width = }}
Parameters
- hatnotes
- Hides hatnotes for main article if used.
- styleX
- Name for style X. This should not be translated, as it uses strings from Template:Dictionary. If the item has less than 11 styles, remove the unused ones from the template.
- imageX
- Image for style X. This should be placed as
Filename.extension
, withoutFile:
on the start. If the item has less than 11 styles, remove the unused ones from the template.
- width
- Sets custom width for images. Default is 80px.
- littlediff
- A note for when items have very little difference between styles unless painted.
- nodiff
- A note for when items have no difference between styles unless painted.
Example
{{Styles table | hatnotes = pootis | style1 = Ghastlier Gibus | style2 = Ghastly Gibus | image1 = Item icon Ghastlier Gibus.png | image2 = Item icon Ghastly Gibus.png | width = 40px | littlediff = Mann Co. Orange }}
will appear as:
Styles | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Ghastlier Gibus | Ghastly Gibus |