Difference between revisions of "User:Gabrielwoj/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo edit by Gabrielwoj (Talk) (3513684))
(Tag: Undo)
m (Something I wanna try out.)
Line 1: Line 1:
{{User:Gabrielwoj/Sandbox2}}
+
{{#if:{{{hatnotes|}}}||{{main|Styles{{if lang}}|l1={{common string|Styles}}}}}}
 +
{| class="wikitable grid" cellpadding="2"
 +
! class="header" colspan="11" | {{common string|Styles}}
 +
|-
 +
| style="width: {{{spacing1|auto}}};" | [[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; width: {{{spacing2|auto}}};" {{!}} {{item name|{{{style2}}}}}}}{{
 +
#if:{{{style3|}}}|!! style="background:#F9D483; width: {{{spacing3|auto}}};" {{!}} {{item name|{{{style3}}}}}}}{{
 +
#if:{{{style4|}}}|!! style="background:#F9D483; width: {{{spacing4|auto}}};" {{!}} {{item name|{{{style4}}}}}}}{{
 +
#if:{{{style5|}}}|!! style="background:#F9D483; width: {{{spacing5|auto}}};" {{!}} {{item name|{{{style5}}}}}}}{{
 +
#if:{{{style6|}}}|!! style="background:#F9D483; width: {{{spacing6|auto}}};" {{!}} {{item name|{{{style6}}}}}}}{{
 +
#if:{{{style7|}}}|!! style="background:#F9D483; width: {{{spacing7|auto}}};" {{!}} {{item name|{{{style7}}}}}}}{{
 +
#if:{{{style8|}}}|!! style="background:#F9D483; width: {{{spacing8|auto}}};" {{!}} {{item name|{{{style8}}}}}}}{{
 +
#if:{{{style9|}}}|!! style="background:#F9D483; width: {{{spacing9|auto}}};" {{!}} {{item name|{{{style9}}}}}}}{{
 +
#if:{{{style10|}}}|!! style="background:#F9D483; width: {{{spacing10|auto}}};" {{!}} {{item name|{{{style10}}}}}}}{{
 +
#if:{{{style11|}}}|!! style="background:#F9D483; width: {{{spacing11|auto}}};" {{!}} {{item 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}}}}}]] 페인트를 사용했습니다.''
 +
  | 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.''
 +
  | 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.''
 +
  | 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.''
 +
  | 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.''
 +
  | 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, ko, nl, pt, pt-br, 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>

Revision as of 14:12, 19 September 2023

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

Documentation for Gabrielwoj/Sandbox

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.