Template:ටැබ් තීරුව/උපදෙස්
Appearance
Uses Lua: |
This template uses TemplateStyles: |
භාවිතය
[edit]Template to produce a simple tab bar that uses OOUI styling for consistency with other Wikimedia UI.
- align alignment of the tabs. Optional, default left
- selected set the the selected tab (gets an underline highlight). If not given, the tab with a link matching the current page's name is selected.
- link-N The target of the N'th tab's link
- tab-N The text of the N'th tab. Optional, if not given, the link is used
Example
{{ටැබ් තීරුව
| align = center
| tab-1 = Tab 1
| link-1 = Link 1
| tab-2 = Tab 2
| link-2 = Template:ටැබ් තීරුව
| link-3 = Link 3
}}