Difference between revisions of "Template:HerbNav"
From A Wiki in the Desert
Line 1: | Line 1: | ||
− | {{#arraydefine: stems|{{#ask: [[Has stem::+]] |link=none |mainlabel=- |headers=hide |?Has stem |limit=5000}}|, |sort=asc,unique}}{{#arraydefine: colors|{{#ask: [[Has color::+]] |link=none |mainlabel=- |headers=hide |?Has color | + | {{#arraydefine: stems|{{#ask: [[Has stem::+]] |link=none |mainlabel=- |headers=hide |?Has stem |limit=5000}}|, |sort=asc,unique}}{{#arraydefine: colors|{{#ask: [[Has color::+]] |link=none |mainlabel=- |headers=hide |?Has color |limit=5000}}|, |sort=asc,unique}}{{#arraydefine: methods|{{#ask: [[Category:Herb]][[requires::+]] |link=none |mainlabel=- |headers=hide |?requires|limit=5000}}|, |sort=asc,unique}}{{#arraydefine: leaves|{{#ask: [[Has leaf::+]] |link=none |mainlabel=- |headers=hide |?Has leaf |limit=5000}}|, |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/|}}]]}} |
− | | | ||
− | | | ||
− | | | ||
}} | }} |