Template:Menu LV switchgear functions and selection: Difference between revisions
From Electrical Installation Guide
m (1 revision imported: Chapter menu templates - migrated to new navigation system) |
(modified chapter navigation template for MW1.35 and to add chapter letter to all pages of the chapter) |
||
Line 1: | Line 1: | ||
<includeonly> | |||
<!---------- modify the chapter letter below, to adapt to each chapter ----------> | <!---------- modify the chapter letter below, to adapt to each chapter ----------> | ||
{{#vardefine:letter|H}} | {{#vardefine:letter|H}} | ||
<!----------------------------------------------------------------------------------------------------> | <!----------------------------------------------------------------------------------------------------> | ||
{{#set:Has parent page={{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}} | |||
{{#set:Has chapter letter={{#var:letter}}}} | |||
{{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}} | {{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}} | ||
{{#sideSummary:{{#var:menuMsg}}}} | {{#sideSummary:{{#var:menuMsg}}}} | ||
{{ch-category|{{#var:letter}}}}[[Category:eig-content-pages]]</includeonly><noinclude>[[Category:eig-ch-menus]]<templatedata> | |||
{ | { | ||
"params": {}, | "params": {}, |
Revision as of 09:16, 22 June 2022
This template is used to add common information to pages of a same chapter: semantic property for parent page, chapter category, and sidemenu
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |