Difference between revisions of "Template:LODTable/core"
(been working on this for a while, i think its safe to push now) |
m |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | |{{item link|{{{1}}}}}{{#if:{{{style|}}}| <small>({{item name|{{{style}}}}})</small>}}{{#if:{{{level|}}}| <small>({{common string|level|{{{level}}}}})</small>}} | + | |{{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}} | |{{Chart bar|{{{2}}}|max={{{2}}}|hex=#F3A957}} | ||
|{{#if:{{{3|}}}||N/A}}{{#if:{{{3|}}}|{{Chart bar|{{{3}}}|max={{{2}}}|hex=#F3A957}}}} | |{{#if:{{{3|}}}||N/A}}{{#if:{{{3|}}}|{{Chart bar|{{{3}}}|max={{{2}}}|hex=#F3A957}}}} |
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}}
.