Template:Hp-sliders: Difference between revisions

From Electrical Installation Guide
(modified for migration to MW1.35)
(remove the ... after internal links - during Prosumer (update ch.K and ch.P))
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
<h4>{{{title}}}</h4>
<h4>{{{title}}}</h4>
<p class="text">{{{text}}}</p>
<p class="text">{{{text}}}</p>
{{#if: {{{btn-text|}}} | {{#ifeq: {{#sub:{{{link}}}|0|4}} | http |[{{{link}}} <span class="btn btn-primary">{{{btn-text}}}</span>] | [[{{{link}}}|> {{{btn-text}}} ...]]}} }}
{{#if: {{{btn-text|}}} | {{#ifeq: {{#sub:{{{link}}}|0|4}} | http |[{{{link}}} <span class="btn btn-primary">{{{btn-text}}}</span>] | [[{{{link}}}|> {{{btn-text}}}]]}} }}
</div>
</div>
</div><!--
</div><!--
Line 24: Line 24:
<h4>{{{title2}}}</h4>
<h4>{{{title2}}}</h4>
<p class="text">{{{text2}}}</p>
<p class="text">{{{text2}}}</p>
{{#if: {{{btn-text2|}}} | {{#ifeq: {{#sub:{{{link2}}}|0|4}} | http |[{{{link2}}} <span class="btn btn-primary">{{{btn-text2}}}</span>] | [[{{{link2}}}|> {{{btn-text2}}} ...]]}} }}
{{#if: {{{btn-text2|}}} | {{#ifeq: {{#sub:{{{link2}}}|0|4}} | http |[{{{link2}}} <span class="btn btn-primary">{{{btn-text2}}}</span>] | [[{{{link2}}}|> {{{btn-text2}}}]]}} }}
</div>
</div>
</div>
</div>

Latest revision as of 16:26, 10 November 2023

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