Difference between revisions of "Template:Quality list"

From Team Fortress Wiki
Jump to: navigation, search
(If quad doesn't exist, default to Unique (I believe))
(Undo edit by Smashman (Talk) (1702844) - Or not...)
Line 1: Line 1:
{{#ifexist:{{Quad|{{{item-name|}}}}}|
 
 
{{#if:{{Quad|{{{item-name|}}}|normal}}|<div class="quality-tag tooltip-normal">[[Normal{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|normal}}">{{item name|Normal}}</span>]]</div>}}<!--
 
{{#if:{{Quad|{{{item-name|}}}|normal}}|<div class="quality-tag tooltip-normal">[[Normal{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|normal}}">{{item name|Normal}}</span>]]</div>}}<!--
 
-->{{#if:{{Quad|{{{item-name|}}}|unique}}|<div class="quality-tag tooltip-unique">[[Unique{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|unique}}">{{item name|Unique}}</span>]]</div>}}<!--
 
-->{{#if:{{Quad|{{{item-name|}}}|unique}}|<div class="quality-tag tooltip-unique">[[Unique{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|unique}}">{{item name|Unique}}</span>]]</div>}}<!--
Line 11: Line 10:
 
-->{{#if:{{Quad|{{{item-name|}}}|self-made}}|<div class="quality-tag tooltip-self-made">[[Self-Made{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|self-made}}">{{item name|Self-Made}}</span>]]</div>}}<!--
 
-->{{#if:{{Quad|{{{item-name|}}}|self-made}}|<div class="quality-tag tooltip-self-made">[[Self-Made{{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|self-made}}">{{item name|Self-Made}}</span>]]</div>}}<!--
 
-->{{#if:{{Quad|{{{item-name|}}}|valve}}|<div class="quality-tag tooltip-valve">[[Valve (quality){{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|valve}}">{{item name|Valve}}</span>]]</div>}}
 
-->{{#if:{{Quad|{{{item-name|}}}|valve}}|<div class="quality-tag tooltip-valve">[[Valve (quality){{if lang}}|<span id="tooltip" title="{{QuAD|{{{item-name}}}|valve}}">{{item name|Valve}}</span>]]</div>}}
|
 
<div class="quality-tag tooltip-unique">[[Unique{{if lang}}|<span>{{item name|Unique}}</span>]]</div>
 
}}
 

Revision as of 13:45, 21 June 2014