User:Who R you?/sandbox15/testcase

From Wikipedia, the free encyclopedia

Compare the functionality of existing version of {{ Break}} to revised [[LinkTemplate|User:Who R you?/sandbox15].

Also try another method using 2 templates with User:Who R you?/sandbox15b and User:Who R you?/sandbox15c.
Note: The 2-template method is slightly different in that a space " " following the template call is treated as a space at the beginning of a new line; thus it indents and formats the following text in a dashed/margined box; but really this is the more correct handling; although it is unclear why the output from the other versions of the template id different.

Side-by-side output varieties[edit]

Revised ( sandbox15 ) Existing ( {{ Break}} ) 2-Template Method ( sandbox15b ) 2-Template Method
(with a space " " after the Template)
( sandbox15b )
sausages
SAUSAGES
missing
MISSING
empty
EMPTY
negative–one NEGATIVE–ONE
       ← Blank line inserted →   
zero ZERO
       ← Blank line inserted →   
one
ONE
two

TWO
three


THREE
four



FOUR
five




FIVE
six





SIX
seven






SEVEN
eight







EIGHT
nine








NINE
ten









TEN
eleven










ELEVEN
twelve











TWELVE
thirteen












THIRTEEN
fourteen













FOURTEEN
fifteen














FIFTEEN
sixteen















SIXTEEN
seventeen
















SEVENTEEN
eighteen

















EIGHTEEN
nineteen


















NINETEEN
twenty



















TWENTY
twenty-one (Actual=20)



















TWENTY-ONE
twenty-two (Actual=20)



















TWENTY-TWO
twenty-three (Actual=20)



















TWENTY-THREE
twenty-four (Actual=20)



















TWENTY-FOUR
twenty-five (Actual=20)



















TWENTY-FIVE
twenty-six (Actual=20)



















TWENTY-SIX
twenty-seven (Actual=20)



















TWENTY-SEVEN
twenty-eight (Actual=20)



















TWENTY-EIGHT
twenty-nine (Actual=20)



















TWENTY-NINE
thirty (Actual=20)



















THIRTY
fifty (Actual=20)



















FIFTY
ninety-nine (Actual=20)



















NINETY-NINE
sausages
SAUSAGES
missing
MISSING
empty
EMPTY
negative–one NEGATIVE–ONE
zero ZERO
one
ONE
two

TWO
three


THREE
four



FOUR
five




FIVE
six





SIX
seven






SEVEN
eight







EIGHT
nine








NINE
ten









TEN
eleven










ELEVEN
twelve











TWELVE
thirteen












THIRTEEN
fourteen













FOURTEEN
fifteen














FIFTEEN
sixteen















SIXTEEN
seventeen
















SEVENTEEN
eighteen

















EIGHTEEN
nineteen


















NINETEEN
twenty



















TWENTY
twenty-one




















TWENTY-ONE
twenty-two





















TWENTY-TWO
twenty-three






















TWENTY-THREE
twenty-four























TWENTY-FOUR
twenty-five
























TWENTY-FIVE
twenty-six

























TWENTY-SIX
twenty-seven


























TWENTY-SEVEN
twenty-eight



























TWENTY-EIGHT
twenty-nine




























TWENTY-NINE
thirty





























THIRTY
fifty

















































FIFTY
ninety-nine


































































































NINETY-NINE
sausages

SAUSAGES

missing

MISSING

empty

EMPTY

negative–one

NEGATIVE–ONE

zero

ZERO

one

ONE

two

TWO

three


THREE

four



FOUR

five




FIVE

six





SIX

seven






SEVEN

eight







EIGHT

nine








NINE

ten









TEN

eleven










ELEVEN

twelve











TWELVE

thirteen












THIRTEEN

fourteen













FOURTEEN

fifteen














FIFTEEN

sixteen















SIXTEEN

seventeen
















SEVENTEEN

eighteen

















EIGHTEEN

nineteen


















NINETEEN

twenty



















TWENTY

twenty-one




















TWENTY-ONE

twenty-two





















TWENTY-TWO

twenty-three






















TWENTY-THREE

twenty-four























TWENTY-FOUR

twenty-five
























TWENTY-FIVE

twenty-six

























TWENTY-SIX

twenty-seven


























TWENTY-SEVEN

twenty-eight



























TWENTY-EIGHT

twenty-nine




























TWENTY-NINE

thirty





























THIRTY

fifty

















































FIFTY

ninety-nine (Max = 60)


























































NINETY-NINE

sausages
SAUSAGES
missing
MISSING
empty
EMPTY
negative–one
NEGATIVE–ONE
zero
ZERO
one
ONE
two

TWO
three


THREE
four



FOUR
five




FIVE
six





SIX
seven






SEVEN
eight







EIGHT
nine








NINE
ten









TEN
eleven










ELEVEN
twelve











TWELVE
thirteen












THIRTEEN
fourteen













FOURTEEN
fifteen














FIFTEEN
sixteen















SIXTEEN
seventeen
















SEVENTEEN
eighteen

















EIGHTEEN
nineteen


















NINETEEN
twenty



















TWENTY
twenty-one




















TWENTY-ONE
twenty-two





















TWENTY-TWO
twenty-three






















TWENTY-THREE
twenty-four























TWENTY-FOUR
twenty-five
























TWENTY-FIVE
twenty-six

























TWENTY-SIX
twenty-seven


























TWENTY-SEVEN
twenty-eight



























TWENTY-EIGHT
twenty-nine




























TWENTY-NINE
thirty





























THIRTY
fifty

















































FIFTY
ninety-nine (Max = 60)


























































NINETY-NINE


Mix of text, templates, & hard−coded <br />[edit]

Revised ( sandbox15 ) Existing ( {{ Break}} ) 2-Template Method ( sandbox15b ) 2-Template Method
(with a space " " after the Template)
( sandbox15b )
The template is used to insert a single break here ->
<- without passing any value (i.e. missing).
 
In this line, the template exists here -><- but has a value of zero "0".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->
<- as is either a single <br /> or the template with a value of one "1".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->
<- as is either a single <br /> or the template with a value of one "1".
 
Finally, the following examples show the text "Hello, I ->Template or <br /><- must be going!" and "Goodbye, it is ->Template or <br /><- nice to meet you!"; in each case created with the template (with a value of one "1") in the top version and the hard−coded <br /> in the repeated copy below.  Each of these pairs should be identical.
 
Hello, I ->
<- must be going!
 
Hello, I ->
<- must be going!
 
Goodbye, it is ->
<- nice to meet you!
 
Goodbye, it is ->
<- nice to meet you!
 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
The template is used to insert a single break here ->
<- without passing any value (i.e. missing).
 
In this line, the template exists here -><- but has a value of zero "0".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->
<- as is either a single <br /> or the template with a value of one "1".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->
<- as is either a single <br /> or the template with a value of one "1".
 
Finally, the following examples show the text "Hello, I ->Template or <br /><- must be going!" and "Goodbye, it is ->Template or <br /><- nice to meet you!"; in each case created with the template (with a value of one "1") in the top version and the hard−coded <br /> in the repeated copy below.  Each of these pairs should be identical.
 
Hello, I ->
<- must be going!
 
Hello, I ->
<- must be going!
 
Goodbye, it is ->
<- nice to meet you!
 
Goodbye, it is ->
<- nice to meet you!
 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
The template is used to insert a single break here ->

<- without passing any value (i.e. missing).

 
In this line, the template exists here ->

<- but has a value of zero "0".

 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->

<- as is either a single <br /> or the template with a value of one "1".

 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here ->
<- as is either a single <br /> or the template with a value of one "1".
 
Finally, the following examples show the text "Hello, I ->Template or <br /><- must be going!" and "Goodbye, it is ->Template or <br /><- nice to meet you!"; in each case created with the template (with a value of one "1") in the top version and the hard−coded <br /> in the repeated copy below.  Each of these pairs should be identical.
 
Hello, I ->

<- must be going!

 
Hello, I ->
<- must be going!
 
Goodbye, it is ->

<- nice to meet you!

 
Goodbye, it is ->
<- nice to meet you!
 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.

 
Finally, this duplicated line uses the template (in the top copy) here ->

<- with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
The template is used to insert a single break here →
← without passing any value (i.e. missing).
 
In this line, the template exists here →
← but has a value of zero "0".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here →
← as is either a single <br /> or the template with a value of one "1".
 
This example is repeated directly below; in the top version, the template is used to insert the break while in the second version the <br /> is hard−coded; but in both cases the code is right here →
← as is either a single <br /> or the template with a value of one "1".
 
Finally, the following examples show the text "Hello, I → Template or <br /> ← must be going!" and "Goodbye, it is → Template or <br /> ← nice to meet you!"; in each case created with the template (with a value of one "1") in the top version and the hard−coded <br /> in the repeated copy below.  Each of these pairs should be identical.
 
Hello, I →
← must be going!
 
Hello, I →
← must be going!
 
Goodbye, it is →
← nice to meet you!
 
Goodbye, it is →
← nice to meet you!
 
Finally, this duplicated line uses the template (in the top copy) here →

← with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.
 
Finally, this duplicated line uses the template (in the top copy) here →

← with a value of two "2" or with the hard−coded <br /><br /> pair (in the bottom copy) in the same location within the line.




In a non-table environment[edit]

Revised ( sandbox15 )[edit]


sausages
SAUSAGES
missing
MISSING
empty
EMPTY
negative–one NEGATIVE–ONE
zero ZERO
one
ONE
two

TWO
three


THREE

Existing ( {{ Break}} )[edit]


sausages
SAUSAGES
missing
MISSING
empty
EMPTY
negative–one NEGATIVE–ONE
zero ZERO
one
ONE
two

TWO
three


THREE

2-Template Method (without a space " " after the <br /> template) ( sandbox15b )[edit]


sausages SAUSAGES
missing
MISSING
empty
EMPTY
negative–one NEGATIVE–ONE
zero ZERO
one
ONE
two

TWO
three


THREE

2-Template Method (with a space " " after the <br /> template)
( sandbox15b )
[edit]


sausages

SAUSAGES


missing

MISSING


empty

EMPTY


negative–one

NEGATIVE–ONE


zero

ZERO


one

ONE


two

TWO


three


THREE




Verify Line Counts (by Method)[edit]

Revised ( sandbox15 )[edit]

¿
¿
00 1
1
2

2
3


3
19


















19
20



















20
21



















21
48



















48
49



















49
50



















50
51



















51
52



















52
58



















58
59



















59
60



















60
61



















61
62



















62
70



















70
99



















99
100



















100


Existing ( {{ Break}} )[edit]

¿
¿
00 1
1
2

2
3


3
19


















19
20



















20
21




















21
48















































48
49
















































49
50

















































50
51


















































51
52



















































52
58

























































58
59


























































59
60



























































60
61




























































61
62





























































62
70





































































70
99


































































































99
100



































































































100

2-Template Method (without a space " " after the <br /> template) ( sandbox15b )[edit]

¿

¿

0

0

1

1

2

2

3


3

19


















19

20



















20

21




















21

48















































48

49
















































49

50

















































50

51


















































51

52



















































52

58

























































58

59


























































59

60



























































60

61


















































61

62



















































62

70



























































70

99


























































99

100



























































100

2-Template Method (with a space " " after the <br /> template)
( Untested! )
[edit]

Untested!