Difference between revisions of "Template:Hlist/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(replace default preloaded testcases with examples from Template:Hlist/doc)
 
imported>Andrybak
m (dummy edit: previous edit summary meant "create testcases from /doc examples")
 
Line 1: Line 1:
{{Testcases notice <!--|toc=on-->}}
+
{{Testcases notice}}
  
 
{{Test case nowiki|collapsible=yes|showcode=yes|format=tablerows|class=wikitable|title=Simple test — entries
 
{{Test case nowiki|collapsible=yes|showcode=yes|format=tablerows|class=wikitable|title=Simple test — entries

Latest revision as of 13:53, 6 June 2020

Simple test — entries
{{Hlist|entry1|entry2|entry3|entry4|entry5|entry6|entry7|entry8|entry9}}
{{Hlist}}
  • entry1
  • entry2
  • entry3
  • entry4
  • entry5
  • entry6
  • entry7
  • entry8
  • entry9
{{Hlist/sandbox}}
  • entry1
  • entry2
  • entry3
  • entry4
  • entry5
  • entry6
  • entry7
  • entry8
  • entry9
|class=inline — Giant planets
Giant planets ({{Hlist|class=inline|[[Jupiter|J]]|[[Saturn|S]]|[[Uranus|U]]|[[Neptune|N]]}}).
{{Hlist}} Giant planets ().
{{Hlist/sandbox}} Giant planets ().
|indent=2
{{Hlist|Winner|Runner-up|Third place|indent=2}}
{{Hlist}}
  • Winner
  • Runner-up
  • Third place
{{Hlist/sandbox}}
  • Winner
  • Runner-up
  • Third place
|item_style=color:blue;
{{Hlist|Winner|Runner-up|Third place|item_style=color:blue;}}
{{Hlist}}
  • Winner
  • Runner-up
  • Third place
{{Hlist/sandbox}}
  • Winner
  • Runner-up
  • Third place
Individual item styles
{{Hlist|Winner|Runner-up|Third place|item1_style=background-color:yellow;|item2_style=background-color:silver;}}
{{Hlist}}
  • Winner
  • Runner-up
  • Third place
{{Hlist/sandbox}}
  • Winner
  • Runner-up
  • Third place