(Created page with "<noinclude> This is the "Sidebar item" template. It should be called in the following format: <pre> {{Sidebar item |Label= (text) |Value= (text) |Cols= (bootstrap col valu...")
 
(Imported by WSPageSync)
Line 7: Line 7:
|Label= (text)
|Label= (text)
|Value= (text)
|Value= (text)
|Cols= (bootstrap col values) example "4-8" or "2-10") defaults to 6-6
}}
}}
</pre>
</pre>
Line 13: Line 12:
== Test ==
== Test ==
{{Sidebar item
{{Sidebar item
|Label=Label
|Label=Test label
|Value=Value with Cols 6-6
|Value=Test value
|Cols=6-6
}}
}}


{{Sidebar item
|Label=Label
|Value=Value with Cols 4-8
|Cols=4-8
}}
    
    
</noinclude><includeonly><li class="{{{Standard class|list-group-item}}}"><!--
</noinclude><includeonly><div class="sidebar-item"><!--
-->{{#if:{{{Label|}}}|<b class="d-block">{{{Label|}}}</b>}}<!--  
  -->{{#if:{{{Label|}}}|<div class="sidebar-item-label">{{{Label|}}}</div>}}<!--  
-->{{#if:{{{Value|}}}|{{{Value|}}} }}<!--  
  -->{{#if:{{{Value|}}}|<div class="sidebar-item-value">{{{Value|}}}</div>}}<!--
--></li></includeonly>
--></div></includeonly>

Revision as of 08:34, 20 April 2022


This is the "Sidebar item" template. It should be called in the following format:

{{Sidebar item
|Label= (text)
|Value= (text)
}}

Test