Template:Hp-highlight

From Electrical Installation Guide
Revision as of 14:09, 27 March 2020 by LMischler (talk | contribs)

This is the "Hp-highlight-model" template, used to create "highlights" on the Homepage.

To create Hp-highlights using this template, use the dedicated form page

Alternatively, you can call this template in the following format:

{{Hp-highlight-model
|title=
|subtitle=
|image=
|text=
|btn-text=
|link=
|text2=
|btn-text2=
|link2=
}}

Edit the page to see the template text.




This is the "Hp-highlight-model" template, used to create "highlights" on the Homepage. Details on its parameters

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the highlight

Example
Electrical Fire Prevention
Unknownrequired
Subtitlesubtitle

Subtitle of the highlight

Example
White paper
Stringrequired
Imageimage

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

Example
help-section-doc.png
Filerequired
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
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
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
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