Template:Menu Harmonic management: Difference between revisions

From Electrical Installation Guide
m (1 revision imported: Chapter menu templates - migrated to new navigation system)
m (1 revision imported: move to MW1.39)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#set:Has parent page={{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}}
<includeonly>
<!---------- modify the chapter letter below, to adapt to each chapter ---------->
<!---------- modify the chapter letter below, to adapt to each chapter ---------->
{{#vardefine:letter|M}}
{{#vardefine:letter|M}}
<!---------------------------------------------------------------------------------------------------->
<!---------------------------------------------------------------------------------------------------->
{{#isin:{{#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}}}}
<includeonly>{{ch-category|{{#var:letter}}}}[[Category:eig-content-pages]]</includeonly><noinclude>[[Category:eig-ch-menus]]<templatedata>
{{ch-category|{{#var:letter}}}}[[Category:eig-content-pages]]</includeonly><noinclude>[[Category:eig-ch-menus]]<templatedata>
{
{
"params": {},
"params": {},

Latest revision as of 13:45, 26 January 2024

This template is used to add common information to pages of a same chapter: semantic property for parent page, chapter category, and sidemenu

Template parameters

ParameterDescriptionTypeStatus
No parameters specified