Difference between revisions of "Template:DoNavHeader"

From PC-BSD Wiki
Jump to: navigation, search
 
(14 intermediate revisions by one user not shown)
Line 7: Line 7:
 
|class="navright" |{{#if: {{{forward}}}|[[File:Placeholder.png|class=navheader next|link={{{forward|Navigation Header}}}{{putVers}}{{putLang}}|{{word-next{{putLang}}}} {{#if: {{getLang}}|{{:Translations:{{#titleparts: {{{forward}}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}|{{{forward|{{:Navigation Header}}}}}}}]]|}}
 
|class="navright" |{{#if: {{{forward}}}|[[File:Placeholder.png|class=navheader next|link={{{forward|Navigation Header}}}{{putVers}}{{putLang}}|{{word-next{{putLang}}}} {{#if: {{getLang}}|{{:Translations:{{#titleparts: {{{forward}}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}|{{{forward|{{:Navigation Header}}}}}}}]]|}}
 
|-
 
|-
|class="titleheader" colspan=5|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; class="titleheadertext">{{#if:{{{title|}}}|{{{title}}}|{{#if: {{getLang}}|{{:Translations:{{#titleparts: {{PAGENAME}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}}}}}|{{#titleparts: {{PAGENAME}}|1}}}}}}</span><span class="ProtectionLevel">Protection (edit): {{PROTECTIONLEVEL: edit|{{PAGENAME}}}}</span><span class="LastEditor">Edited by: {{REVISIONUSER}}</span>
+
|class="titleheader" colspan=5|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; class="titleheadertext">{{#if:{{{title|}}}|{{{title}}}|{{#if: {{getLang}}|{{:Translations:{{#titleparts: {{PAGENAME}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}|{{#titleparts: {{PAGENAME}}|1}}}}}}</span><span class="page_protection_level">Protection (edit): {{PROTECTIONLEVEL: edit|{{PAGENAME}}}}</span> <span class="last_editor">Edited by: {{REVISIONUSER}}</span>
|}(Translations:{{#titleparts: {{PAGENAME}}|1|1}}{{putVers}}/Page display title/{{getLang}})
+
|}
 
{| class="noprint movetoc"
 
{| class="noprint movetoc"
 
|
 
|
Line 17: Line 17:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
=== Description ===
 
=== Description ===
{{note|align=right|width=35%|icon64=Translators should localize the following templates used:   
+
{{note|class=rightfloat|width=35%|icon64=Translators should localize the following templates used:   
:::* [[template:Word-previous]],  
+
:* {{translate-me-link|template:Word-previous|txt=Word-previous}},  
:::* [[template:Word-next]],  
+
:* {{translate-me-link|template:Word-next|txt=Word-next}},  
:::* [[template:Phrase-return to table of contents]], and  
+
:* {{translate-me-link|template:Phrase-return to table of contents|txt=Phrase-return to table of contents}}, and  
:::* [[template:Phrase-table of contents]]. }}
+
:* {{translate-me-link|template:Phrase-table of contents|txt=Phrase-table of contents}}. }}
 
This template is not used directly, it is called by '''''{{local|link=template:UseTOC}}.''''' It uses a common information store in ''template:UseTOC'' to provide the appropriate "forward" and "back" links automatically. On any appropriate wiki page, the navigation header effectively overlays the page name, while a duplicate page name is placed below. It is entirely transparent with regard to localization except for the word and phrase templates used. The ''contents'' box is forced to appear in all pages that contain at least one header and is placed toThis the left beneath the line of the page name. <!-- (not currently supported: An alternative page name is an option with the ''custompagename'' variable assignment. --> The home/index link should be modified within the Template:NavHeaderMiddle itself. 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. <br/>
 
This template is not used directly, it is called by '''''{{local|link=template:UseTOC}}.''''' It uses a common information store in ''template:UseTOC'' to provide the appropriate "forward" and "back" links automatically. On any appropriate wiki page, the navigation header effectively overlays the page name, while a duplicate page name is placed below. It is entirely transparent with regard to localization except for the word and phrase templates used. The ''contents'' box is forced to appear in all pages that contain at least one header and is placed toThis the left beneath the line of the page name. <!-- (not currently supported: An alternative page name is an option with the ''custompagename'' variable assignment. --> The home/index link should be modified within the Template:NavHeaderMiddle itself. 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. <br/>
 
===Usage===
 
===Usage===

Latest revision as of 00:47, 29 January 2014

Contents

Description

NOTE: Translators should localize the following templates used:

This template is not used directly, it is called by template:UseTOC. It uses a common information store in template:UseTOC to provide the appropriate "forward" and "back" links automatically. On any appropriate wiki page, the navigation header effectively overlays the page name, while a duplicate page name is placed below. It is entirely transparent with regard to localization except for the word and phrase templates used. The contents box is forced to appear in all pages that contain at least one header and is placed toThis the left beneath the line of the page name. The home/index link should be modified within the Template:NavHeaderMiddle itself. 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.

Usage

{{UseTOC|nav}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox