Difference between revisions of "Template:Testing"

From PC-BSD Wiki
Jump to: navigation, search
m
 
(37 intermediate revisions by one user not shown)
Line 1: Line 1:
{|style="background-color: #F5F5ff; border: #BABAff solid; border-width: 0px 0px 2px 0px; align: center; border-collapse: collapse; margin-top:0px; " align="center" border="0.5px" width="100%"
+
{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}
|style="width: 32px; border: 0px #000000 solid;"|[[File:previous1.png|link={{{behind|Navigation Header}}}|Previous: {{{behind|{{:Navigation Header}}}}}]]
+
{|style="position:absolute; background: #F5F5ff; background: #F5F5ff; border: #BABAff solid; border-width: 0px 0px 2px 0px; align:center; border-collapse: collapse; margin-top:-22px; margin-left:0 margin-right:0; width:100%" cell-padding="0"
|
+
|style="width: 32px; border: 0px #000000 solid;" cell-padding="0"|{{template:NavHeaderLeft|behind={{{back}}}|ahead={{{forward}}}}}
|style="width: 32px; border: 0px #000000 solid;"|[[Image:home.png|link=PC-BSD Users Handbook|Return to Table of Contents]]
+
|style="width: 45%; text-align: left; font-weight: bold; color: #8F80fd; border: 0px #000000 solid;"|{{{back}}}
|
+
|style="width: 32px; border: 0px #000000 solid;" cell-padding="0"|[[File:Left_arrow_icon.png|link={{{behind|Navigation Header}}}|Previous: {{{behind|{{:Navigation Header}}}}}]]
|style="width: 32px; border: 0px #000000 solid;"|[[Image:next1.png|link={{{ahead|Navigation Header}}}|Next: {{{ahead|{{:Navigation Header}}}}}]]
+
|style="width: 32px; border: 0px #000000 solid;"|{{NavHeaderMiddle|customlink=Category:Testing|customtext=Testing Category}}
|}
+
|style="width: 32px; border: 0px #000000 solid;" cell-padding="0"|{{template:NavHeaderRight|behind={{{back}}}|ahead={{{forward}}}}}
<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 1.6em; line-height: 1.2em; margin-bottom: 0.1em;">{{PAGENAME}}</span>
+
|style="width: 45%; text-align: right; font-weight: bold; color: #8F80fd; border: 0px #000000 solid;"|{{{forward}}}
 +
|style="width: 32px; border: 0px #000000 solid;" cell-padding="0"|{{template:NavHeaderRight|behind={{{back}}}|ahead={{{forward}}}}}
 +
|}<br>
 +
<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.2em; margin-bottom: 0.1em;">{{{custompagename|{{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"
 
|
 
|
 
|-
 
|-
|<!-- __FORCETOC__ -->
+
|{{#switch: {{{showtoc}}}
| __TOC__
+
| yes = __FORCETOC__
|
+
| no = __NOTOC__
{{:staging_area1|version=release0.5beta}}
+
| __NOTOC__}}
 +
|{{#switch: {{{showtoc}}}
 +
| yes = __TOC__
 +
| no = __NOTOC__
 +
| __NOTOC__}}
 +
|}
 +
<noinclude>http://wiki.pcbsd.org/images/3/33/Left_arrow_icon.png
 +
[[Category:Navigation]]
 +
=== 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|''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>NavHeader|back='''''<name of the previous page>'''''|forward='''''<name of the next page>'''''}}'''
 +
</noinclude>
 
<noinclude>[[category:testing]]</noinclude>
 
<noinclude>[[category:testing]]</noinclude>
 
<noinclude>[[category:templates]]</noinclude>
 
<noinclude>[[category:templates]]</noinclude>

Latest revision as of 22:26, 28 June 2012

Previous:  Error: Your NavHeader assignment is malformed. {{{back}}} Previous: Error: Your NavHeader assignment is malformed. Return to Table of Contents Next:  Error: Your NavHeader assignment is malformed. {{{forward}}} Next:  Error: Your NavHeader assignment is malformed.

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>}}