v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Template:PVm

From Dwarf Fortress Wiki
Revision as of 23:14, 9 April 2011 by DUMBELLS (talk | contribs) (Created page with '<noinclude> <nowiki><span title="(pet value)"> {{Raw Tile|(■ * (floor (pet value / 100)))|0:0:1}} {{Raw Tile|(■ * (1 if pet value / 100 = non-integer, 0 if not))|#bb0}} {{Raw…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<span title="(pet value)"> {{Raw Tile|(■ * (floor (pet value / 100)))|0:0:1}} {{Raw Tile|(■ * (1 if pet value / 100 = non-integer, 0 if not))|#bb0}} {{Raw Tile|(■ * (100 - ((floor (pet value / 100)) + (1 if pet value / 100 = non-integer, 0 if not)))|6:0:1}} </span>

Pet value = x
{{PVm|x}} = cool output


Ex:

Pet value = 650 -> {{PVm|650}}
Pet value = 2500 -> {{PVm|2500}}
Pet value = 10000 -> {{PVm|10000}}

Name? Pet Value
Template:L 650 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Template:L 2500 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Template:L 10000 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

100 tiles, each representing 100 pet value.
= not filled
= not completely filled
= completely filled