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>]] |}} |