A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbQuery"

From A Wiki in the Desert
Line 5: Line 5:
 
   {{#if: {{{leaf|}}}|[[Has leaf::{{{leaf}}}]]}}
 
   {{#if: {{{leaf|}}}|[[Has leaf::{{{leaf}}}]]}}
 
   {{#if: {{{stem|}}}|[[Has stem::{{{stem}}}]]}}
 
   {{#if: {{{stem|}}}|[[Has stem::{{{stem}}}]]}}
   {{#if: {{{color|}}}|{{#arraydefine:color|{{{color}}}}}{{#arrayprint:color||@@@@|[[Has color::@@@@]]}}}}
+
   {{#if: {{{color|}}}|{{#arraydefine:color|{{{color}}}}}{{#arrayprint:color||@@@@|[[Has color::Herb/Color/@@@@]]}}}}
 
   {{#switch: {{{strength|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Strength]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Strength]][[Has magnitude::<<0]]</q>]] |}}
 
   {{#switch: {{{strength|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Strength]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Strength]][[Has magnitude::<<0]]</q>]] |}}
 
   {{#switch: {{{dexterity|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::<<0]]</q>]] |}}
 
   {{#switch: {{{dexterity|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::<<0]]</q>]] |}}

Revision as of 17:23, 26 May 2021