Difference between revisions of "Template:UseTOC"

From PC-BSD Wiki
Jump to: navigation, search
(Usage)
 
(8 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
[[file:toc-edit.png|thumb|1024px|'''How to insert new pages into the Table Of Contents''']]</noinclude><includeonly>
+
{|class=simplecenter
 +
|[[file:toc-edit.png|thumb|1024px|center|'''How to insert new pages into the Table Of Contents''']]
 +
|}</noinclude><includeonly>
 
{| class="noprint" align="left" style="margin-left:-7px; margin-right:20px; margin-top:2px; margin-bottom:1px"
 
{| class="noprint" align="left" style="margin-left:-7px; margin-right:20px; margin-top:2px; margin-bottom:1px"
 
|
 
|
Line 17: Line 19:
 
== Usage ==
 
== Usage ==
 
===Navigation===
 
===Navigation===
'''<nowiki>{{UseTOC{{</nowiki>putVers}}|Nav}}''' invokes the NavHeader as below:<br/>
+
'''<nowiki>{{UseTOC{{</nowiki>putVers}}|Nav}}''' invokes the NavHeader output similar to below:<br/>
{|
+
{|class=simplecenter
|width=98%|{| class="navheader noprint screen"
+
|
 +
{| class="navheader noprint screen"
 
|class="navleft"|{{NavHeaderLeft|{{{back}}}{{putLang}}|{{{forward}}}{{putLang}}|{{#if:{{{l7dBack|}}}|{{{l7dBack}}}|{{{back}}}}}|{{#if:{{{l7dForward|}}}|{{{l7dForward}}}|{{{forward}}}}}}}
 
|class="navleft"|{{NavHeaderLeft|{{{back}}}{{putLang}}|{{{forward}}}{{putLang}}|{{#if:{{{l7dBack|}}}|{{{l7dBack}}}|{{{back}}}}}|{{#if:{{{l7dForward|}}}|{{{l7dForward}}}|{{{forward}}}}}}}
 
|class="navheaderbuffer"|
 
|class="navheaderbuffer"|
Line 30: Line 33:
 
|}
 
|}
 
But if the pages relating to the backward (left) or forward (right) icon/links are not yet defined by their translation, or if the page is not yet or no longer in the ''Table Of Contents'' then the result is as below:<br/>
 
But if the pages relating to the backward (left) or forward (right) icon/links are not yet defined by their translation, or if the page is not yet or no longer in the ''Table Of Contents'' then the result is as below:<br/>
 +
{|class=simplecenter
 +
|
 
{{UseTOC{{putVers}}|Nav}}
 
{{UseTOC{{putVers}}|Nav}}
 +
|}
  
 
===Table Of Contents===
 
===Table Of Contents===
Line 44: Line 50:
  
 
==Modification==
 
==Modification==
[[file:toc-edit.png|thumb|1024px|'''How to insert new pages into the Table Of Contents''']]</includeonly>
+
{|class=simplecenter
 +
|[[file:toc-edit.png|thumb|1024px|center|'''How to insert new pages into the Table Of Contents''']]
 +
|}</includeonly>

Latest revision as of 20:48, 30 December 2013

How to insert new pages into the Table Of Contents