Difference between revisions of "Template:LODTable/core"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>|{{item link|{{{1}}}}}{{#if:{{{style|}}}|&nbsp;<small>({{item name|{{{style}}}}})</small>}}{{#if:{{{level|}}}|&nbsp;<small>({{common string|level|{{{level}}}}})</small>}}
+
<includeonly>|[[{{{1}}}{{if lang}}|{{item name|{{{1}}}}}]]{{#if:{{{style|}}}|&nbsp;<small>({{item name|{{{style}}}}})</small>}}{{#if:{{{level|}}}|&nbsp;<small>({{common string|level|{{{level}}}}})</small>}}
 
|{{Chart bar|{{{2}}}|max={{{max}}}|hex=#{{#if:{{{3|}}}|F3A957|93AECF}}}}
 
|{{Chart bar|{{{2}}}|max={{{max}}}|hex=#{{#if:{{{3|}}}|F3A957|93AECF}}}}
 
|{{#if:{{{3|}}}|{{Chart bar|{{{3}}}|max={{{max}}}}}
 
|{{#if:{{{3|}}}|{{Chart bar|{{{3}}}|max={{{max}}}}}

Revision as of 15:38, 21 February 2015

Documentation for LODTable/core

If there is only one number, then the bar is recolored blue. The max of the two numbers is used for the high quality, and the min is used for low quality.
Efficiency is calculated by 1-low/high, and rounded off. It defaults to 0% if only one number is given.
Styles are passed into style=, and use an entry from {{Dictionary/items}}. Level (for buildings) uses level=, and pulls from {{Dictionary/common strings}}.