Difference between revisions of "User:Smashman/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
(nvm, he fixed it)
 
(15 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;">
 
<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;">[[File:Backpack {{{item-name|}}}.png|90x90px]]</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; font-family:{{lang<!--
 
  
      // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
 
      | 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 = PMingLiU, MingLiU, serif; font-weight: bold;
 
      }}"><!--
 
 
  // Quality prefix switch.
 
  // First test if 'prefix' param is manually defined.
 
  // Test for language pages, skip on non-English ones.
 
  // Then finally test 'quality': if 'unique' or 'normal', hide prefix.
 
 
  -->{{#if:{{{custom-name|}}}||{{#if:{{{prefix|}}}
 
  | {{#switch:{{lc:{{{prefix|}}}}}
 
    | no | 0 | false | none | hide | negative = {{ns:0}}<!-- NULL -->
 
    | #default = {{{prefix|}}}&#32;
 
    }}
 
  | {{lang
 
    | en = {{if lang
 
          | en = {{#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 quality prefix on non-en pages with no translation provided. -->
 
          }}
 
    | de = {{#switch:{{lc:{{{quality|}}}}}
 
      | unique
 
      | normal
 
      | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
 
      | unusual = (Ungewöhnlich)&#32;
 
      | #default = {{ucfirst:{{{quality|}}}}}&#32;
 
      }}
 
    }}
 
  }}}}{{#if:{{{custom-name|}}}|"{{{custom-name}}}"|{{#if:{{{item-name-local|}}}|{{{item-name-local}}}|{{{item-name}}}}}}}</span><!--
 
 
--><br /><span class="att_level">{{{item-level|Level 1 - 100}}}</span><!--
 
 
-->{{#if:{{{custom-name|}}}|<br /><span class="att_level">Original name: {{#if:{{{prefix|}}}
 
  | {{#switch:{{lc:{{{prefix|}}}}}
 
    | no | 0 | false | none | hide | negative = {{ns:0}}<!-- NULL -->
 
    | #default = {{{prefix|}}}&#32;
 
    }}
 
  | {{lang
 
    | en = {{if lang
 
          | en = {{#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 quality prefix on non-en pages with no translation provided. -->
 
          }}
 
    | de = {{#switch:{{lc:{{{quality|}}}}}
 
      | unique
 
      | normal
 
      | false = {{ns:0}}<!-- NULL: don't add prefix to 'unique' or 'normal' weapons. -->
 
      | unusual = (Ungewöhnlich)&#32;
 
      | #default = {{ucfirst:{{{quality|}}}}}&#32;
 
      }}
 
    }}
 
  }}{{#if:{{{item-name-local|}}}|{{{item-name-local}}}|{{{item-name}}}}}</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:{{{item-description|}}}  |<br /><span class="att_neutral" style="line-height:1em; font-size:95%; width:80%;">{{{item-description}}}</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 -->
 
  | 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 kun je maar een beperkt aantal keren gebruiken. Resterend: {{{item-uses}}}.
 
  | no = Denne gjenstanden har begrenset bruk. Gjenstående bruk: {{{item-uses}}}.
 
  | pl = Ten przedmiot mozna uzyc jeszcze {{{item-uses}}} razy.
 
  | pt = 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>
 

Latest revision as of 14:14, 21 June 2014