Difference between revisions of "Template:Islands article list"

From Arkaz
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Article list details}}</noinclude>
 
<noinclude>{{Article list details}}</noinclude>
 
<DPL>
 
<DPL>
  allowcachedresults=true
 
 
   debug=3
 
   debug=3
 
   category=Island
 
   category=Island
 
  </DPL>
 
  </DPL>

Revision as of 19:13, 8 October 2007

About this template

Islands article list 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:

{{

#ifeq: {{{1|<noinclude>main</noinclude>}}}
| main 
| * [[Article 1]]
| <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:

{{

#ifeq: {{{1|<noinclude>nav</noinclude>}}}
| nav
| * [[Article 1]]
| <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.


Template Content

<DPL>

  debug=3
  category=Island
</DPL>