A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbQuery"

From A Wiki in the Desert
(Created page with "{{HerbTable | Category:Herb }}")
 
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HerbTable |
+
<includeonly>{{HerbTable |
 
   [[Category:Herb]]
 
   [[Category:Herb]]
}}
+
  {{#if: {{{name|}}}|[[~*{{{name}}}*]]}}
 +
  {{#if: {{{method|}}}|[[requires::{{{method}}}]]}}
 +
  {{#if: {{{leaf|}}}|[[Has leaf::{{{leaf}}}]]}}
 +
  {{#if: {{{stem|}}}|[[Has stem::{{{stem}}}]]}}
 +
  {{#if: {{{color|}}}|{{#arraydefine:color|{{{color}}}}}{{#arrayprint:color||@@@@|[[Has 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: {{{dexterity|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Dexterity]][[Has magnitude::<<0]]</q>]] |}}
 +
  {{#switch: {{{endurance|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Endurance]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Endurance]][[Has magnitude::<<0]]</q>]] |}}
 +
  {{#switch: {{{speed|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Speed]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Speed]][[Has magnitude::<<0]]</q>]] |}}
 +
  {{#switch: {{{constitution|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Constitution]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Constitution]][[Has magnitude::<<0]]</q>]] |}}
 +
  {{#switch: {{{focus|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Focus]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Focus]][[Has magnitude::<<0]]</q>]] |}}
 +
  {{#switch: {{{perception|}}}| + = [[Has subobject::<q>[[Affects attribute::Attribute/Perception]][[Has magnitude::>>0]]</q>]] | - = [[Has subobject::<q>[[Affects attribute::Attribute/Perception]][[Has magnitude::<<0]]</q>]] |}}
 +
}}</includeonly>

Latest revision as of 21:02, 18 May 2021