Difference between revisions of "Template:Testing"
From PC-BSD Wiki
Tigersharke (Talk | contribs) m |
Tigersharke (Talk | contribs) m |
||
| Line 6: | Line 6: | ||
|style="width: 32px; border: 0px #000000 solid;"|{{template:NavHeaderRight|behind={{{back}}}|ahead={{{forward}}}}} | |style="width: 32px; border: 0px #000000 solid;"|{{template:NavHeaderRight|behind={{{back}}}|ahead={{{forward}}}}} | ||
|} | |} | ||
| − | <span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.2em; margin-bottom: 0.1em;">{{PAGENAME}} </span> | + | <span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.2em; margin-bottom: 0.1em;">{{{custom|{{PAGENAME}}}}} </span> |
---- | ---- | ||
{| align="left" style="margin-left:-7px; margin-right:20px; margin-top:0px; margin-bottom:5px" | {| align="left" style="margin-left:-7px; margin-right:20px; margin-top:0px; margin-bottom:5px" | ||
| Line 20: | Line 20: | ||
'''<nowiki>{{</nowiki>NavHeader|back='''''<name of the previous page>'''''|forward='''''<name of the next page>'''''}}''' | '''<nowiki>{{</nowiki>NavHeader|back='''''<name of the previous page>'''''|forward='''''<name of the next page>'''''}}''' | ||
</noinclude> | </noinclude> | ||
| − | |||
<noinclude>[[category:testing]]</noinclude> | <noinclude>[[category:testing]]</noinclude> | ||
<noinclude>[[category:templates]]</noinclude> | <noinclude>[[category:templates]]</noinclude> | ||
Revision as of 17:38, 27 January 2012
Testing
|
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>}}