(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 PageSync)
Tag: Metadata slot edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
 
 
This is the "Sidebar item" template. It should be called in the following format:
 
This is the "Sidebar item" template. It should be called in the following format:
  
Line 7: Line 6:
 
|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 11:
 
== 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>
ws-base-props
Line 1: Line 1:
 
+
{{Base properties
 +
|Class=Application page
 +
|Title=Template:Sidebar item
 +
|Version history={{Version history item
 +
|Version number=1.0
 +
|Version description=Initial version
 +
|Version date=2022-12-02 09:00:17
 +
}}
 +
}}
ws-class-props
Line 1: Line 1:
 
+
{{Application page properties
 +
|Type=CSP Basis Core
 +
|Origin=CSP Basis
 +
}}

Latest revision as of 13:46, 18 January 2023

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

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

Test