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:Attrib proc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(test new category to verify)
(test tag evaluation again)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#if:{{tag|{{{{FULLPAGENAME}}/raw}}|FLIER}}|{{Category|Reallyflying}}}}{{FULLPAGENAME}}/raw {{#if:{{tag|{{{{{FULLPAGENAME}}}/raw}}|FLIER}}||{{Category|Nonflying}}}}{{#if:{{tag|{{{1}}}|FLIER}}|{{attrib format|{{Catlink|Flying}}{{Category|Flying}}}}}}{{
+
{{#if:{{tag|{{{{FULLPAGENAME}}/raw}}|FLIER}}|{{Category|Reallyflying}}|{{Category|NotReallyFlying}}}}{{#if:{{tag|{{{1}}}|FLIER}}|{{attrib format|{{Catlink|Flying}}{{Category|Flying}}}}}}{{
 
#if:{{tag|{{{1}}}|MEGABEAST}}|{{attrib format|{{Catlink|Megabeast}}{{Category|Megabeast}}}}}}{{
 
#if:{{tag|{{{1}}}|MEGABEAST}}|{{attrib format|{{Catlink|Megabeast}}{{Category|Megabeast}}}}}}{{
 
#if:{{tag|{{{1}}}|SEMIMEGABEAST}}|{{attrib format|{{Catlink|Semi-megabeast}}{{Category|Semi-megabeast}}}}}}{{
 
#if:{{tag|{{{1}}}|SEMIMEGABEAST}}|{{attrib format|{{Catlink|Semi-megabeast}}{{Category|Semi-megabeast}}}}}}{{

Revision as of 08:03, 13 February 2013

Usage: {{attrib_proc | creature raws}}

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