Difference between revisions of "Template:AlphaIndexStart/doc"

From Wazeopedia
(Fixed category)
(Added example to doc)
Line 7: Line 7:
 
== Parameters ==
 
== Parameters ==
 
The only parameter is optional and determines how many columns are used for the page. The default is 3.
 
The only parameter is optional and determines how many columns are used for the page. The default is 3.
 +
 +
== Example ==
 +
<pre>{{AlphaIndexStart}}
 +
=== A ===
 +
* Apple
 +
 +
=== B ===
 +
* Baker
 +
 +
=== Z ===
 +
* Zebra
 +
{{AlphaIndexEnd}}
 +
</pre>
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 22:44, 10 March 2014

This is a documentation subpage for Template:AlphaIndexStart.
It contains usage information, categories and other content that is not part of the original template page.

Usage

Creates the initial <div> style to add a horizontal alphabetical index to a page of headers with just alphabetical entries.

Requires the {{AlphaIndexEnd}} be placed at the end of the last heading section.

Parameters

The only parameter is optional and determines how many columns are used for the page. The default is 3.

Example

{{AlphaIndexStart}}
=== A ===
* Apple

=== B ===
* Baker

=== Z ===
* Zebra
{{AlphaIndexEnd}}