Template:ShowSecHead/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:ShowSecHead.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:ShowSecHead.

Description

This template uses a numerical index to extract a page section (with the header).

Usage

{{ShowSecHead|page|section number|(optional) header for section 0}}
Special section numbers
Section number Result
0 With the use of only the first two variables, this will display the page name, however with the use of the third variable, this will display the 3rd variable
-1 Displays the last header of the page (-2 cannot be used to display the second last section, and so on.)
no number input Treated as though it were section 0

NB: The header is returned with no formatting included. If you are wanting to have the header formatted to have the appearance of a header, please use {{H1}} - {{H6}}, as standard header formatting (<h2>, ==) can cause unusual results.

See also