Difference between revisions of "Template:HerbQuery"
From A Wiki in the Desert
(35 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{HerbTable | | + | <includeonly>{{HerbTable | |
[[Category:Herb]] | [[Category:Herb]] | ||
− | {{#if: {{{name}}}|[[~*{{{name}}}*]]}} | + | {{#if: {{{name|}}}|[[~*{{{name}}}*]]}} |
− | {{#if: {{{leaf}}}|[[Has leaf::{{{leaf}}}]]}} | + | {{#if: {{{method|}}}|[[requires::{{{method}}}]]}} |
− | {{#if: {{{stem}}}|[[Has stem::{{{stem}}}]]}} | + | {{#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> |