Difference between revisions of "Template:Item set infobox"

From Team Fortress Wiki
Jump to: navigation, search
m (Created page with "{| class="infobox" ! colspan="2" style="background-color:#F3A957;" | {{item name|{{#if: {{{set-name|}}} | {{{set-name}}} | {{BASEPAGENAME}}}}}} |- | colspan=2 style="text-align:c...")
 
m (Fixed alphabetical order.)
 
(63 intermediate revisions by 35 users not shown)
Line 1: Line 1:
{| class="infobox"
+
{| class="infobox" style="width:300px; max-width:300px; {{lang incomplete|ar=float:left; margin: 0.5em 1 0.5em 0em;}}"
! colspan="2" style="background-color:#F3A957;" | {{item name|{{#if: {{{set-name|}}} | {{{set-name}}} | {{BASEPAGENAME}}}}}}
+
! colspan="2" style="background-color:#F3A957;" | {{item name|{{{name|{{BASEPAGENAME}}}}}}}
 
|-
 
|-
| colspan=2 style="text-align:center;" | [[Image:{{{set-image|Screenshot needed.png}}}|300px]]
+
| colspan=2 style="text-align:center;" | [[File:{{{image|Screenshot needed.png}}}|{{{width|200x310px}}}]]
 +
|-<!--  // 'Buy Now' button
 +
 
 +
-->{{#switch:{{{price|{{{item price|{{{show-price|¬}}}}}}}}}
 +
| ¬ = {{#ifexist:Template:Dictionary/price/{{lc:{{{displayed-price|{{BASEPAGENAME}}}}}}}
 +
  |<!--
 +
-->
 +
{{!}}-
 +
{{!}} colspan="2" class="infobox-data" style="text-align:center" {{!}} {{Buy now|{{lc:{{{displayed-price|{{BASEPAGENAME}}}}}}}}}
 +
  }}
 +
| #default = {{ns:0}}<!-- Avoid the #ifexist: above if the infobox says no -->
 +
}}<!--
 +
 
 +
  // End 'Buy Now' button
 +
-->
 
|-
 
|-
 
! colspan="2" | {{lang
 
! colspan="2" | {{lang
 
   | en = Basic Information
 
   | en = Basic Information
 +
  | ar = معلومات أساسية
 
   | cs = Základní informace
 
   | cs = Základní informace
   | ko = 기본 정보
+
   | da = Basal information
  | ar = معلومات أساسية
 
 
   | de = Grundlegende Information
 
   | de = Grundlegende Information
 
   | es = Información básica
 
   | es = Información básica
 
   | fi = Perustiedot
 
   | fi = Perustiedot
 
   | fr = Informations de base
 
   | fr = Informations de base
 +
  | hu = Alapinformációk
 
   | it = Informazioni di base
 
   | it = Informazioni di base
 
   | ja = 基本情報
 
   | ja = 基本情報
 +
  | ko = 기본 정보
 
   | nl = Basisinformatie
 
   | nl = Basisinformatie
 +
  | no = Basis informasjon
 
   | pl = Podstawowe informacje
 
   | pl = Podstawowe informacje
 +
  | pt = Informações Básicas
 
   | pt-br = Informações básicas
 
   | pt-br = Informações básicas
 
   | ro = Informaţii de Bază
 
   | ro = Informaţii de Bază
Line 27: Line 45:
 
|-
 
|-
 
|'''{{lang
 
|'''{{lang
 +
  | en = Used by:
 
   | ar = يستعملها:
 
   | ar = يستعملها:
 
   | cs = Používá:
 
   | cs = Používá:
 
   | da = Brugt af:
 
   | da = Brugt af:
 
   | de = Benutzt von:
 
   | de = Benutzt von:
  | en = Used by:
 
 
   | es = Utilizado por:
 
   | es = Utilizado por:
 
   | fi = Käyttää:
 
   | fi = Käyttää:
Line 38: Line 56:
 
   | it = Usato da:
 
   | it = Usato da:
 
   | ja = 使用クラス:
 
   | ja = 使用クラス:
   | ko = 사용 클래스
+
   | ko = 사용 병과:
 
   | nl = Gebruikt door:
 
   | nl = Gebruikt door:
 
   | no = Brukt av:
 
   | no = Brukt av:
Line 50: Line 68:
 
   | zh-hans = 可使用的兵种:
 
   | zh-hans = 可使用的兵种:
 
   | zh-hant = 使用的兵種:
 
   | zh-hant = 使用的兵種:
   }}''' {{!!}} {{class link|{{{class|}}}|noimg=true}}
+
   }}''' {{!!}} [[{{{used-by|}}}{{if lang}}|{{lang incomplete|en={{class name|{{{used-by|}}}}}|pl={{class name|{{{used-by|}}}}}|ru={{#switch:{{{used-by}}}|Pyro=Поджигателем|{{class name|{{{used-by|}}}}}ом}}}}]]
 
{{#if: {{{contributed-by|}}} |
 
{{#if: {{{contributed-by|}}} |
 
{{!}}-
 
{{!}}-
 
{{!}}'''{{lang
 
{{!}}'''{{lang
 +
  | en = Contributed by:
 
   | ar = ساهم بها:
 
   | ar = ساهم بها:
 
   | cs = Přispěl:
 
   | cs = Přispěl:
 
   | da = Bidraget af:
 
   | da = Bidraget af:
 
   | de = Eingesendet von:
 
   | de = Eingesendet von:
  | en = Contributed by:
 
 
   | es = Creado por:
 
   | es = Creado por:
 
   | fi = Tekijä(t):
 
   | fi = Tekijä(t):
Line 65: Line 83:
 
   | it = Creato da:
 
   | it = Creato da:
 
   | ja = 作者:
 
   | ja = 作者:
   | ko = 기증자
+
   | ko = 출품자:
 
   | nl = Gemaakt door:
 
   | nl = Gemaakt door:
 
   | no = Bidratt av:
 
   | no = Bidratt av:
   | pl = Autor:
+
   | pl = Autor(zy):
 
   | pt = Criado por:
 
   | pt = Criado por:
 
   | pt-br = Criado por:
 
   | pt-br = Criado por:
Line 77: Line 95:
 
   | zh-hans = 贡献者:
 
   | zh-hans = 贡献者:
 
   | zh-hant = 投稿作者:
 
   | zh-hant = 投稿作者:
   }}''' {{{contributed-by}}} }}
+
   }}''' {{!!}} {{{contributed-by}}} }}
 +
|-
 +
|'''{{lang
 +
  | en = Released:
 +
  | ar = أصدرت
 +
  | cs = Vydáno v:
 +
  | da = Udgivet:
 +
  | de = Erschienen:
 +
  | es = Lanzamiento:
 +
  | fi = Julkaistu:
 +
  | fr = Date de sortie :
 +
  | hu = Kiadták:
 +
  | it = Rilasciato:
 +
  | ja = リリース日:
 +
  | ko = 출시일:
 +
  | nl = Uitgebracht:
 +
  | no = Utgitt:
 +
  | pl = Wydanie:
 +
  | pt = Data de lançamento:
 +
  | pt-br = Publicado em:
 +
  | ro = Lansat:
 +
  | ru = Выпущено:
 +
  | sv = Släppt:
 +
  | tr = Yayınlanma:
 +
  | zh-hans = 发布时间:
 +
  | zh-hant = 釋出時間:
 +
  }}''' {{!!}} {{#switch: {{{no-update|}}}
 +
| yes = {{{released|}}}
 +
| no
 +
| #default = {{{released|}}}
 +
}}
 +
|-
 +
|'''{{item name|items}}:''' {{!!}} {{item link|{{{item-1|}}}}}<includeonly>{{#if: {{{item-2|}}} | , {{item link|{{{item-2|}}}}}}}{{#if: {{{item-3|}}} | , {{item link|{{{item-3|}}}}}}}{{#if: {{{item-4|}}} | , {{item link|{{{item-4|}}}}}}}{{#if: {{{item-5|}}} | , {{item link|{{{item-5|}}}}}}}{{#if: {{{item-6|}}} | , {{item link|{{{item-6|}}}}}}}{{#if: {{{item-7|}}} | , {{item link|{{{item-7|}}}}}}}</includeonly>
 +
|-
 +
|'''{{tooltip|{{lang
 +
  | en = Effect:
 +
  | ar = :التأثير
 +
  | cs = Efekt:
 +
  | da = Effekt:
 +
  | de = Effekt:
 +
  | es = Efecto:
 +
  | fi = Vaikutus:
 +
  | fr = Effet(s) :
 +
  | hu = Effekt:
 +
  | ko = 효과:
 +
  | nl = Effect:
 +
  | no = Effekt:
 +
  | it = Effetto:
 +
  | ja = セットボーナス:
 +
  | pl = Efekt:
 +
  | pt = Efeito:
 +
  | pt-br = Efeito:
 +
  | ro = Efect:
 +
  | ru = Эффект:
 +
  | sv = Effekter:
 +
  | tr = Etki:
 +
  | zh-hans = 额外特殊能力:
 +
  | zh-hant = 額外特殊能力:
 +
  }}|{{lang
 +
  | en = Only applied when all pieces are equipped at once
 +
  | ar = تطبيقها فقط عندما تم تجهيز جميع القطع في وقت واحد
 +
  | cs = Pouze při vybavení všech kusů na jednou
 +
  | da = Kun anvendt når alle dele er udstyret samtidig
 +
  | de = Wirkt nur, wenn alle Teile gleichzeitig getragen werden
 +
  | es = Solo se aplica cuando todas las piezas están equipadas a la vez
 +
  | fi = Voimassa vain, kun kaikki sarjan osat ovat yhtäaikaisesti käytössä
 +
  | fr = Prend effet seulement si tous les objets sont équipés en même temps
 +
  | hu = Csak akkor érvényesül, ha az összes tárgy használatban van
 +
  | it = Applicato solo quando tutti gli oggetti sono equipaggiati insieme
 +
  | ja = これらのアイテムをすべて装備した際の特殊効果
 +
  | ko = 해당 세트 아이템들을 모두 착용했을 때 효과가 발생합니다.
 +
  | nl = Werkt alleen als alle onderdelen tegelijkertijd gedragen worden
 +
  | no = fungerer bare når alle gjenstandene er utstyrt
 +
  | pl = Kiedy wszystkie części tego zestawu są założone, zapewnia on następujące właściwości:
 +
  | pt = Só se aplica quando todos os itens estão equipados em simultâneo
 +
  | pt-br = Só se aplica quando todos os itens estão equipados simultaneamente
 +
  | ro = Aplicat doar când toate obiectele sunt echipate simultan
 +
  | ru = Когда весь набор надет целиком, игрок получит дополнительные бонусы
 +
  | sv = Endast aktivt när spelaren är utrustad med alla föremål ur uppsättningen samtidigt
 +
  | tr = Sadece tüm eşyalar beraber kuşanıldığında etkilidir
 +
  | zh-hans = 仅适用于全部物品同时装备
 +
  | zh-hant = 只適用於所有項目皆有裝備
 +
  }}
 +
}}''' {{!!}} {{{effect|{{lang
 +
  | en = None
 +
  | cs = Žádný
 +
  | da = Ingen
 +
  | de = Keiner
 +
  | es = Ninguno
 +
  | fi = Ei vaikutusta
 +
  | fr = Aucun
 +
  | hu = Semmilyen
 +
  | it = Nessuno
 +
  | ja = 無し
 +
  | ko = 없음
 +
  | no = Ingen
 +
  | pl = Brak
 +
  | pt = Nenhum
 +
  | pt-br = Nenhum
 +
  | ru = Нет эффекта
 +
  | tr = Etkisiz
 +
  | zh-hant = 無
 +
  | zh-hans = 无
 +
}}}}}
 
|}<includeonly>{{lang cat|Item sets}}</includeonly><noinclude>{{clr}}
 
|}<includeonly>{{lang cat|Item sets}}</includeonly><noinclude>{{clr}}
{{ts|ar, cs, ko, de, fr, fi, es, it, nl, pl, pt-br, ru, sv, tr}}
+
{{ts|en, cs, da, de, es, fi, fr, hu, it, ja, ko, no, pl, pt, pt-br, ru, tr, zh-hans, zh-hant}}
 
{{doc begin}}
 
{{doc begin}}
;set-name: Name of the set. Optional.
+
;name: Name of the set in English. Optional.
;set-image: Image of the set. Obrigatory.
+
;image: Image of the set. Obligatory.
;class: Class that uses the set. Obrigatory.
+
;width: Width of the image. Optional.
 +
;used-by: Class that uses the set in English. Obligatory.
 
;contributed-by: Name(s) of the set's creator(s). Optional.
 
;contributed-by: Name(s) of the set's creator(s). Optional.
 +
;released: English name of the update corresponding to the release of the set. Obligatory.
 +
:'''NOTE:''' If this is not a major update, place <code><nowiki>| no-update = yes</nowiki></code> in the code, then place {{tl|Patch name}} or the corresponding template in the ''released'' field.
 +
;item-X: Name in English for the item needed for the set. Use <code>item-1</code>, <code>item-2</code>, <code>item-3</code> etc. Obligatory.
 +
;effect: Effect(s) applied by the set, if any. Optional. '''This is the only part of the infobox that should be translated.'''
 +
 +
== Example ==
 +
<pre>
 +
{{Item set infobox
 +
| name          = Special Delivery
 +
| image          = Scout - Special Delivery Set.png
 +
| used-by        = Scout
 +
| contributed-by = {{Backpack Item Link|76561197998113407}}
 +
| released      = {{Patch name|9|30|2010}}<br />([[Mann-Conomy Update]])
 +
| item-1        = Shortstop
 +
| item-2        = Mad Milk
 +
| item-3        = Holy Mackerel
 +
| item-4        = Milkman
 +
| effect        = Leave a calling card on your victims
 +
}}
 +
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 19:40, 26 March 2024

Template:Dictionary/items/item set infobox
Screenshot needed.png
Basic Information
Used by: [[|Template:Dictionary/classes/]]
Released:
Items: [[|Template:Dictionary/items/]]
Effect: None

Documentation for Item set infobox

name
Name of the set in English. Optional.
image
Image of the set. Obligatory.
width
Width of the image. Optional.
used-by
Class that uses the set in English. Obligatory.
contributed-by
Name(s) of the set's creator(s). Optional.
released
English name of the update corresponding to the release of the set. Obligatory.
NOTE: If this is not a major update, place | no-update = yes in the code, then place {{Patch name}} or the corresponding template in the released field.
item-X
Name in English for the item needed for the set. Use item-1, item-2, item-3 etc. Obligatory.
effect
Effect(s) applied by the set, if any. Optional. This is the only part of the infobox that should be translated.

Example

{{Item set infobox
 | name           = Special Delivery
 | image          = Scout - Special Delivery Set.png
 | used-by        = Scout
 | contributed-by = {{Backpack Item Link|76561197998113407}}
 | released       = {{Patch name|9|30|2010}}<br />([[Mann-Conomy Update]])
 | item-1         = Shortstop
 | item-2         = Mad Milk
 | item-3         = Holy Mackerel
 | item-4         = Milkman
 | effect         = Leave a calling card on your victims
}}