Jump to content

Help:Create Index

From pool
This content is in the Help Namespace.


The simplest way to add a page to an already created Index is to use the template for that index at the start, for example to use the Training Labs 'Template':

{{Labs}}

To create a Template for this perpose do the following:

  • Create a new page starting with "Category", eg. Category:My Category
    • Add to this page a brief description of the Category
    • Ensure the page Category:My Category is in-turn a member of the Category:FluidFS Index
[[Category:FluidFS Index]]
  • Create a new page starting with "Template", eg. Template:My Category
    • Ensure that all pages using this template are in the same category between includeonly tags
    • Add a description for this template between noinclude tags
    • Add the template to the Category Index Pages but not pages
{{IndexList | My Category}}
<includeonly>[[Category:My Category]]</includeonly>

<noinclude>
Add a comment here describing what this template is for.

Add the template to the Category Index Pages but not pages that use this template with:
[[Category:Index Pages]]
</noinclude>

Any page can use the Multiple Category Index Template, this is a bit trickier to use but does not require a custom template. The first parameter passed the to the MultiCatIndex template is either collapsed or expanded, all subsequent parameters are Category names, upto 4 Categories can be specified:

{{MultiCatIndex | expanded | category1 | category2 }}
  • No longer required:

Note when using this template the Category membership must be explicitly defined as it is not (cannot be) defined in the template

The Multiple Category Index Template allows a page to be collapsed by default:

{{MultiCatIndex | collapsed | category}}