Template:Menu S: Difference between revisions
From Electrical Installation Guide
m (1 revision: Update chapter Q name in menu templates) |
Migrate2019 (talk | contribs) (new chapter navigation template using hierarchy) |
||
Line 1: | Line 1: | ||
{{#set:Has parent page={{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}} | |||
<!---------- modify the chapter letter below, to adapt to each chapter ----------> | |||
{| | {{#vardefine:letter|S}} | ||
| | <!----------------------------------------------------------------------------------------------------> | ||
{{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}} | |||
{{#sideSummary:{{#var:menuMsg}}}} | |||
<includeonly>{{ch-category|{{#var:letter}}}}[[Category:eig-content-pages]]</includeonly><noinclude>[[Category:eig-ch-menus]]<templatedata> | |||
| | { | ||
"params": {}, | |||
"description": "This template is used to add common information to pages of a same chapter: semantic property for parent page, chapter category, and sidemenu" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
|- | |||
</ | |||
</ |
Revision as of 12:56, 20 December 2019
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 |