Difference between revisions of "Template:UseTOC/10.0"

From PC-BSD Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
|null
 
|null
 
}}
 
}}
|title={{{title|}}}<!-- ########## DO NOT MODIFY anything above this line ######### -->
+
|title={{{title|}}}|<!-- ########## DO NOT MODIFY anything above this line ######### -->
|0|Preface|
+
0|Preface|
 
1.|Introduction|
 
1.|Introduction|
 
1.1|Goals and Features|
 
1.1|Goals and Features|
 
1.2|What's New|
 
1.2|What's New|
1.3|PC-BSD® Releases|
+
1.3|PC-BSD® for Linux Users|
1.4|PC-BSD® for Linux Users|
+
 
2.|Pre-Installation Tasks|
 
2.|Pre-Installation Tasks|
 
2.1|Hardware Requirements|
 
2.1|Hardware Requirements|
Line 43: Line 42:
 
5.1|Using the Text Installer|
 
5.1|Using the Text Installer|
 
5.2|Install a Server|
 
5.2|Install a Server|
5.2|Convert a FreeBSD System to PC-BSD®|
+
5.3|Convert a FreeBSD System to PC-BSD®|
5.3|Using a Rolling Release|
+
 
5.4|Dual Booting|
 
5.4|Dual Booting|
 
5.5|Creating an Automated Installation with pc-sysinstall|
 
5.5|Creating an Automated Installation with pc-sysinstall|
Line 73: Line 71:
 
8.|Control Panel|
 
8.|Control Panel|
 
8.1|EasyPBI2|
 
8.1|EasyPBI2|
8.2|About|
+
8.2|Update Center|
8.3|Active Directory & LDAP|
+
8.3|About|
8.4|Boot Manager|
+
8.4|Active Directory & LDAP|
8.5|Hardware Compatibility|
+
8.5|Boot Manager|
8.6|Service Manager|
+
8.6|Hardware Compatibility|
8.7|System Manager|
+
8.7|Login Manager|
8.8|User Manager|
+
8.8|Service Manager|
8.9|Bluetooth Manager|
+
8.9|System Manager|
8.10|Mount Tray|
+
8.10|User Manager|
8.11|Sound Configuration|
+
8.11|Bluetooth Manager|
8.12|Display|
+
8.12|Mount Tray|
8.13|Disk Manager|
+
8.13|Sound Configuration|
8.14|Printing|
+
8.14|Display|
8.15|Scanner|
+
8.15|Disk Manager|
8.16|Network Configuration|
+
8.16|Printing|
8.17|Firewall Manager|
+
8.17|Scanner|
8.18|Adobe Flash Player preferences|
+
8.18|Network Configuration|
8.19|Life Preserver|
+
8.19|Firewall Manager|
8.20|PC-BSD® Bug Reporting|
+
8.20|Adobe Flash Player preferences|
8.21|Warden®|
+
8.21|Life Preserver|
 +
8.22|PC-BSD® Bug Reporting|
 +
8.23|Warden®|
 
9.|Using PC-BSD®|
 
9.|Using PC-BSD®|
 
9.1|Java, Flash, and Fonts|
 
9.1|Java, Flash, and Fonts|
 
9.2|Multimedia|
 
9.2|Multimedia|
 
9.3|Files and File Sharing|
 
9.3|Files and File Sharing|
9.4|MythTV|
+
9.4|XBMC|
9.5|XBMC|
+
9.5|Windows Emulation|
9.6|Windows Emulation|
+
9.6|Remote Desktop|
9.7|Remote Desktop|
+
9.7|Thin Client|
9.8|Thin Client|
+
9.8|Security|
9.9|Security|
+
9.9|Accessibility|
9.10|Accessibility|
+
9.10|Create Your Own PBI Repository|
9.11|Create Your Own PBI Repository|
+
 
10.|Finding Help|
 
10.|Finding Help|
 
10.1|PC-BSD® Forums|
 
10.1|PC-BSD® Forums|
Line 125: Line 124:
 
|
 
