Template:Backpack item: Difference between revisions

From Zombie Survival
Jump to navigation Jump to search
Created page with "<includeonly><div style="text-align: center; background: #24201B; width: {{{width|100%}}}; -moz-border-radius: 10px; border-radius: 10px; padding:7px 0px; {{{style|}}}"> <cent..."
 
mNo edit summary
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|}}}">
<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|}}}{{{unusual-effect|}}}{{{decal-icon|}}}{{{strange-icon|}}}{{{stat-icon|}}}{{{pyroland-icon|}}}{{{halloween-icon|}}}|<div style="width:26px; height:26px; {{lang incomplete|en=float:right; left:86px; |ar=float:left; right:86px;}} position:absolute; top:6px;"><!--
<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|}}}{{{unusual-effect|}}}{{{decal-icon|}}}{{{strange-icon|}}}{{{stat-icon|}}}{{{pyroland-icon|}}}{{{halloween-icon|}}}|<div style="width:26px; height:26px; en=float:right; left:86px; position:absolute; top:6px;"><!--
-->{{#if:{{{paint-color|}}}|[[File:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can{{if lang}}]]}}<!--
-->{{#if:{{{paint-color|}}}|[[File:Paint Splat {{{paint-color|}}}.png|25px|link=Paint Can{{if lang}}]]}}<!--
-->{{#if:{{{unusual-effect|}}}|[[File:Viewmode unusual.png|25px|link=Unusual{{if lang}}]]}}<!--
-->{{#if:{{{unusual-effect|}}}|[[File:Viewmode unusual.png|25px|link=Unusual{{if lang}}]]}}<!--
Line 15: Line 15:
}}}}</div></center>
}}}}</div></center>
<div style="-moz-border-radius: 10px; border-radius: 10px; background: transparent; padding: 5px; margin: 0px 7px;">
<div style="-moz-border-radius: 10px; border-radius: 10px; background: transparent; padding: 5px; margin: 0px 7px;">
<span class="{{#if:{{{grade|}}}|grade_{{lc:{{{grade}}}}}|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 incomplete<!--
<span class="{{#if:{{{grade|}}}|grade_{{lc:{{{grade}}}}}|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:TF2 Build, Verdana, Geneva, sans-serif;">{{#if:{{{custom-name|}}} <!-- Check for custom name (overrides anything else) -->
 
      // Specific fonts for some languages that aren't supported by the standard TF2 Build font. -->
      | en = TF2 Build, Verdana, Geneva, sans-serif;
      | ar = مبنيات TF2 , bold;
      | hu = Verdana, Geneva, sans-serif; font-weight: bold;
      | ja = TF2 Build, 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 = JhengHei, Verdana, JhengHei, JhengHei, sans-serif; font-weight: bold;
 
}}">{{#if:{{{custom-name|}}} <!-- Check for custom name (overrides anything else) -->
| {{#ifeq:{{lc:{{{no-custom-name-quotes}}}}}|yes
| {{#ifeq:{{lc:{{{no-custom-name-quotes}}}}}|yes
   | {{{custom-name}}}
   | {{{custom-name}}}
Line 69: Line 58:
       | ar|cs|da|de|es|fi|fr|hu|it|nl|no|pl|pt|pt-br|ro|ru|sv = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Suffix for items with quality. -->
       | ar|cs|da|de|es|fi|fr|hu|it|nl|no|pl|pt|pt-br|ro|ru|sv = {{#switch:{{lc:{{{quality|¬}}}}} <!-- Suffix for items with quality. -->
         | unique | normal = {{ns:0}} <!-- 'unique' and 'normal' weapons do not get a suffix. -->
         | unique | normal = {{ns:0}} <!-- 'unique' and 'normal' weapons do not get a suffix. -->
         | strange = {{Lang incomplete
         | strange = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson}}}|kills={{{killcount|0}}}}}}}
          | 1 <!-- #default --> = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson}}}|kills={{{killcount|0}}}}}
         | #default = ({{Item name|{{{quality}}}}}) <!-- Not one of the above qualities, default to the quality name. -->
          | pt-br = ({{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson}}}|kills={{{killcount|0}}}}})
          }}
         | #default = {{Lang incomplete
          | de = - {{Item name|{{{quality}}}}} <!-- Hyphen, no parentheses in German -->
          | ru = {{Item name|{{{quality}}}}} <!-- No parentheses in Russian -->
          | 1 <!-- #default --> = ({{Item name|{{{quality}}}}}) <!-- Not one of the above qualities, default to the quality name. -->
          }}
         | ¬ | false = {{ns:0}} <!-- Quality not defined, do not create prefix -->
         | ¬ | false = {{ns:0}} <!-- Quality not defined, do not create prefix -->
         }}
         }}
Line 83: Line 65:
     }}
     }}
   }}
   }}
}}</span><div style="font-family:{{lang incomplete<!--
}}</span><div style="font-family:TF2 Secondary, Verdana, Geneva, sans-serif;font-size: 15px"><!--
      // Specific fonts for some languages that aren't supported by the standard TF2 Secondary font. -->
      | en = TF2 Secondary, Verdana, Geneva, sans-serif;
      | hu = Verdana, Genva, sans-serif; font-weight: bold;
      | ja = TF2 Secondary, 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;
      | zh-hant = JhengHei, JhengHei, sans-serif;
      }} font-size: 15px"><!--


  // Limited and Strange item name string.
  // Limited and Strange item name string.

Revision as of 11:45, 3 November 2020