Difference between revisions of "Template:UseTOC/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Description)
Line 142: Line 142:
 
:* {{translate-me-link|template:Phrase-return to table of contents|txt=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  
 
:* {{translate-me-link|template:Phrase-table of contents|txt=Phrase-table of contents}} }}
 
:* {{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. It necessarily works within the versioned page system, which means that this template will need to be duplicated for future versions.
+
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 future versions.
  
 
== Usage ==
 
== Usage ==

Revision as of 22:47, 22 December 2013


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 future versions.

Usage

{{UseTOC{{putVers}}|Nav}} invokes the NavHeader as below:

But if the pages relating to the backward (left) or forward (right) icon/links are not yet defined by their translation, then the result is below:
(Sorry for the inconvenience)

{{UseTOC{{putVers}}|Toc}} invokes a list of Table Of Contents links similar to below:
Preface
1. Introduction

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

{{UseTOC{{putVers}}|flat}} causes the flat_html page output.