Difference between revisions of "Form:Herb"
From A Wiki in the Desert
(4 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
|method | |method | ||
|input type=tokens | |input type=tokens | ||
− | |values={{#arraydefine:actions|{{#ask: [[Category:Herb]]|?requires#=|format=array|mainlabel=-}}|, |unique,sort= | + | |values={{#arraydefine:actions|{{#ask: [[Category:Herb]]|?requires#=|manysep=,|format=array|mainlabel=-}}|, |unique,sort=asc}}{{#arraysearcharray:actions_trim|actions|/^Action\/(.*)$/|0|-1|$1}}{{#arrayprint:actions_trim}} |
}}} | }}} | ||
|- | |- | ||
Line 35: | Line 35: | ||
}}} | }}} | ||
|- | |- | ||
− | ! Color | + | ! Color: |
| {{{field | | {{{field | ||
|color | |color | ||
Line 62: | Line 62: | ||
! Perception: | ! Perception: | ||
| {{{field|perception|input type=text|default=0}}} | | {{{field|perception|input type=text|default=0}}} | ||
+ | |- | ||
+ | ! Similar: | ||
+ | | {{{field | ||
+ | |similar | ||
+ | |input type=tokens | ||
+ | |values={{#arraydefine:similar|{{#ask: [[Category:Herb]]|?Has name#=|format=array|manysep=,|mainlabel=-}}|, |unique,sort=desc}}{{#arraysearcharray:similar_trim|similar|/^Herb\/(.*)$/|0|-1|$1}}{{#arrayprint:similar_trim}} | ||
+ | }}} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} |
Latest revision as of 23:18, 17 July 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.