Difference between revisions of "Template:Quality list"

From Team Fortress Wiki
Jump to: navigation, search
m (Removed protection from "Template:Quality list")
(If quad doesn't exist, default to Unique (I believe))
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 10: Line 11:
 
-->{{#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:44, 21 June 2014