« Modèle:Menu E » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
m (1 version importée : move to MW1.39)
(Remove SMW - use new template Add-ch-menu)
 
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>{{Add-ch-menu|letter=E}}</includeonly><noinclude>[[Category:Legacy-eig-ch-menus]]<templatedata>
<!---------- modify the chapter letter below, to adapt to each chapter ---------->
{{#vardefine:letter|E}}
<!---------------------------------------------------------------------------------------------------->
{{#isin:{{#hierarchyParent:{{#titleparts:{{FULLPAGENAME}}}}|{{MediaWiki:eig-hierarchy}}|hierarchyargtype=wikitext|link=none}}}}
{{#set:Has chapter letter={{#var:letter}}}}
{{#vardefine:menuMsg|eig-ch-menu-{{#var:letter}}}}
{{#sideSummary:{{#var:menuMsg}}}}
{{ch-category|{{#var:letter}}}}[[Category:eig-content-pages]]</includeonly><noinclude>[[Category:eig-ch-menus]]<templatedata>
{
{
"params": {},
"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"
"description": "Is/was called from all pages of the related chapter to add common information to these pages (parent page, chapter category, and sidemenu). Now calls Template:Add-ch-menu (with parameter = chapter letter), with same result as before. Still temporarily used until all inside content pages call directly Add-ch-menu (rather than this template). Do not delete, kept for older versions of pages which still call this template"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Dernière version du 2 septembre 2025 à 13:56

Is/was called from all pages of the related chapter to add common information to these pages (parent page, chapter category, and sidemenu). Now calls Template:Add-ch-menu (with parameter = chapter letter), with same result as before. Still temporarily used until all inside content pages call directly Add-ch-menu (rather than this template). Do not delete, kept for older versions of pages which still call this template

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Aucun paramètre spécifié