Difference between revisions of "Template:LODTable/core"
m |
m |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>|{{item link|{{{1}}}}} | + | <includeonly> |
− | {{# | + | |{{item link|{{{1}}}}}{{#if:{{{style|}}}| <small>({{#if:{{{name|}}}|{{item name|{{{name}}}}}|{{item name|{{{style}}}}}}})</small>}}{{#if:{{{level|}}}| <small>({{common string|level|{{{level}}}}})</small>}} |
− | {{ | + | |{{Chart bar|{{{2}}}|max={{{2}}}|hex=#F3A957}} |
− | + | |{{#if:{{{3|}}}||N/A}}{{#if:{{{3|}}}|{{Chart bar|{{{3}}}|max={{{2}}}|hex=#F3A957}}}} | |
− | {{ | + | |{{#if:{{{3|}}}|{{#expr:((1-{{{3}}}/{{{2}}})*100 round 2)}}%|N/A}} |
− | | | + | |- |
− | {{ | + | </includeonly><noinclude> |
− | + | {{Doc begin}} | |
− | + | Two total LODs are supported - the highest and lowest.<br> | |
− | }} | + | |
− | + | Efficiency is calculated by 1-low/high, and rounded off. It defaults to "N/A" if only one number is given.<br> | |
− | + | ||
+ | Styles are passed into <code>style=</code>, and use an entry from {{tl|Dictionary/items}}. Level (for buildings) uses <code>level=</code>, and pulls from {{tl|Dictionary/common strings}}.</noinclude> |
Latest revision as of 09:04, 6 December 2020
Documentation for LODTable/core
Two total LODs are supported - the highest and lowest.
Efficiency is calculated by 1-low/high, and rounded off. It defaults to "N/A" 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}}
.