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:Listprefstring

From Dwarf Fortress Wiki
Revision as of 09:47, 25 December 2022 by 2kai2kai2 (talk | contribs) (Correct bug in two-PREFSTRING case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lists all the reasons dwarves like something. For example:

  • {{listprefstring|DF2014:Eagle/raw}} → Some dwarves like eagles for their high soaring.
  • {{listprefstring|DF2014:Eagle/raw}} → Some dwarves like rocs for their awe-inspiring size and dedication to their young.
  • {{listprefstring|DF2014:Nightwing/raw}} → Some dwarves like nightwings for their jackal heads, bat wings, long tails, manes, fangs, ability to suck blood, tightly-stretched skin, and needle-like horns.
  • {{listprefstring|{{DF2014:Nightwing/raw}}}} → Some dwarves like nightwings for their jackal heads, bat wings, long tails, manes, fangs, ability to suck blood, tightly-stretched skin, and needle-like horns.

Note that the reason for using DF2014 examples is merely that the raws for later version(s) have not been added at the time of writing

Argument can be any of the following:

  • Location of the raw file. e.g. DF2014:Nightwing/raw
  • Full text of the raw file.
  • None (Uses {{FULLPAGENAME}}/raw)