Template talk:Scoutage

(Redirected from Template talk:Scoutage/sandbox)
Latest comment: 16 years ago by Egel in topic bug

bug

edit

There is only a small bug I can't kill: in the last section are one or more <p><br /></p> thrown in. I can't find why.--Egel Reaction? 16:47, 16 July 2008 (UTC)Reply


Something to do with the number of spanned columns:

 -  5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21+ adults
Test 1
 -  5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21+ adults
Test 2
 -  5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21+ adults
Test 3
 -  5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21+ adults
Test 4

--—— Gadget850 (Ed) talk - 17:17, 16 July 2008 (UTC)Reply

Looks like you fixed it. --—— Gadget850 (Ed) talk - 12:11, 17 July 2008 (UTC)Reply
I think in a somewhat inefficient way: all 18 section-cels are made but the empty ones get style="display:none" But it works, even in NetSurf --Egel Reaction? 12:21, 17 July 2008 (UTC)Reply
What does the "< 2" do? Looking at the article, we need one more row (for the BSA of course). --—— Gadget850 (Ed) talk - 12:57, 17 July 2008 (UTC)Reply
When the second row is not needed the style="display:none" as an extra safeguard in case the mediawiki software throws something in the empty row. 3rd row is made. --Egel Reaction? 13:21, 17 July 2008 (UTC)Reply