Difference between revisions of "Template:Qualitycheck"

From Team Fortress Wiki
Jump to: navigation, search
(Reduced CSS)
Line 1: Line 1:
<div class="qc" style="{{#switch: {{lc:{{{1}}}}}
+
<div class="qc {{lc:{{{1}}}}} {{#switch:{{lc:{{{3|{{{2}}}}}}}}
| unique = background:#ffd700;color:#2a2725;
+
| no | hide = hide
| vintage = background:#476291;color:#ebe2ca;
+
| yes | nohide | #default = hide}}">
| genuine = background:#4d7455;color:#ebe2ca;
 
| strange = background:#cf6a32;color:#ebe2ca;
 
| unusual = background:#8650ac;color:#ebe2ca;
 
| haunted = background:#000000;color:#8650ac;
 
| community
 
| self-made = background:##70b04a;color:#ebe2ca;
 
| valve = background:#a50f79;color:#ebe2ca;
 
| normal
 
| #default = background:#b2b2b2;color:#2a2725;}}{{#switch:{{lc:{{{3|{{{2}}}}}}}}
 
| yes
 
| nohide = visibility:visible;
 
| no
 
| hide
 
| #default = visibility:hidden;}}">
 
 
{{#switch: {{lc:{{{2}}}}}
 
{{#switch: {{lc:{{{2}}}}}
 
| yes = <span title="{{lang
 
| yes = <span title="{{lang
 
   | en = Can exist in {{item name|{{{1}}}}} quality
 
   | en = Can exist in {{item name|{{{1}}}}} quality
 
   | pt-br = Pode existir como um item {{item name|{{{1}}}}}
 
   | pt-br = Pode existir como um item {{item name|{{{1}}}}}
   }}" style="vertical-align:middle;padding-top:0.25em;">✔</span>
+
   }}" class="tick">✔</span>
 
| no
 
| no
 
| #default = <span title="{{lang
 
| #default = <span title="{{lang
 
   | en = Cannot exist in {{item name|{{{1}}}}} quality
 
   | en = Cannot exist in {{item name|{{{1}}}}} quality
 
   | pt-br = Não pode existir como um item {{item name|{{{1}}}}}
 
   | pt-br = Não pode existir como um item {{item name|{{{1}}}}}
   }}" style="vertical-align:middle;padding-top:0.25em;">✘</span>
+
   }}" class="tick">✘</span>
 
}}</div>
 
}}</div>

Revision as of 13:32, 30 April 2012