Difference between revisions of "Template:FindSection"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
{{DoNavHeader|title={{{title|}}}|forward=
+
{{DoSection|section=
 
{{#switch: {{PagenameOnly}}
 
{{#switch: {{PagenameOnly}}
 
| {{ucfirst:{{{1}}}}}
 
| {{ucfirst:{{{1}}}}}

Revision as of 23:47, 29 December 2013

{{#switch: {{{findSection}}} | 1

use the chapter number as the variable to add 1-30 as a series of tests such as "1" where <var> might be "1." resulting in "1.1" and when this matches, show the title as a link.