Template:BasicNavbox: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
No edit summary
imported>FrozenPlum
No edit summary
 
Line 19: Line 19:


==Example(s)==
==Example(s)==
* {{BasicNavbox|title=My title|group1=Fruit|g1category=Fruit examples|group2=Dessert|g2category=Dessert examples}}
* {{BasicNavbox|title=My title|group1=Fruits|g1category=Fruit examples|group2=Desserts|g2category=Dessert examples}}


==Notes==
==Notes==

Latest revision as of 20:46, 25 April 2023


Example(s)

My title
Fruits {{#dpl: namespace= category=Fruit examples format=,• %TITLE% 

}}

Desserts {{#dpl: namespace= category=Dessert examples format=,• %TITLE% 

}}

Notes

  • This creates an auto-populating navigation box, that populates pages-only residing in the main namespace, that are categorized under the specified category.
  • There are probably far more efficient ways to do this, such as wikitext, lua, Cargo etc.