Template:Table row cycle
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template uses Widget:Table row cycle to enable rows of a table to be cycled through underneath each other.
Usage[edit]
{{Template:Table row cycle|classes=<css class list>}} {{Template:Table row cycle|titles=<titles for next>}} {{Template:Table row cycle|classes=<css class list>|titles=<titles for next>}}
Parameters[edit]
- classes
- Optional. ',' separated. A list of css classes assigned to table rows that should be made part of a cycle.
- If not specified defaults to: gift-of-maguuma-mastery,gift-of-desert-mastery
- 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.
- If not specified defaults to: Click to see the ingredients for a Gift of Desert Mastery instead.;Click to see the ingredients for a Gift of Maguuma Mastery instead.
Example[edit]
{| {{STDT}} |- ! See second row |- | First row |- class="row-2-1" | Second row |- class="row-2-2" style="display: none;" | Alternate second row |- | Third row |} {{Template: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 |