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

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
м (Интервики)
м (Категоризация)
 
Строка 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>
<noinclude>[[en:Template:CSizeInventory/doc]][[Категория:Документация шаблонов]]</noinclude>

Текущая версия от 21:07, 9 августа 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