Template:Backpack item: Difference between revisions

From Zombie Survival
Jump to navigation Jump to search
mNo edit summary
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; en=float:right; left: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:TF2 Build, Verdana, Geneva, sans-serif;">{{#if:{{{custom-name|}}} <!-- Check for custom name (overrides anything else) -->
<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) -->
| {{#ifeq:{{lc:{{{no-custom-name-quotes}}}}}|yes
| {{#ifeq:{{lc:{{{no-custom-name-quotes}}}}}|yes
   | {{{custom-name}}}
   | {{{custom-name}}}
Line 58: 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 = {{Strange rank name|item-name = {{{item-name|}}}|rankson={{{rankson}}}|kills={{{killcount|0}}}}}}}
         | strange = {{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. -->
         | #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 -->

Revision as of 12:48, 3 November 2020