Difference between revisions of "Template:NavHome"

From PC-BSD Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>[[category:navigation]][[category:templates]]</noinclude>
 
<noinclude>[[category:navigation]][[category:templates]]</noinclude>
 
[[Category:Uses NavHome]]<!-- intentionally allowing transclusion -->
 
[[Category:Uses NavHome]]<!-- intentionally allowing transclusion -->
{|style="position:absolute; background: #9aBA9a; border: #9a809A solid; border-width: 0px 0px 2px 0px;  align:center; border-collapse: collapse; margin-top:-50px; margin-left:0 margin-right:0; width:100%"
+
{|style="position:absolute; background: #BA9a9a; border: #809a9A solid; border-width: 0px 0px 2px 0px;  align:center; border-collapse: collapse; margin-top:-50px; margin-left:0 margin-right:0; width:100%"
 
|style="width: 32px; border: 0px #000000 solid;"|
 
|style="width: 32px; border: 0px #000000 solid;"|
 
|
 
|

Revision as of 20:46, 27 January 2012

Return to Table of Contents

NavHome


Contents

Description

This assumes local links and greatly simplifies the process of adding or editing the navigation header for non-handbook pages. 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 at least one header and is placed to the left beneath the line of the page name. An alternative page name is an option 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.

Usage

{{NavHome|custompagename=<custom page name>}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox