A Wiki in the Desert
Log in

Difference between revisions of "Template:HerbNav"

From A Wiki in the Desert
 
(One intermediate revision 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=-|manysep=,|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|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}}
+
|list1 = {{#arrayprint:stems|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}}
 
|group2 = [[Herb/Color|Colors]]
 
|group2 = [[Herb/Color|Colors]]
 
|abbr2 = Colors
 
|abbr2 = Colors
|list2 = {{#arrayprint:colors|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}}
+
|list2 = {{#arrayprint:colors|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}}
 
|group3 =[[Action|Methods]]
 
|group3 =[[Action|Methods]]
 
|abbr3 = Methods
 
|abbr3 = Methods
|list3 = {{#arrayprint:methods|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}}
+
|list3 = {{#arrayprint:methods|{{·w}}|@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}}
 
|group4 = [[Herb/Leaf|Leaves]]
 
|group4 = [[Herb/Leaf|Leaves]]
 
|abbr4 = Leaves
 
|abbr4 = Leaves
|list4 = {{#arrayprint:leaves|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Leaf/|}}]]}}
+
|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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified