A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbTableBody"

From A Wiki in the Desert
Line 1: Line 1:
{{!}}-
+
{{#arraydefine:herb|{{#ask:[[-Has subobject::{{{1}}}]]|?Affects attribute#=|?Has magnitude#=|format=plainlist|link=none|mainlabel=-}}}}{{#arraysearcharray:herbtidy|herb|/^.*?\/(.+)\s\((.+)\).*$/|0|-1|$1 $2}}{{!}}-
 
{{!}}[[Image:Herbs_{{#replace:{{#replace:{{{1}}}|Herb/|}}| |}}.jpg|thumb|250x250px]]
 
{{!}}[[Image:Herbs_{{#replace:{{#replace:{{{1}}}|Herb/|}}| |}}.jpg|thumb|250x250px]]
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
 
{{!}}[[{{{1}}}|{{#replace:{{{1}}}|Herb/}}]]
Line 7: Line 7:
 
{{!}}{{#replace:{{{5}}}|Herb/Color/|}}
 
{{!}}{{#replace:{{{5}}}|Herb/Color/|}}
 
{{!}}{{#replace:{{{6}}}|Herb/|}}
 
{{!}}{{#replace:{{{6}}}|Herb/|}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Strength]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Strength/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Dexterity]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Dexterity/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Endurance]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Endurance/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Speed]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Speed/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Constitution]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Constitution/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Focus]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Focus/}}}}| |1}}}}
{{!}} {{#ask:[[-Has subobject::{{{1}}}]][[Affects attribute::Attribute/Perception]]|?Has magnitude#=|mainlabel=-}}
+
{{!}} {{AttributeSign | {{#explode:{{#arrayindex:herbtidy|{{#arraysearch:herbtidy|/Perception/}}}}| |1}}}}
 
{{!}}-
 
{{!}}-

Revision as of 14:07, 13 May 2021

|- |[[Image:Herbs_{{{1}}}.jpg|thumb|250x250px]] |[[{{{1}}}|{{{1}}}]] |{{{2}}} |{{{3}}} |{{{4}}} |{{{5}}} |{{{6}}} | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. | Expression error: Unexpected > operator. |-