A Wiki in the Desert
Log in

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::+]] |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: rarities|{{#ask: [[Has rarity::+]] |link=none |mainlabel=- |headers=hide |?Has rarity|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
+
<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 = Rarities:
+
|group1 = [[Herb/Stem|Stems]]
|abbr1 = Rarities
+
|abbr1 = Stems
|list1 = {{#arrayprint:rarities|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Rarity/|}}]]}}
+
|list1 = {{#arrayprint:stems|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}}
|group2 = Stems:
+
|group2 = [[Herb/Color|Colors]]
|abbr2 = Stems
+
|abbr2 = Colors
|list2 = {{#arrayprint:stems|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Stem/|}}]]}}
+
|list2 = {{#arrayprint:colors|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}}
|group3 = Colors:
+
|group3 =[[Action|Methods]]
|abbr3 = Colors
+
|abbr3 = Methods
|list3 = {{#arrayprint:colors|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Color/|}}]]}}
+
|list3 = {{#arrayprint:methods|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}}
|group4 = Methods:
+
|group4 = [[Herb/Leaf|Leaves]]
|abbr4 = Methods
+
|abbr4 = Leaves
|list4 = {{#arrayprint:methods|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Action/|}}]]}}
+
|list4 = {{#arrayprint:leaves|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Leaf/|}}]]}}
|group5 = Leaves:
+
}}</includeonly>
|abbr5 = Leaves
+
<noinclude>
|list5 = {{#arrayprint:leaves|,&nbsp;|@@@@|[[@@@@|{{#replace: @@@@|Herb/Leaf/|}}]]}}
+
<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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified