📖 This is a live mirror of the <a href="https://www.theamazonbasin.com/wiki/">Basin Wiki</a> (theamazonbasin.com), hosted to keep the content available if the original ever goes offline. All content belongs to the original Basin Wiki authors — please visit and support the <a href="https://www.theamazonbasin.com/">original site</a>.

Template:Gr

From Basin Wiki (D2 mirror)
Revision as of 09:27, 30 April 2009 by imported>Skie (Created page with '<span style="color: green; font-weight: bold;">{{{1|0}}}...{{ #expr: ( {{{1|0}}} + 12 * ( {{{2|0}}} - {{{1|0}}} ) / 15 ) round 0 }}...{{{2|0}}}</span><noinclude> == Usage == To ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

0...{{ #expr: ( 0 + 12 * ( 0 - 0 ) / 15 ) round 0 }}...0

Usage

To simplify the insertion of green number ranges within skill descriptions. The output of this template will provide green numbers for attribute levels 0, 12 & 15, each separated by ellipses. For skills which do not follow the 0...12...15 progression, such as Spectral Agony or Turtle Shell, use {{gr2{{#if:||{{{2}}}}}}}.

{{gr|val_1|val_2}}
val_1
Skill progression at attribute level 0
val_2
Skill progression at attribute level 15

Example

{{gr|10|100}} will parse to 10...{{ #expr: ( 10 + 12 * ( 100 - 10 ) / 15 ) round 0 }}...100.