User:Johnuniq/sandbox2
Appearance
Test of {{navbox/sandbox}} for nowrapitems=yes
which should nowrap listN + above + below text.
Wikitext
{{navbox/sandbox | name = Page | title=Navbox with list items and without nowrapitems | listclass=hlist | group1= Samples1 | list1=*[[Example|Example text 0]] 1910 *[[Example|Example text 1]] 1911 *[[Example|Example text 2]] 1912 *[[Example|Example text 3]] 1913 * [[Example|Example text 4]] 1914 * [[Example|Example text 5]] 1915 * [[Example|Example text 6]] 1916 * [[Example|Example text 7]] 1917 * [[Example|Example text 8]] 1918 * [[Example|Example text 9]] 1919 | group2= Samples2 | list2=*[[Example|Example text 20]] 1920 *[[Example|Example text 21]] 1921 *[[Example|Example text 22]] 1922 *[[Example|Example text 23]] 1923 # [[Example|Example text 24]] 1924 #[[Example|Example text 25]] 1925 #[[Example|Example text 26]] 1926 #[[Example|Example text 27]] 1927 #[[Example|Example text 28]] 1928 #[[Example|Example text 29]] 1929 | above=*Line 1 of the above text and other text to pad out the length of the line. *Line 2 of the above text aaaaaaaaaaaa bb ccccccccccccc ddddd eeeeeee ffffff ggggggggg hhhhh iiiiiiii jjjj | below= *Line 1 of the below text and other text to pad out the length of the line. *Line 2 of the below text with padding text such as the quick brown fox jumps over the lazy dog. }}
Result
Wikitext
{{navbox/sandbox | name = Page | nowrapitems=yes | title=Navbox with list items with nowrapitems=yes | listclass=hlist | group1= Samples1 | list1=*[[Example|Example text 0]] 1910 *[[Example|Example text 1]] 1911 *[[Example|Example text 2]] 1912 *[[Example|Example text 3]] 1913 * [[Example|Example text 4]] 1914 * [[Example|Example text 5]] 1915 * [[Example|Example text 6]] 1916 * [[Example|Example text 7]] 1917 * [[Example|Example text 8]] 1918 * [[Example|Example text 9]] 1919 | group2= Samples2 | list2=*[[Example|Example text 20]] 1920 *[[Example|Example text 21]] 1921 *[[Example|Example text 22]] 1922 *[[Example|Example text 23]] 1923 # [[Example|Example text 24]] 1924 #[[Example|Example text 25]] 1925 #[[Example|Example text 26]] 1926 #[[Example|Example text 27]] 1927 #[[Example|Example text 28]] 1928 #[[Example|Example text 29]] 1929 | above=*Line 1 of the above text and other text to pad out the length of the line. *Line 2 of the above text aaaaaaaaaaaa bb ccccccccccccc ddddd eeeeeee ffffff ggggggggg hhhhh iiiiiiii jjjj | below= *Line 1 of the below text and other text to pad out the length of the line. *Line 2 of the below text with padding text such as the quick brown fox jumps over the lazy dog. }}
Result