Difference between revisions of "Template:Icon cards"

From partnersenproppersolutions
(2, 3 of 4)
Line 21: Line 21:
 
</pre>
 
</pre>
  
</noinclude><includeonly>{{#vardefine:@col-size|{{#if:{{{Icoon4|}}}{{{Tussenkop4|}}}|3|4}}}}<!--
+
</noinclude><includeonly>{{#vardefine:@col-size|<!--
 +
  -->{{#if:{{{Icoon4|}}}{{{Tussenkop4|}}}{{{Tekst4|}}}|3|<!--
 +
    -->{{#if:{{{Icoon3|}}}{{{Tussenkop3|}}}{{{Tekst3|}}|4|<!--
 +
      --->{{#if:{{{Icoon2|}}}{{{Tussenkop2|}}}{{{Tekst2|}}|6}} }}}} }}<!--
 
   --><div class="row">
 
   --><div class="row">
 
<div class="col-md-{{#var:@col-size}}">
 
<div class="col-md-{{#var:@col-size}}">
Line 39: Line 42:
 
}}
 
}}
 
</div>
 
</div>
 +
{{#if:{{{Icoon3|}}}{{{Tussenkop3|}}}{{{Tekst3|}}}|
 
<div class="col-md-{{#var:@col-size}}">
 
<div class="col-md-{{#var:@col-size}}">
 
{{Icon card
 
{{Icon card
Line 46: Line 50:
 
{{{Tekst3|}}}
 
{{{Tekst3|}}}
 
}}
 
}}
</div>
+
</div>}}
{{#if:{{{Icoon4|}}}{{{Tussenkop4|}}}|
+
{{#if:{{{Icoon4|}}}{{{Tussenkop4|}}}{{{Tekst4|}}}|
 
<div class="col-md-{{#var:@col-size}}">
 
<div class="col-md-{{#var:@col-size}}">
 
{{Icon card
 
{{Icon card

Revision as of 14:22, 27 January 2017

Een sjabloon voor 3 of 4 icon cards naast elkaar.

{{Icon cards
|Icoon1=
|Kleur1=
|Tussenkop1=
|Tekst1=
|Icoon2=
|Kleur2=
|Tussenkop2=
|Tekst2=
|Icoon3=
|Kleur3=
|Tussenkop3=
|Tekst3=
|Icoon4=
|Kleur4=
|Tussenkop4=
|Tekst4=
}}