« Modèle:Hp-sliders » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
m (1 révision importée : importer pages, templates etc de PPR-FR - X3)
(update as PROD-EN - mistake in default form - moved a </div> that was misplaced, creating an incoherence with some related css, some grey appeared below sliders, if several sliders)
Ligne 1 : Ligne 1 :
__NOEDITSECTION__<includeonly>{{#default_form:Hp-highlight}}<div class="hp-slider row">
__NOEDITSECTION__<includeonly>{{#default_form:Hp-sliders}}<div class="hp-slider row">
<div id="carousel-example-generic" class="carousel slide" data-interval="false" data-ride="carousel"  data-interval="10000"><!--
<div id="carousel-example-generic" class="carousel slide" data-interval="false" data-ride="carousel"  data-interval="10000"><!--
-->{{#if: {{{title2|}}}|
-->{{#if: {{{title2|}}}|
Ligne 37 : Ligne 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">
Ligne 47 : Ligne 48 :
</span>}}
</span>}}
<!-------------------------------------------------------------------------->
<!-------------------------------------------------------------------------->
</div>
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Version du 9 décembre 2021 à 13:36

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=
}}