|
 
}}
 
}}
{| class="noprint" align="left" style="margin-left:-7px; margin-right:20px; margin-top:2px; margin-bottom:1px"
+
<noinclude>
|
+
{{:template:UseTOC}}
|-
+
__NOEDITSECTION__
|__FORCETOC__
+
| __TOC__
+
|}
+
== Description ==
+
{{note|class=rightfloat|width=35%|icon64=Translators should localize the following templates used: 
+
:* {{translate-me-link|template:Word-previous|txt=Word-previous}}
+
:* {{translate-me-link|template:Word-next|txt=Word-next}},
+
:* {{translate-me-link|template:Phrase-return to table of contents|txt=Phrase-return to table of contents}}, and
+
:* {{translate-me-link|template:Phrase-table of contents|txt=Phrase-table of contents}} }}
+
This damn spiffy template enables a centralized '''Handbook ''Table of Contents''''' which can be used in multiple ways.  It calls an entirely automagical NavHeader template which uses the chronological relationship in the page names within the UseTOC template to choose the ''back'' and ''forward'' links.  The same ordered list provides the Table Of Contents page links and provides for the flat_html page (although wiki page limits prevent this). It necessarily works within the versioned page system, which means that this template will need to be duplicated for each of the future versions.
+
 
+
== Usage ==
+
'''<nowiki>{{UseTOC{{</nowiki>putVers}}|Nav}}''' invokes the NavHeader as below:<br/>
+
{| class="navheader noprint screen"
+
|class="navleft"|{{NavHeaderLeft|{{{back}}}{{putLang}}|{{{forward}}}{{putLang}}|{{#if:{{{l7dBack|}}}|{{{l7dBack}}}|{{{back}}}}}|{{#if:{{{l7dForward|}}}|{{{l7dForward}}}|{{{forward}}}}}}}
+
|class="navheaderbuffer"|
+
|class="navmiddle"|{{NavHeaderMiddle}}
+
|class="navheaderbuffer"|
+
|class="navright"|{{NavHeaderRight|{{{back}}}{{putLang}}|{{{forward}}}{{putLang}}|{{#if:{{{l7dBack|}}}|{{{l7dBack}}}|{{{back}}}}}|{{#if:{{{l7dForward|}}}|{{{l7dForward}}}|{{{forward}}}}}}}
+
|-
+
|class="titleheader" colspan=5|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; class="titleheadertext">{{#if: {{getLang}}|{{:Translations:{{#titleparts: {{PAGENAME}}|1|1}}/Page display title/{{getLang}}}}|{{#titleparts: {{{custompagename|{{PAGENAME}}}}}|1}}}}</span>
+
|}
+
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}}
+
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|Toc}}''' invokes a list of Table Of Contents links similar to below:<br/>
+
{{hierB|title=Preface}}<br/>
+
{{hierB|1.|title=Introduction}}
+
{{hier|1.1|title=Goals and Features}}
+
{{hier|1.2|title=What's New|alt=What's New in {{getVers}}}}
+
{{hier|1.3|title=PC-BSD® Releases}}
+
{{hier|1.4|title=PC-BSD® for Linux Users}}
+
'''<nowiki>{{UseTOC{{putVers}}</nowiki>|flat}}''' causes the {{local|link=flat_html}} page output.
+
 
</noinclude>
 
</noinclude>

Latest revision as of 10:20, 27 January 2014


Contents

Description

NOTE: Translators should localize the following templates used:

This damn spiffy template enables a centralized Handbook Table of Contents which can be used in multiple ways. It calls an entirely automagical NavHeader template which uses the chronological relationship in the page names within the UseTOC template to choose the back and forward links. The same ordered list provides the Table Of Contents page links and provides for the flat_html page (although wiki page limits prevent this). It necessarily works within the versioned page system, which means that this template will need to be duplicated for each of the future versions.

Usage

Navigation

{{UseTOC{{putVers}}|Nav}} invokes the NavHeader output similar to below:

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:

(Sorry for the inconvenience)

Table Of Contents

{{UseTOC{{putVers}}|Toc}} invokes a formatted list of page links similar to below:
Preface
1. Introduction

1.1 Goals and Features
1.2 What's New in 10.0
1.3 PC-BSD® Releases
1.4 PC-BSD® for Linux Users

Flat HTML

{{UseTOC{{putVers}}|flat}} causes the flat_html page output (but is limited by page size which makes it incomplete/broken in actual use).

Modification

How to insert new pages into the Table Of Contents


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox