Template:Nav:Community

From Arkaz
Jump to: navigation, search



About this template

Template:Nav:Community contains the list of primary articles/categories underneath this heading. This page should be used for navigation purposes: including on the main page, article entries which need such a list, and the side bar navigation. Separate listings can be created within the same article by using:

* Article 1 {{

#ifeq: {{{1|<noinclude>main</noinclude>}}}
| main 
| * [[Article 2]]
| <nowiki>

</nowiki>
}}

This allows for the main page to have a partial listing, while the navigation has a complete listing, or a See Also footnote. Note that the listing within an article and the navigation itself can also differ. Article listings included for navigation purposes have the "nav" parameter passed. Again, this allows for independent listings later:

{{Getting Started article list|nav}}

This can then be used in the condition:

* Article 1 {{

#ifeq: {{{1|<noinclude>nav</noinclude>}}}
| nav
| * [[Article 2]]
| <nowiki>

</nowiki>
}}


Whitespace should be kept to a minimum - it will show. The <nowiki></nowiki> tags are used to remove the excess whitespace as much as possible.