Difference between revisions of "Template:Item responsive"

From SystersWiki
 
Line 4: Line 4:
 
|2=
 
|2=
 
|Cols=2-10 (defaults to 1-11)
 
|Cols=2-10 (defaults to 1-11)
|ClassCol1=default: text-bold
+
|ClassCol1=default: font-weight-bold
 
}}
 
}}
 
</pre>
 
</pre>
Line 13: Line 13:
 
|Cols=6-6
 
|Cols=6-6
 
}}
 
}}
 
<div class="font-weight-light">This is a test</div>
 
  
 
</noinclude><includeonly>{{#vardefine:cols|{{#if:{{{Cols|}}}|{{{Cols|}}}|2-10}} }}<div class="row row-formitemresponsive">{{#vardefine:col1|{{#explode:{{#var:cols}}|-}} }} {{#vardefine:col2|{{#explode:{{#var:cols}}|-|1}} }}
 
</noinclude><includeonly>{{#vardefine:cols|{{#if:{{{Cols|}}}|{{{Cols|}}}|2-10}} }}<div class="row row-formitemresponsive">{{#vardefine:col1|{{#explode:{{#var:cols}}|-}} }} {{#vardefine:col2|{{#explode:{{#var:cols}}|-|1}} }}

Latest revision as of 12:33, 24 March 2020

{{Item responsive
|1=
|2=
|Cols=2-10 (defaults to 1-11)
|ClassCol1=default: font-weight-bold
}}
col 1
col 2