Difference between revisions of "Template:UseTOC"

From PC-BSD Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
== Usage ==
 
== Usage ==
 +
===Navigation===
 
'''<nowiki>{{UseTOC{{</nowiki>putVers}}|Nav}}''' invokes the NavHeader as below:<br/>
 
'''<nowiki>{{UseTOC{{</nowiki>putVers}}|Nav}}''' invokes the NavHeader as below:<br/>
 
{| class="navheader noprint screen"
 
{| class="navheader noprint screen"
Line 28: Line 29:
 
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/>
 
{{UseTOC{{putVers}}|Nav}}
 
{{UseTOC{{putVers}}|Nav}}
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|Toc}}''' invokes a list of Table Of Contents links similar to below:<br/>
+
===Table Of Contents===
 +
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|Toc}}''' invokes a formatted list of page links similar to below:<br/>
 
{{hierB|title=Preface}}<br/>
 
{{hierB|title=Preface}}<br/>
 
{{hierB|1.|title=Introduction}}
 
{{hierB|1.|title=Introduction}}
Line 35: Line 37:
 
{{hier|1.3|title=PC-BSD® Releases}}
 
{{hier|1.3|title=PC-BSD® Releases}}
 
{{hier|1.4|title=PC-BSD® for Linux Users}}
 
{{hier|1.4|title=PC-BSD® for Linux Users}}
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|flat}}''' causes the {{local|link=flat_html}} page output.<br/>[[file:toc-edit.png|thumb|1024px|'''How to insert new pages into the Table Of Contents''']]</includeonly>
+
===Flat HTML===
 +
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|flat}}''' causes the {{local|link=flat_html}} page output.(but is limited by page size which makes it incomplete/broken in actual use.<br/>
 +
==Modification==
 +
[[file:toc-edit.png|thumb|1024px|'''How to insert new pages into the Table Of Contents''']]</includeonly>

Revision as of 20:28, 30 December 2013

How to insert new pages into the Table Of Contents