- 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.
Template:Prefstring dwarves
(view - edit - history - purge) Documentation
This template finds the current page name, checks the [PREFSTRING] of an acompanying /raw page, and outputs a complete preference sentence accordingly.
Usage (fluffy wambler for example):
{{Prefstring dwarves}}
Some dwarves like fluffy wamblers for their warm heart, their gentle nature, and their stumble bumbling.
If no /raw or [PREFSTRING] is found, the fallback outputs:
lack of a [PREFSTRING] token
Primarily intended for inline use and 0 parameters.
This template is dependent on {{Prefstring/list}} and {{Prefstring dwarves/core}}, which are intended for use within templates wanting to conveniently parse preference strings. In a pinch, you can use {{Prefstring dwarves|{{:PageNameHere/raw}}}} to invoke an explicit page as the first parameter (though if that starts happening often, leave a comment on the talk page so the author knows a keyword/switch variant of this might be warranted).