Difference between revisions of "Template:Styles table"
BrazilianNut (talk | contribs) m (Added PT translations for nodiff (taken from Sheriff's Stetson/pt) and littlediff (adapted).) |
m (es added) |
||
Line 45: | Line 45: | ||
}}{{#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.'' | ||
+ | | 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 | ||
| 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 = ''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.'' | | 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.'' |
Revision as of 01:03, 19 July 2023
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, pt, pt-br, 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 |