Difference between revisions of "Template:Styles table"

From Team Fortress Wiki
Jump to: navigation, search
m
m ((FR) Translated line 46)
Line 49: Line 49:
 
   | 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.''
 
   | 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.''
 
   | 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}}}}}]] 페인트가 사용 되었습니다.''
 
   | ko = ''이 아이템은 페인트 칠을 하지 않을 경우 양식에 변화가 없습니다. 여기서는 예시를 위해 [[Paint Can/ko|{{item name|{{{nodiff}}}}}]] 페인트가 사용 되었습니다.''
 
   | nl = ''Dit voorwerp heeft geen effect op het uiterlijk wanneer de stijlen worden gewijzigd, tenzij ze worden geverfd. [[Paint Can/nl|{{item name|{{{nodiff}}}}}]] verf wordt hier gebruikt voor demonstratie.''
 
   | nl = ''Dit voorwerp heeft geen effect op het uiterlijk wanneer de stijlen worden gewijzigd, tenzij ze worden geverfd. [[Paint Can/nl|{{item name|{{{nodiff}}}}}]] verf wordt hier gebruikt voor demonstratie.''
Line 61: Line 62:
 
}}<includeonly>{{#if: {{{nocategory|}}}||{{lang cat|Items with styles}}}}</includeonly><noinclude>
 
}}<includeonly>{{#if: {{{nocategory|}}}||{{lang cat|Items with styles}}}}</includeonly><noinclude>
  
{{translation switching|en, da, de, es, ko, nl, pl, pt, pt-br, ro, sv, tr, zh-hans}}
+
{{translation switching|en, da, de, es, fr, ko, nl, pl, pt, pt-br, ro, 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:20, 17 February 2024

Main article: Styles
Styles
[[File:{{{image1}}}|80px|center]]
{{dictionary/items/{{{style1}}}|null=|list=}}

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, without File: 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
Item icon Ghastlier Gibus.png
Item icon Ghastly Gibus.png
Ghastlier Gibus Ghastly Gibus
This item has very little effect on its appearance when its styles are changed unless painted. Mann Co. Orange paint is used here for demonstration purposes.