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

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
Нет описания правки
 
(нет различий)

Текущая версия от 20:04, 11 марта 2011


This template generates a customized list of things.

Template parameters. There are a lot (oh my)

  • 1 - location of raw file
  • type - object type (eg: INORGANIC or CREATURE) (required)
  • reqtagtype - require this tag (required)
  • reqtagentry - require this entry in the corresponding offset of the required tag. (default reqtagtype)
  • reqtagoffset - (default 0)
  • capturetagtype - the list will be generated based on these raw tokens (required)
  • capturetagoffset - and pull from this offset inside of them (default 1)
  • delimiter - inserted between results (default none)
  • decoration - decorate the results
  • format - formatting the replacement string. Use \2\3 for the captured field. (default \2\3)