Difference between revisions of "Template:Segmented control"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
{{#vardefine:segmentFillHTML| | {{#vardefine:segmentFillHTML| | ||
<div class="rsSegmentFill"> | <div class="rsSegmentFill"> | ||
− | <span class="rsSegmentTitle">{{#var:segmentIconHTML | + | <span class="rsSegmentTitle">{{#var:segmentIconHTML}} |
<span class="rsSegmentTitleText">{{#var:segmentTitle}}</span> | <span class="rsSegmentTitleText">{{#var:segmentTitle}}</span> | ||
</span> | </span> |
Revision as of 19:24, 28 March 2020
Usage example:
{{SegmentedControl |Titles=Title 1;Title 2;Title 3 |Icons=Icon-name.png;;Icon-name.png |Links=Name of page;Name of page;}}
Segments without links will be assumed to be selected. Missing icons will show segments without icons.