Widget:Table row cycle

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget enables rows of a table to be cycled through underneath each other; currently by means of clicking on the first cell of the row shown at the time. This widget should only be used once per page.

Parameters

classes
Optional. ',' separated. A list of css classes assigned to table rows that should be made part of a cycle.
titles
Optional. ';' separated. A list of titles that will be set on the first cell of each row to indicate what the next row in the cycle will show when clicked.

Notes

Example

{| {{STDT}}
|-
! See second row
|-
| First row
|- class="row-2-1"
| Second row
|- class="row-2-2" style="display: none;"
| Alternate second row
|-
| Third row
|}
{{#Widget:Table row cycle
| classes = row-2-1, row-2-2
| titles = Click to show an alternate version of row nr 2.; Click to see the default version of row nr 2 again.
}}
See second row
First row
Second row
Third row