Difference between revisions of "Form:Herb"
From A Wiki in the Desert
(11 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> | ||
− | {{{info|page name=Herb/[name]}}} | + | {{{info|page name=Herb/<Herb[name]>}}} |
{{{for template|Herb}}} | {{{for template|Herb}}} | ||
{| class="formtable" | {| class="formtable" | ||
Line 15: | Line 15: | ||
|- | |- | ||
! Harvest Method: | ! Harvest Method: | ||
− | | {{{field|method}}} | + | | {{{field |
+ | |method | ||
+ | |input type=tokens | ||
+ | |values={{#arraydefine:actions|{{#ask: [[Category:Herb]]|?requires#=|format=array|mainlabel=-}}|, |unique,sort=desc}}{{#arraysearcharray:actions_trim|actions|/^Action\/(.*)$/|0|-1|$1}}{{#arrayprint:actions_trim}} | ||
+ | }}} | ||
|- | |- | ||
! Leaf: | ! Leaf: | ||
− | | {{{field|leaf|input type=combobox|values | + | | {{{field |
+ | |leaf | ||
+ | |input type=combobox | ||
+ | |values={{#arraydefine:leaves|{{#ask: [[Category:Herb]]|?Has leaf#=|format=array|mainlabel=-}}|, |unique,sort=desc}}{{#arraysearcharray:leaves_trim|leaves|/^Herb\/Leaf\/(.*)$/|0|-1|$1}}{{#arrayprint:leaves_trim}} | ||
+ | }}} | ||
|- | |- | ||
! Stem: | ! Stem: | ||
− | | {{{field|stem|input type=combobox|values | + | | {{{field |
+ | |stem | ||
+ | |input type=combobox | ||
+ | |values={{#arraydefine:stems|{{#ask: [[Category:Herb]]|?Has stem#=|format=array|mainlabel=-}}|, |unique,sort=desc}}{{#arraysearcharray:stems_trim|stems|/^Herb\/Stem\/(.*)$/|0|-1|$1}}{{#arrayprint:stems_trim}} | ||
+ | }}} | ||
|- | |- | ||
! Color(s): | ! Color(s): | ||
− | | {{{field|color|input type=tokens|values | + | | {{{field |
+ | |color | ||
+ | |input type=tokens | ||
+ | |values={{#arraydefine:color|{{#ask: [[Category:Herb]]|?Has color#=|format=array|manysep=,|mainlabel=-}}|, |unique,sort=desc}}{{#arraysearcharray:color_trim|color|/^Herb\/Color\/(.*)$/|0|-1|$1}}{{#arrayprint:color_trim}} | ||
+ | }}} | ||
|- | |- | ||
! Strength: | ! Strength: |
Latest revision as of 19:08, 19 May 2021
This is the "Herb" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.