Difference between revisions of "Template:HerbNav"
From A Wiki in the Desert
(Created page with "{{#arraydefine: stems|{{#ask: Has stem::+ |link=none |mainlabel=- |headers=hide |?Has stem |limit=5000}}|, |sort=asc,unique}}{{#arraydefine: colors|{{#ask: [[Has color::+]...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#arraydefine: stems|{{#ask: [[Has stem::+]] | | + | <includeonly>{{#arraydefine: stems|{{#ask: [[Has stem::+]]|?Has stem|mainlabel=-|format=array}}|, |sort=asc,unique}}{{#arraydefine: colors|{{#ask: [[Has color::+]]|?Has color|mainlabel=-|manysep=,|format=array}}|, |sort=asc,unique}}{{#arraydefine: methods|{{#ask: [[Category:Herb]][[requires::+]]|?requires|mainlabel=-|format=array}}|, |sort=asc,unique}}{{#arraydefine: leaves|{{#ask: [[Has leaf::+]]|?Has leaf|mainlabel=-|format=array}}|, |sort=asc,unique}}{{Navbox |
|name = Herb | |name = Herb | ||
|title = Herb | |title = Herb | ||
Line 5: | Line 5: | ||
|liststyle = width:auto; text-align:center; line-height:1.4em; padding:0.33em 0; background-color:#ccf3bf; | |liststyle = width:auto; text-align:center; line-height:1.4em; padding:0.33em 0; background-color:#ccf3bf; | ||
|basestyle = background-color:skyblue; | |basestyle = background-color:skyblue; | ||
− | |group1 = | + | |group1 = [[Herb/Stem|Stems]] |
− | + | |abbr1 = Stems | |
− | + | |list1 = {{#arrayprint:stems|, |@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}} | |
− | | | + | |group2 = [[Herb/Color|Colors]] |
− | | | + | |abbr2 = Colors |
− | + | |list2 = {{#arrayprint:colors|, |@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}} | |
− | | | + | |group3 =[[Action|Methods]] |
− | | | + | |abbr3 = Methods |
− | | | + | |list3 = {{#arrayprint:methods|, |@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}} |
− | | | + | |group4 = [[Herb/Leaf|Leaves]] |
− | | | + | |abbr4 = Leaves |
− | | | + | |list4 = {{#arrayprint:leaves|, |@@@@|[[@@@@|{{#replace: @@@@|Herb/Leaf/|}}]]}} |
− | | | + | }}</includeonly> |
− | | | + | <noinclude> |
− | | | + | <templatedata> |
− | }} | + | { |
+ | "params": {}, | ||
+ | "description": "Includes an auto generated navigation box for herb types." | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Latest revision as of 20:00, 25 May 2021
Includes an auto generated navigation box for herb types.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |