Difference between revisions of "Template:NavHeaderLast"

From PC-BSD Wiki
Jump to: navigation, search
m
m
Line 19: Line 19:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
=== Usage ===
 
=== 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. As you can see from the above, the navigation header overlays the page name, while a duplicate page name is placed below. An alternative page name can be used with the 'custompagename' variable assignment. 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|''Navigation Header error page'']] while properly formed but links to missing pages are added to the [[Special:WantedPages|''Special:wanted pages'']] list. Text ought to be formatted with desired capitalization.<br><br>
+
This assumes local links and greatly simplifies the process of adding or editing the navigation header. As you can see from the above, the navigation header overlays the page name, while a duplicate page name is placed below. The ''contents'' box is forced to appear in all pages that contain headers and is placed to the left beneath the line of the header. An alternative page name can be used with the 'custompagename' variable assignment. 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|''Navigation Header error page'']] while properly formed but links to missing pages are added to the [[Special:WantedPages|''Special:wanted pages'']] list. Text ought to be formatted with desired capitalization.<br><br>
 
'''<nowiki>{{</nowiki>NavHeaderLast|back='''''<name of the previous page>'''''|forward='''''<name of the current page>'''''|custompagename='''''<custom page name>'''''}}'''
 
'''<nowiki>{{</nowiki>NavHeaderLast|back='''''<name of the previous page>'''''|forward='''''<name of the current page>'''''|custompagename='''''<custom page name>'''''}}'''
 
</noinclude>
 
</noinclude>

Revision as of 18:41, 27 January 2012

Previous:  Error: Your NavHeader assignment is malformed. Return to Table of Contents

NavHeaderLast


Contents

Usage

This assumes local links and greatly simplifies the process of adding or editing the navigation header. As you can see from the above, the navigation header overlays the page name, while a duplicate page name is placed below. The contents box is forced to appear in all pages that contain headers and is placed to the left beneath the line of the header. An alternative page name can be used with the 'custompagename' variable assignment. 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.

{{NavHeaderLast|back=<name of the previous page>|forward=<name of the current page>|custompagename=<custom page name>}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox