Widget:Zebra


Used to convert a list for zebra striping.

Usage:

Place the list you want in a nowiki section, followed by the Zebra widget. Like so:

 <nowiki>
First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh Item
Twelfth Item
Thirteenth Item
Fourteenth Item
</nowiki>{{#widget:Zebra}}

Shows As:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh Item
Twelfth Item
Thirteenth Item
Fourteenth Item
{{#widget:Zebra}}


Another example:

Item One
Item Two
Item Three
Item Four
Item Five
Item Six
Item Seven
Item Eight
Item Nine
{{#widget:Zebra}}

One with a multiple of five elements:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
{{#widget:Zebra}}


11:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh
{{#widget:Zebra}}


12:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh
Twelfth
{{#widget:Zebra}}


13:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh
Twelfth
Thirteenth
{{#widget:Zebra}}


14:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh
Twelfth
Thirteenth
Fourteenth
{{#widget:Zebra}}

15:

First Item
Second Item
Third Item Three.
Fourth Item
Fifth Item
Sixth Item
Seventh <Item > TryIt
Eight Item
Ninth Item
Tenth Item
Eleventh
Twelfth
Thirteenth
Fourteenth
Fifteenth
{{#widget:Zebra}}