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"
Jump to navigation
Jump to search
(test explicit conditional inverted logic) |
(test tag expansion in transclusion) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#if:{{tag| | + | {{#if:{{tag|This creature is a [FLIER], definitely|FLIER}}|{{Category|Trueflying}}}}{{{FULLPAGENAME}}}/raw {{#if:{{tag|{{{{{FULLPAGENAME}}}/raw}}|FLIER}}||{{Category|Nonflying}}}}{{#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 07:54, 13 February 2013
Usage: {{attrib_proc | creature raws}}
Returns a formatted list of "interesting" attribute tags for the given raw creature data.