Template:Hp-sliders: Difference between revisions

From Electrical Installation Guide
m (Protected "Template:Hp-sliders" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(correction as tested in PPR-EN - moved a </div> that was misplaced, creating an incoherence with some related css - some grey appeared below sliders, if several sliders)
Line 37: Line 37:
</div>
</div>
}}
}}
</div>
<!--------------------- carousel control arrows, only add if there is at least 2 sliders --------------------------->{{#if: {{{title2|}}}|
<!--------------------- carousel control arrows, only add if there is at least 2 sliders --------------------------->{{#if: {{{title2|}}}|
<span class="left carousel-control" data-target="#carousel-example-generic" role="button" data-slide="prev">
<span class="left carousel-control" data-target="#carousel-example-generic" role="button" data-slide="prev">
Line 47: Line 48:
</span>}}
</span>}}
<!-------------------------------------------------------------------------->
<!-------------------------------------------------------------------------->
</div>
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Revision as of 13:24, 9 December 2021

This is the "Hp-sliders" template, used as a model to create/modify Homepage "sliders".

To modify Homepage "sliders", go to the dedicated form page

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

{{Hp-sliders
|title=
|image=
|text=
|btn-text=
|link=
|title2=
|image2=
|text2=
|btn-text2=
|link2=
|title3=
|image3=
|text3=
|btn-text3=
|link3=
}}