Template:Ch-menu: Difference between revisions

From Electrical Installation Guide
m (Protected "Template:Ch-menu" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(modified for migration to MW1.35)
Line 1: Line 1:
<includeonly>{{#vardefine:chapter-toc-page|{{#ask: [[Has chapter letter::{{{letter|{{{1|?}}}}}}]]|format=list|link=none|limit=1}}}}
<includeonly>{{#vardefine:chapter-toc-page|{{#ask: [[Category:Eig-ch-landing-pages]] [[Has chapter letter::{{{letter|{{{1|?}}}}}}]]|link=none|limit=1}}}}
<p class="SchneiderMenuChapter">{{txt-chapter}} {{{letter|{{{1|?}}}}}}</p>
<p class="SchneiderMenuChapter">{{txt-chapter}} {{{letter|{{{1|?}}}}}}</p>
<p class="SchneiderMenuTitle">[[{{#var:chapter-toc-page}}]]</p>
<p class="SchneiderMenuTitle">[[{{#var:chapter-toc-page}}]]</p>

Revision as of 09:10, 22 June 2022


Template to generate the mediawiki:eig-ch-menu-X for a chapter, based on chapter-letter. These system messages are used with Dokit sidemenu. Only one parameter needed, chapter letter

Template parameters

ParameterDescriptionTypeStatus
chapter letterletter 1

the letter of the Chapter (A..S)

Example
A
Stringrequired