Template:NavDpl/doc

From RationalWiki
Jump to navigation Jump to search

navigation template which automagically includes all members of a category.and, if using just the one parameter, places the current page in the header. It avoids having to enter every article name manually. Alternatively a second parameter can be used, replacing the current page with your own choice.

Use: {{NavDpl|CategoryName}} replacing "CategoryName" with the .appropriate category.

EG:

using just the category: {{NavDpl|Astronomy}} produces this Nav Box


using the second parameter: {{NavDpl|Astronomy|The Universe}} produces:


and, getting a bit complicated with that second parameter: {{NavDpl|Astronomy|[[:category:Astronomy|Astronomy]]}} (don't forget the colon before category) produces: