|
|
Line 1: |
Line 1: |
− | <includeonly><div style="text-align: center; background: #24201B; width: {{{width|100%}}}; -moz-border-radius: 10px; border-radius: 10px; padding:7px 0px; {{{style|}}}">
| |
− | <center><div style="align:center; width: 120px; height: 90px; -moz-border-radius: 10px; border-radius: 10px; background: #3C362F; margin-bottom: 5px; border: 0px #847668 solid; position:relative;">{{#if:{{{paint-color|}}}
| |
− | | <div style="width:26px; height:26px; float:right; position:absolute; left:86px; top:6px;">[[Image:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can{{if lang}}]]</div>
| |
− | }}{{#if: {{{custom-icon|}}}
| |
− | | [[File:{{{custom-icon}}}|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{BASEPAGENAME}}}}}]]
| |
− | | [[File:Backpack {{{item-name|}}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{item-name|}}}}}]]
| |
− | }}</div></center>
| |
− | <div style="-moz-border-radius: 10px; border-radius: 10px; background: transparent; padding: 5px; margin: 0px 7px;">
| |
− | <span class="qua_{{lc:{{{quality|unique}}}}}" style="{{#if: {{{custom-color|}}}|color: {{{custom-color}}};}}font-size:18px; line-height:16px; text-shadow: 2px 1px 1px #24201B; font-family:{{lang<!--
| |
| | | |
− | // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
| |
− | | ar = مبنيات TF2 , bold;
| |
− | | en = TF2 Build, Verdana, Geneva, sans-serif;
| |
− | | hu = Verdana, Geneva, sans-serif; font-weight: bold;
| |
− | | ja = Shin Go, Heisei Kaku Gothic W5; font-weight: bold;
| |
− | | ko = Pathang, sans-serif, Totum, Kodig, serif; font-weight: bold;
| |
− | | zh-hans = SimSum-18030, SimHei, serif; font-weight: bold;
| |
− | | zh-hant = SimHei, Verdana, PMingLiU, MingLiU, serif; font-weight: bold;
| |
− | }}"><!--
| |
− |
| |
− | // Quality prefix/suffix switch.
| |
− | // First test if 'prefix' param is manually defined.
| |
− | // Test if page is English, if so add quality BEFORE item name
| |
− | // If page is non-en, add quality AFTER item name and place in brackets
| |
− | // For both cases, finally test 'quality': if 'unique' or 'normal', hide prefix.
| |
− |
| |
− | -->{{#if:{{{custom-name|}}}
| |
− | | "{{{custom-name}}}"
| |
− | | {{#if:{{{prefix|}}}
| |
− | | {{#switch:{{lc:{{{prefix|}}}}}
| |
− | | no | 0 | false | none | hide | negative = {{ns:0}}
| |
− | | #default = {{{prefix|}}} 
| |
− | }}
| |
− | | {{if lang
| |
− | | en = {{#switch:{{lc:{{{quality|☺}}}}}
| |
− | | unique
| |
− | | normal
| |
− | | ☺
| |
− | | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
| |
− | | #default = {{ucfirst:{{{quality|}}}}} 
| |
− | }}
| |
− | | non-en = {{ns:0}}<!-- NULL: don't add rarity prefix *before* item name in non-en -->
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | // Item name
| |
− |
| |
− | -->{{#if:{{{item-name-local|}}}|{{{item-name-local}}}|{{{item-name}}}}}<!--
| |
− |
| |
− | // Item suffix
| |
− |
| |
− | -->{{#if:{{{suffix|}}}
| |
− | | {{#switch:{{lc:{{{suffix|}}}}}
| |
− | | no | 0 | false | none | hide | negative = {{ns:0}}
| |
− | | #default =  {{{suffix|}}}
| |
− | }}
| |
− | | {{if lang
| |
− | | en = {{ns:0}}<!-- NULL: don't add rarity suffix *after* item name in en -->
| |
− | | non-en = {{#switch:{{lc:{{{quality|☺}}}}}
| |
− | | unique
| |
− | | normal
| |
− | | ☺
| |
− | | false = {{ns:0}}<!-- NULL: don't add rarity suffix to 'unique' or 'normal' weapons. -->
| |
− | | #default =  {{Lang
| |
− | | ru = {{Item name|{{{quality|Error}}}}}<!-- no brackets in Russian -->
| |
− | | en = ({{Item name|{{{quality|Error}}}}})
| |
− | }}<!--
| |
− | -->}}<!--
| |
− | -->}}<!--
| |
− | -->}}<!--
| |
− | -->}}<!--
| |
− | --></span><!--
| |
− |
| |
− | --><br /><span class="att_level">{{{item-level|Level 1 - 100}}}</span><!--
| |
− |
| |
− | -->{{#if:{{{att-1-positive|}}} |<br /><span class="att_positive">{{{att-1-positive}}}</span> |
| |
− | {{#if:{{{att-1-negative|}}} |<br /><span class="att_negative">{{{att-1-negative}}}</span> |
| |
− | {{#if:{{{att-1-neutral|{{{neutral-attributes|}}}}}}<!-- // Backwards compatibility.
| |
− | -->|<br /><span class="att_neutral"> {{{att-1-neutral|{{{neutral-attributes}}}}}}</span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-2-positive|{{{positive-attributes|}}}}}}<!-- // Backwards compatibility.
| |
− | -->|<br /><span class="att_positive">{{{att-2-positive|{{{positive-attributes}}}}}}</span> |
| |
− | {{#if:{{{att-2-negative|}}} |<br /><span class="att_negative">{{{att-2-negative}}}</span> |
| |
− | {{#if:{{{att-2-neutral|}}} |<br /><span class="att_neutral"> {{{att-2-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-3-positive|}}} |<br /><span class="att_positive">{{{att-3-positive}}}</span> |
| |
− | {{#if:{{{att-3-negative|{{{negative-attributes|}}}}}}<!-- // Backwards compatibility.
| |
− | -->|<br /><span class="att_negative">{{{att-3-negative|{{{negative-attributes}}}}}}</span> |
| |
− | {{#if:{{{att-3-neutral|}}} |<br /><span class="att_neutral"> {{{att-3-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-4-positive|}}} |<br /><span class="att_positive">{{{att-4-positive}}}</span> |
| |
− | {{#if:{{{att-4-negative|}}} |<br /><span class="att_negative">{{{att-4-negative}}}</span> |
| |
− | {{#if:{{{att-4-neutral|}}} |<br /><span class="att_neutral"> {{{att-4-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-5-positive|}}} |<br /><span class="att_positive">{{{att-5-positive}}}</span> |
| |
− | {{#if:{{{att-5-negative|}}} |<br /><span class="att_negative">{{{att-5-negative}}}</span> |
| |
− | {{#if:{{{att-5-neutral|}}} |<br /><span class="att_neutral"> {{{att-5-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-6-positive|}}} |<br /><span class="att_positive">{{{att-6-positive}}}</span> |
| |
− | {{#if:{{{att-6-negative|}}} |<br /><span class="att_negative">{{{att-6-negative}}}</span> |
| |
− | {{#if:{{{att-6-neutral|}}} |<br /><span class="att_neutral"> {{{att-6-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-7-positive|}}} |<br /><span class="att_positive">{{{att-7-positive}}}</span> |
| |
− | {{#if:{{{att-7-negative|}}} |<br /><span class="att_negative">{{{att-7-negative}}}</span> |
| |
− | {{#if:{{{att-7-neutral|}}} |<br /><span class="att_neutral"> {{{att-7-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{att-8-positive|}}} |<br /><span class="att_positive">{{{att-8-positive}}}</span> |
| |
− | {{#if:{{{att-8-negative|}}} |<br /><span class="att_negative">{{{att-8-negative}}}</span> |
| |
− | {{#if:{{{att-8-neutral|}}} |<br /><span class="att_neutral"> {{{att-8-neutral}}} </span>
| |
− | }}
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{custom-description|}}}|<br /><span style="line-height:0.3em;"> </span><br /><span class="att_neutral" style="line-height:1.2em; font-size:95%; width:80%;">"{{{custom-description|}}}"</span>
| |
− | | {{#if:{{{item-description|}}}|<br /><span style="line-height:0.3em;"> </span><br /><span class="att_neutral" style="line-height:1.2em; font-size:95%; width:80%;">{{{item-description|}}}</span>
| |
− | }}
| |
− | }}<!--
| |
− |
| |
− | -->{{#if:{{{gift-from|}}} |<br /><br /><span class="att_positive">{{lang
| |
− | | de = Geschenk von: {{{gift-from}}}
| |
− | | en = Gift from: {{{gift-from}}}
| |
− | | es = Regalo de: {{{gift-from}}}
| |
− | | fr = Cadeau de : {{{gift-from}}}
| |
− | | hu = {{{gift-from}}} adta ajándékba
| |
− | | pl = Prezent od: {{{gift-from}}}
| |
− | | pt-br = Presente de: {{{gift-from}}}
| |
− | | ru = Подарок от: {{{gift-from}}}
| |
− | | zh-hant = 從{{{gift-from}}}接收禮物
| |
− | }}</span>{{#if:{{{date-received|}}} |<br /><span class="att_neutral">{{lang
| |
− | | de = Erhalten am: {{{date-received}}}
| |
− | | en = Date Received: {{{date-received}}}
| |
− | | es = Fecha de recepción: {{{date-received}}}
| |
− | | fr = Date de réception : {{{date-received}}}
| |
− | | hu = Ekkor kaptad: {{{date-received}}}
| |
− | | pl = Data otrzymania: {{{date-received}}}
| |
− | | pt-br = Data de recebimento: {{{date-received}}}
| |
− | | ru = Дата получения: {{{date-received}}}
| |
− | | zh-hant = 於{{{date-received}}}接收
| |
− | }}</span>}}}}<!--
| |
− |
| |
− | -->{{#if:{{{item-expiration|}}} |<br /><br /><span class="att_negative" style="line-height:1.2em; font-size:95%; width:80%;">{{lang
| |
− | | ar = البند تنتهي في وسوف {{{item-expiration}}}.
| |
− | | de = Dieser Gegenstand wird am {{{item-expiration}}} ablaufen.
| |
− | | es = Este objeto expirará el {{{item-expiration}}}.
| |
− | | en = This item will expire on {{{item-expiration}}}.
| |
− | | fr = Cet objet expirera le {{{item-expiration}}}.
| |
− | | hu = Ez a tárgy %s1 {{{item-expiration}}} időpontban lejár.
| |
− | | it = Questo oggetto scadrà il {{{item-expiration}}}.
| |
− | | nl = Dit item zal vervallen op {{{item-expiration}}}.
| |
− | | pl = Ważność tego przedmiotu wygaśnie w dniu {{{item-expiration}}}.
| |
− | | pt-br = Este item expirará em {{{item-expiration}}}.
| |
− | | ru = Срок годности: до {{{item-expiration}}}.
| |
− | | tr = Son kullanma tarihi {{{item-expiration}}}.
| |
− | | zh-hant = 這物品會在{{{item-expiration}}}過期。
| |
− | }}</span>}}<!--
| |
− |
| |
− | -->{{#if:{{{item-uses|}}} |<br /><br /><span class="att_uses">{{lang<!--
| |
− | // Adapted from localization files in the gcf, missing: cs, hu, ro // Others: ar, pt-br -->
| |
− | | ar = هذا الأيتم يستخدم لفترة محدودة: {{{item-uses}}}.
| |
− | | da = Dette er en genstand med begrænset anvendelse. Anvendelser tilbage: {{{item-uses}}}.
| |
− | | de = Dies ist ein Item mit beschränkter Anwendung. Verbleibende Anwendungen: {{{item-uses}}}.
| |
− | | en = This is a limited use item. Uses: {{{item-uses}}}
| |
− | | es = Objeto con límite de usos. Usos restantes: {{{item-uses}}}.
| |
− | | fi = Rajoitetun käytön esine. Käyttöjä jäljellä: {{{item-uses}}}.
| |
− | | fr = Cet objet a un nombre d'utilisations limité. Utilisations restantes : {{{item-uses}}}.
| |
− | | hu = A tárgy használatainak száma korlátozott. Használatok: {{{item-uses}}}
| |
− | | it = Questo è un oggetto a uso limitato. Utilizzi rimasti: {{{item-uses}}}.
| |
− | | ja = 使用回数制限アイテム。残り使用回数:{{{item-uses}}}。
| |
− | | ko = 사용 횟수가 제한된 아이템입니다. 남은 사용 횟수: {{{item-uses}}}.
| |
− | | nl = Dit voorwerp kan maar een beperkt aantal keren gebruikt worden. Resterend: {{{item-uses}}}.
| |
− | | no = Denne gjenstanden har begrenset bruk. Gjenstående bruk: {{{item-uses}}}.
| |
− | | pl = Ten przedmiot ma ograniczoną liczbę użyć. Ilość: {{{item-uses}}}.
| |
− | | pt = Este é um item de utilização limitada. Utilizações restantes: {{{item-uses}}}.
| |
− | | pt-br = Este é um item de uso limitado. Usos restantes: {{{item-uses}}}.
| |
− | | ru = Этот предмет можно использовать ограниченное количество раз. Осталось: {{{item-uses}}} раз(а).
| |
− | | sv = Det här föremålet har begränsad användning. Gånger kvar: {{{item-uses}}}.
| |
− | | tr = Bu eşyanın kullanım sınırı vardır. Kullanım: {{{item-uses}}}
| |
− | | zh-hans = 这是受限使用物品。使用剩余量:{{{item-uses}}}。
| |
− | | zh-hant = 這是有使用限制的物品。剩餘使用次數:{{{item-uses}}}。
| |
− | }}</span>}}<!--
| |
− |
| |
− | -->{{#if:{{{item-flags|}}} |<br /><br /><span class="att_flags">( {{{item-flags}}} )</span>
| |
− | }}</div></div></includeonly><noinclude>
| |
− | {{Translation switching|ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ru, sv, tr, zh-hans, zh-hant|One single line at the bottom requires translation.}}
| |
− | {{Template doc}}
| |
− | [[Category:Formatting templates|Backpack item]]
| |
− | [[Category:Image insertion templates|Backpack item]]
| |
− | </noinclude>
| |