Difference between revisions of "Template:Styles table"
(Added Czech language. I hope I didnt break it.) |
(I broke it :() (Tag: Undo) |
||
Line 28: | Line 28: | ||
|}{{#if:{{{littlediff|}}}|{{lang | |}{{#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.'' | | 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.'' | | 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.'' | | de = ''Dieser Gegenstand verändert sich kaum sichtbar, wenn unbemalt. Zu Demonstrationszwecken wurde der Gegenstand mit [[Paint Can/de|{{item name|{{{littlediff}}}}}]] bemalt.'' | ||
Line 48: | Line 47: | ||
}}{{#if:{{{nodiff|}}}|{{lang | }}{{#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.'' | | 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.'' | | 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.'' | | de = ''Die Stile dieses Gegenstands sind identisch, wenn er nicht angemalt wurde. Zu Demonstrationszwecken wird hier [[Paint Can/de|{{item name|{{{nodiff}}}}}]] verwendet.'' | ||
Line 66: | Line 64: | ||
}}<includeonly>{{#if: {{{nocategory|}}}||{{lang cat|Items with styles}}}}</includeonly><noinclude> | }}<includeonly>{{#if: {{{nocategory|}}}||{{lang cat|Items with styles}}}}</includeonly><noinclude> | ||
− | {{translation switching|en | + | {{translation switching|en, da, de, es, fr, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans}} |
{{doc begin}} | {{doc begin}} | ||
This template is used on [[Items|item]] articles to show several [[styles]]. It currently supports up to 11 styles. | This template is used on [[Items|item]] articles to show several [[styles]]. It currently supports up to 11 styles. |
Revision as of 21:13, 6 November 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 |