Template:Menu EV: Difference between revisions

From Electrical Installation Guide
m (1 revision imported: MW1.35 - chapter menu templates - updated)
(modified for migration to MW1.39)
Line 3: Line 3:
{{#vardefine:letter|EV}}
{{#vardefine:letter|EV}}
<!---------------------------------------------------------------------------------------------------->
<!---------------------------------------------------------------------------------------------------->
{{#set:Has parent page={{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}}
{{#isin:{{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}}
{{#set:Has chapter letter={{#var:letter}}}}
{{#set:Has chapter letter={{#var:letter}}}}
{{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}}
{{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}}

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