Difference between revisions of "Template:Testing"
Tigersharke (Talk | contribs) |
Tigersharke (Talk | contribs) |
||
| (4 intermediate revisions by one user not shown) | |||
| Line 14: | Line 14: | ||
| | | | ||
|- | |- | ||
| − | |__FORCETOC__ | + | |{{#switch: {{{showtoc}}} |
| − | | __TOC__ | + | | yes = __FORCETOC__ |
| + | | no = __NOTOC__ | ||
| + | | __NOTOC__}} | ||
| + | |{{#switch: {{{showtoc}}} | ||
| + | | yes = __TOC__ | ||
| + | | no = __NOTOC__ | ||
| + | | __NOTOC__}} | ||
|} | |} | ||
<noinclude>http://wiki.pcbsd.org/images/3/33/Left_arrow_icon.png | <noinclude>http://wiki.pcbsd.org/images/3/33/Left_arrow_icon.png | ||
Latest revision as of 22:26, 28 June 2012
| {{{back}}} | {{{forward}}} |
Testing
http://wiki.pcbsd.org/images/3/33/Left_arrow_icon.png
[edit] Usage
This assumes local links, corrects the formatting issue with text wrap under the images, and greatly simplifies the process of adding or editing the navigation header. The home/index link should be modified within the Template:NavHeaderMiddle itself, while below may be pasted into a page with minor modifications to define what will become each link and the text for each link's alternate label. Missing or malformed link info defaults to a Navigation Header error page while properly formed but links to missing pages are added to the Special:wanted pages list. Text ought to be formatted with desired capitalization.
{{NavHeader|back=<name of the previous page>|forward=<name of the next page>}}