Difference between revisions of "User:Aperture AI/Template:Test"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Blank)
 
(79 intermediate revisions by the same user not shown)
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|}}}">
+
<div class="plainlinks plainlinks2" style="text-align:center;">
<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|}}}
+
<strong style="font-size: 1.5em;">Template test page</strong>
| <div style="width:26px; height:26px; float:right; position:absolute; left:86px; top:6px;">[[Image:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can]]</div>
 
}}[[File:{{custom bp image|}}.png|90x90px{{#if:{{{file-link|yes}}}||{{!}}link={{{BASEPAGENAME}}}}}]]</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="font-size:18px; line-height:16px; text-shadow: 2px 1px 1px #24201B; font-family:{{lang<!--
 
| <div style="width:26px; height:26px; float:right; position:absolute; left:86px; top:6px;">[[Image:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can]]</div>
 
}}[[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="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. -->
+
[[File:Unknownweapon.png|256px|link=]]
      | 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.
+
<strong>
  // First test if 'prefix' param is manually defined.
+
I use this page for testing global changes in high-use templates.<br/>
  // Test if page is English, if so add quality BEFORE item name
+
This page is currently empty. '''[[User:Aperture AI|Go back]]'''.<br/>
  // If page is non-en, add quality AFTER item name and place in brackets
+
</strong>
  // For both cases, finally test 'quality': if 'unique' or 'normal', hide prefix.
+
<center>
 
+
<div style="width: 300px; margin: 5px; border: 1px solid #dddddd; border-radius: 7px; -moz-border-radius: 7px">
-->{{#if:{{{custom-name|}}}
+
<div style="padding: 3px; background-color: #dddddd; border-radius: 7px 7px 0 0; font-weight: 700;">Previously tested templates:</div>
  | "{{{custom-name}}}"
+
<small>
  | {{#if:{{{prefix|}}}
+
* [[Template:Backpack item|Backpack item]] - custom icon
    | {{#switch:{{lc:{{{prefix|}}}}}
+
* [[Template:Item infobox|Item infobox]] - custom icon
      | no | 0 | false | none | hide | negative = {{ns:0}}
+
* [[Template:Item infobox|Item infobox]] - new team color box
      | #default = {{{prefix|}}}&#32;
+
</small>
      }}
+
</div>
    | {{if lang
+
</center>
      | en = {{#switch:{{lc:{{{quality|☺}}}}}
 
              | unique
 
              | normal
 
              | ☺
 
              | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
 
              | #default = {{ucfirst:{{{quality|}}}}}&#32;
 
              }}
 
      | pt-br = {{#switch:{{lc:{{{quality|☺}}}}}
 
              | unique
 
              | normal
 
              | ☺
 
              | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
 
              | #default = {{ucfirst:{{{quality|}}}}}&#32;
 
              }}
 
      | non-en = {{ns:0}}<!-- NULL: don't add rarity prefix *before* item name in non-en -->
 
      }}
 
    }}<!--
 
          -->{{#if:{{{item-name-local|}}}|{{{item-name-local}}}|{{{item-name}}}}}<!--
 
  -->{{if lang
 
      | en = {{ns:0}}<!-- NULL: don't add rarity prefix *after* item name in en -->
 
      | pt-br = {{ns:0}}<!-- Item names are not translated in pt-br -->
 
      | non-en = {{#switch:{{lc:{{{quality|☺}}}}}
 
                | unique
 
                | normal
 
                |
 
                | false = {{ns:0}}<!-- NULL: don't add rarity suffix to 'unique' or 'normal' weapons. -->
 
                | #default = &#32;{{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:{{{item-description|}}}  |<br /><span style="line-height:0.3em;">&nbsp;</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
 
  | en = Gift from: {{{gift-from}}}
 
  }}</span>{{#if:{{{date-received|}}}      |<br /><span class="att_neutral">{{lang
 
  | en = Date Received: {{{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}}}.
 
  | es = Este objeto expirará el {{{item-expiration}}}.
 
  | en = This item will expire on {{{item-expiration}}}.
 
  | nl = Dit item zal vervallen op {{{item-expiration}}}.
 
  | pl = Ten przedmiot traci ważność {{{item-expiration}}}
 
  | pt-br = Este item irá expirar em {{{item-expiration}}}.
 
  | ru = Срок годности: до {{{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}}}.
 
  | hu = Ezt a tárgyat csak meghatározott alkalmanként lehet használni.  Ennyiszer: {{{item-uses}}}
 
  | fr = Cet objet a un nombre d'utilisations limité. Utilisations restantes : {{{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 można użyć jeszcze {{{item-uses}}} razy.
 
  | pt = Este é um item de utilização limitada. Utilizações restantes: {{{item-uses}}}.
 
  | pt-br = Este é um item de utilização limitada. Utilizações restantes: {{{item-uses}}}.
 
  | ru = Этот предмет можно использовать ограниченное количество раз. Осталось: {{{item-uses}}} раз(а).
 
  | sv = Det här föremålet har begränsad användning. Gånger kvar: {{{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, zh-hans, zh-hant|One single line at the bottom requires translation.}}
 
{{Template doc}}
 
</noinclude>
 

Latest revision as of 15:18, 10 May 2011