A Wiki in the Desert
Log in

Difference between revisions of "Form:Herb"

From A Wiki in the Desert
 
(18 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/<Herb[name]>}}}
 
{{{for template|Herb}}}
 
{{{for template|Herb}}}
 
{| class="formtable"
 
{| class="formtable"
Line 14: 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|property=Has leaf}}}
+
| {{{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|property=Has stem}}}
+
| {{{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}}}
+
| {{{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:
 +
| {{{field|strength|input type=text|default=0}}}
 +
|-
 +
! Dexterity:
 +
| {{{field|dexterity|input type=text|default=0}}}
 +
|-
 +
! Endurance:
 +
| {{{field|endurance|input type=text|default=0}}}
 +
|-
 +
! Speed:
 +
| {{{field|speed|input type=text|default=0}}}
 +
|-
 +
! Constitution:
 +
| {{{field|constitution|input type=text|default=0}}}
 +
|-
 +
! Focus:
 +
| {{{field|focus|input type=text|default=0}}}
 +
|-
 +
! Perception:
 +
| {{{field|perception|input type=text|default=0}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

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.