Template:Hp-highlight: Difference between revisions

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

Revision as of 22:25, 22 December 2019


This templates is used on homepage, to add a "highlight" block

Template parameters

ParameterDescriptionTypeStatus
Positionposition

Position of this highlight (left or right)

Example
left
Stringrequired
Titletitle

Title of the highlight

Example
Electricl Fire Prevention
Unknownrequired
Subtitlesubtitle

Subtitle of the highlight

Example
White paper
Stringrequired
Imageimage

The image to show in this highlight (recommended size = 200x300px)

Example
help-section-doc.png
Filerequired
Linklink

Link of the Call To Action (can be a wiki page name or an external url)

Example
http://www.schneider-electric.com/en/download/document/9982095_02-08-17A_EN/
Stringrequired
Texttext

Text giving details about this highlight

Unbalanced wikitextsuggested
Button or link textbtn-text

The text of the link/button

Example
Donwload the guide
Stringrequired
Link2link2

Optional second CTA - link (can be a wiki page name or an external url)

Example
http://www.schneider-electric.com/en/download/document/9982095_02-08-17A_EN/
Stringsuggested
Text2text2

Optional second CTA - Text

Unbalanced wikitextsuggested
2nd Button or 2nd link textbtn-text2

Optional second CTA - Text of the link/button

Example
Donwload the guide
Stringsuggested