Template:ToggleAll

 Usage:

1

2

3

Result:

1

2

3