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
m
m
Line 8: Line 8:
 
#if:{{tag|{{{1}}}|AMPHIBIOUS}}|{{attrib format|{{Catlink|Amphibious}}{{Category|Amphibious}}}}}}{{
 
#if:{{tag|{{{1}}}|AMPHIBIOUS}}|{{attrib format|{{Catlink|Amphibious}}{{Category|Amphibious}}}}}}{{
 
#ifexpr:{{#ifeq:{{NAMESPACE}}|23a|1|0}} or {{#ifeq:{{NAMESPACE}}|40d|1|0}}|{{
 
#ifexpr:{{#ifeq:{{NAMESPACE}}|23a|1|0}} or {{#ifeq:{{NAMESPACE}}|40d|1|0}}|{{
   #if:{{tag|{{{1}}}|NO_GENDER}}|{{attrib format|Genderless{{Catlink|Genderless}}{{Category|Genderless}}}}}}{{
+
   #if:{{tag|{{{1}}}|NO_GENDER}}|{{attrib format|{{Catlink|Genderless}}{{Category|Genderless}}}}}}{{
   #if:{{tag|{{{1}}}|MALE}}|{{attrib format|Always Male{{Catlink|Genderless}}{{Category|Genderless}}}}}}{{
+
   #if:{{tag|{{{1}}}|MALE}}|{{attrib format|Always Male}}}}{{
   #if:{{tag|{{{1}}}|FEMALE}}|{{attrib format|Always Female{{Catlink|Genderless}}{{Category|Genderless}}}}}}|{{
+
   #if:{{tag|{{{1}}}|FEMALE}}|{{attrib format|Always Female}}}}|{{
   #if:{{tag|{{{1}}}|MALE}}{{tag|{{{1}}}|FEMALE}}||{{attrib format|Genderless{{Catlink|Genderless}}{{Category|Genderless}}}}}}}}{{
+
   #if:{{tag|{{{1}}}|MALE}}{{tag|{{{1}}}|FEMALE}}||{{attrib format|{{Catlink|Genderless}}{{Category|Genderless}}}}}}}}{{
 
#if:{{tag|{{{1}}}|NOSTUN}}|{{attrib format|{{Catlink|No Stun}}{{Category|No Stun}}}}}}{{
 
#if:{{tag|{{{1}}}|NOSTUN}}|{{attrib format|{{Catlink|No Stun}}{{Category|No Stun}}}}}}{{
 
#if:{{tag|{{{1}}}|NOPAIN}}|{{attrib format|{{Catlink|No Pain}}{{Category|No Pain}}}}}}{{
 
#if:{{tag|{{{1}}}|NOPAIN}}|{{attrib format|{{Catlink|No Pain}}{{Category|No Pain}}}}}}{{
Line 23: Line 23:
 
#if:{{tag|{{{1}}}|MOUNT}}|{{attrib format|{{Catlink|Mount}}{{Category|Mount}}}}}}{{
 
#if:{{tag|{{{1}}}|MOUNT}}|{{attrib format|{{Catlink|Mount}}{{Category|Mount}}}}}}{{
 
#if:{{tag|{{{1}}}|MOUNT_EXOTIC}}|{{attrib format|{{Catlink|Exotic mount}}{{Category|Exotic mount}}}}}}{{
 
#if:{{tag|{{{1}}}|MOUNT_EXOTIC}}|{{attrib format|{{Catlink|Exotic mount}}{{Category|Exotic mount}}}}}}{{
#if:{{tag|{{{1}}}|USE_MATERIAL_TEMPLATE|1|SHELL}}{{tag|{{{1}}}|HASSHELL}}|{{attrib format|[[Shell]]s{{Catlink|Shell}}{{Category|Shell}}}}}}{{
+
#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}}}}}}{{
 
#if:{{tag|{{{1}}}|SYNDROME}}|{{attrib format|[[Syndrome]]{{Category|Syndrome}}}}}}{{
 
#if:{{tag|{{{1}}}|SYNDROME}}|{{attrib format|[[Syndrome]]{{Category|Syndrome}}}}}}{{
 
#if:{{tag|{{{1}}}|BEACH_FREQUENCY}}|{{attrib format|[[Beaching]]{{Category|Beaching}}}}}}{{
 
#if:{{tag|{{{1}}}|BEACH_FREQUENCY}}|{{attrib format|[[Beaching]]{{Category|Beaching}}}}}}{{
 
#ifeq:{{creature/is humanoid|{{{2}}}}}|1|{{attrib format|{{catlink|Humanoids|Humanoid}}{{category|Humanoids}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 
#ifeq:{{creature/is humanoid|{{{2}}}}}|1|{{attrib format|{{catlink|Humanoids|Humanoid}}{{category|Humanoids}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:42, 18 June 2024