Difference between revisions of "Template:Segmented control"

From Co-Optitude Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
Usage example:
 
Usage example:
 
<pre>
 
<pre>
{{SegmentedControl
+
{{Segmented control
 
   |Titles=Title 1;Title 2;Title 3
 
   |Titles=Title 1;Title 2;Title 3
 
   |Icons=rsIconCSSClassName;;rsIconCSSClassName
 
   |Icons=rsIconCSSClassName;;rsIconCSSClassName

Latest revision as of 06:01, 25 April 2020

Usage example:

{{Segmented control
  |Titles=Title 1;Title 2;Title 3
  |Icons=rsIconCSSClassName;;rsIconCSSClassName
  |Links=Name of page;Name of page;}}

Segments without links will be assumed to be selected. Missing icon classes will show segments without icons.