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.

Difference between revisions of "Template:Tame attrib proc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(add "breeding")
m (indicate non-breeding animals too)
Line 4: Line 4:
 
#if:{{tag|{{/raw}}|LAYS_EGGS}}|{{attrib format|[[Egg]]laying{{Category|Egglaying}}}}}}{{
 
#if:{{tag|{{/raw}}|LAYS_EGGS}}|{{attrib format|[[Egg]]laying{{Category|Egglaying}}}}}}{{
 
#if:{{tag|{{{1}}}|PET_EXOTIC}}|{{attrib format|[[Exotic pet]]{{Category|Exotic pet}}}}}}{{
 
#if:{{tag|{{{1}}}|PET_EXOTIC}}|{{attrib format|[[Exotic pet]]{{Category|Exotic pet}}}}}}{{
#if:{{tag|{{{1}}}|CHILD}}|{{attrib format|[[Breeding]]}}}}
+
#if:{{tag|{{{1}}}|CHILD}}|{{attrib format|[[Breeding]]}}|{{attrib format|[[Breeding|Non-Breeding]]}}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Usage: <nowiki>{{tame_attrib_proc | creature raws}}</nowiki>
 
Usage: <nowiki>{{tame_attrib_proc | creature raws}}</nowiki>

Revision as of 03:25, 26 February 2013

Usage: {{tame_attrib_proc | creature raws}}

Returns a formatted list of "interesting" tame attribute tags for the given raw creature data.