Template:Hp-chapter-block: Difference between revisions

From Electrical Installation Guide
m (1 revision imported: Import new Homepage templates (exported from PPR))
m (Protected "Template:Hp-chapter-block" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))

Revision as of 22:24, 22 December 2019


Used to add one chapter "component" on homepage table of content. The "link-text" parameter should generally be omitted (only needed if a chapter page name is too long and needs to be shortened) Two elements are deducted from the chapter-letter:

  • the chapter page name is fetched automatically using semantic properties (#ask)
  • the chapter icon image file name = "File:Hp-chapter-<chapter-letter>.png"

Template parameters

ParameterDescriptionTypeStatus
chapter letterletter

the letter (A..S) of the chapter

Default
A
Example
A
Unknownsuggested
alt text to show on mouse hoveralt-text

The alt text to show on mouse hover

Default
This section introduces the roles of standards and regulations, provides a list of the relevant IEC standards for electrical installation, provides details on standardized voltage ranges, on quality and safety of electrical installations etc ...
Unknownsuggested
Link textlink-text

The text of the link (if different from the chapter page name)

Unknownoptional