Шаблон:CSizeInventory/doc: различия между версиями

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
м (Новая страница: «==Usage== <pre> {{CSizeInventory|<creature name>|<offset>}} </pre> Entering a valid creature name will return one of three values, depending on the offset. * chil...»)
 
м (Интервики)
Строка 18: Строка 18:
Yields:<br>
Yields:<br>
{{CSizeInventory|badger|2}}  - equal to the size of an adolescent badger
{{CSizeInventory|badger|2}}  - equal to the size of an adolescent badger
<noinclude>[[en:Template:CSizeInventory/doc]]</noinclude>

Версия от 14:45, 4 августа 2018

Usage

{{CSizeInventory|<creature name>|<offset>}}

Entering a valid creature name will return one of three values, depending on the offset.

  • child body size of the creature (1)
  • adolescent body size of the creature (2)
  • adult body size of the creature (3)


This is meant mainly for easy listing of creature size values in other templates.


Examples:


{{CSizeInventory|badger|2}}
Yields:
7500 - equal to the size of an adolescent badger