Difference between revisions of "Template:LODTable/core"
(Removing swapping logic to reduce overhead) |
m |
||
Line 2: | Line 2: | ||
|{{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}}}}} | ||
− | {{!}}{{#expr:(1-{{{3|{{{2}}}}}}/{{{2}}})*100 round 2}}}}% | + | {{!}}{{#expr:(1-{{{3|{{{2}}}}}}/{{{2}}})*100 round 2}}}}% |
|-</includeonly><noinclude> | |-</includeonly><noinclude> | ||
{{Doc begin}} | {{Doc begin}} |
Revision as of 02:57, 18 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}}
.