Difference between revisions of "Template:HerbNav"
From A Wiki in the Desert
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <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 | + | <includeonly>{{#arraydefine: stems|{{#ask: [[Has stem::+]]|?Has stem|mainlabel=-|format=array}}|, |sort=asc,unique}}{{#arraydefine: colors|{{#ask: [[Category:Herb]] [[Has color::+]]|?Has color|mainlabel=-|manysep=,|format=array}}|, |sort=asc,unique}}{{#arraydefine: methods|{{#ask: [[Category:Herb]][[requires::+]]|?requires|mainlabel=-|manysep=,|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 7: | Line 7: | ||
|group1 = [[Herb/Stem|Stems]] | |group1 = [[Herb/Stem|Stems]] | ||
|abbr1 = Stems | |abbr1 = Stems | ||
− | |list1 = {{#arrayprint:stems| | + | |list1 = {{#arrayprint:stems|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}} |
|group2 = [[Herb/Color|Colors]] | |group2 = [[Herb/Color|Colors]] | ||
|abbr2 = Colors | |abbr2 = Colors | ||
− | |list2 = {{#arrayprint:colors| | + | |list2 = {{#arrayprint:colors|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}} |
|group3 =[[Action|Methods]] | |group3 =[[Action|Methods]] | ||
|abbr3 = Methods | |abbr3 = Methods | ||
− | |list3 = {{#arrayprint:methods| | + | |list3 = {{#arrayprint:methods|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}} |
|group4 = [[Herb/Leaf|Leaves]] | |group4 = [[Herb/Leaf|Leaves]] | ||
|abbr4 = Leaves | |abbr4 = Leaves | ||
− | |list4 = {{#arrayprint:leaves| | + | |list4 = {{#arrayprint:leaves|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Herb/Leaf/|}}]]}} |
}}</includeonly> | }}</includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 17:46, 26 May 2021
Includes an auto generated navigation box for herb types.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |