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:Vermin attrib proc"
Jump to navigation
Jump to search
m (minor fixes) |
(try to handle shells here) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
#if:{{tag|{{{1}}}|VERMIN_EATER}}|{{attrib format|Devours food{{Category|Devours food}}}}}}{{ | #if:{{tag|{{{1}}}|VERMIN_EATER}}|{{attrib format|Devours food{{Category|Devours food}}}}}}{{ | ||
#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}}}|EXTRACT}}|{{attrib format|[[Extract]]}}}}{{#ifexpr:{{#if:{{tag|{{{1}}}|FISHITEM}}|1|0}} and {{ | + | #if:{{tag|{{{1}}}|EXTRACT}}|{{attrib format|[[Extract]]}}}}{{ |
− | #if:{{tag|{{{1}}}|VERMIN_NOFISH}}|0|1}}|{{attrib format|[[Fishing|Fishable]]{{Category|Fishable}}}}}}{{ | + | #ifexpr:{{#if:{{tag|{{{1}}}|FISHITEM}}|1|0}} and {{#if:{{tag|{{{1}}}|VERMIN_NOFISH}}|0|1}}|{{attrib format|[[Fishing|Fishable]]{{Category|Fishable}}}}}}{{ |
#if:{{tag|{{{1}}}|FLIER}}|{{attrib format|{{Catlink|Flying}}{{Category|Flying}}}}}}{{ | #if:{{tag|{{{1}}}|FLIER}}|{{attrib format|{{Catlink|Flying}}{{Category|Flying}}}}}}{{ | ||
#if:{{tag|{{{1}}}|VERMIN_HATEABLE}}|{{attrib format|[[Hateable]]{{Category|Hateable}}}}}}{{ | #if:{{tag|{{{1}}}|VERMIN_HATEABLE}}|{{attrib format|[[Hateable]]{{Category|Hateable}}}}}}{{ | ||
Line 12: | Line 12: | ||
#if:{{tag|{{{1}}}|PET}}|{{attrib format|[[Pet]]{{Category|Pet}}}}}}{{ | #if:{{tag|{{{1}}}|PET}}|{{attrib format|[[Pet]]{{Category|Pet}}}}}}{{ | ||
#if:{{tag|{{{1}}}|SYNDROME}}|{{attrib format|[[Syndrome]]{{Category|Syndrome}}}}}}{{ | #if:{{tag|{{{1}}}|SYNDROME}}|{{attrib format|[[Syndrome]]{{Category|Syndrome}}}}}}{{ | ||
+ | #if:{{tag|{{{1}}}|USE_MATERIAL_TEMPLATE|1|SHELL}}{{tag|{{{1}}}|HASSHELL}}|{{attrib format|{{Catlink|Shell}}{{Category|Shell}}}}}}{{ | ||
#if:{{tag|{{{1}}}|WEBBER}}|{{attrib format|[[Web]]s{{Category|Webs}}}}}} | #if:{{tag|{{{1}}}|WEBBER}}|{{attrib format|[[Web]]s{{Category|Webs}}}}}} | ||
− | </includeonly> | + | </includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 20:45, 18 June 2024
(view - edit - history - purge) Documentation
Usage:
{{vermin_attrib_proc|creature raws}}
Returns a formatted list of "interesting" attribute tags for the given vermin creature raw data.
After making any edits that change the way categorization works in this template, you must also make a null edit to {{Verminlookup/aux}} in order to propagate the changes correctly.