Difference between revisions of "Template:Flatlist/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
m
imported>Evad37
m (→‎Use inside a table: flatlist/sandbox)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
=== Active ===
 
=== Active ===
  
;old syntax
+
====old syntax====
 
{{flatlist}}
 
{{flatlist}}
 
*[[cat]]
 
*[[cat]]
Line 13: Line 13:
 
{{endflatlist}}
 
{{endflatlist}}
  
;new syntax
+
====new syntax====
 
{{flatlist|
 
{{flatlist|
 
*[[cat]]
 
*[[cat]]
Line 23: Line 23:
 
}}
 
}}
  
;ordered
+
====ordered====
 
{{flatlist|
 
{{flatlist|
 
#[[cat]]
 
#[[cat]]
Line 35: Line 35:
 
=== Sandbox ===
 
=== Sandbox ===
  
;old syntax
+
====old syntax====
 
{{flatlist/sandbox}}
 
{{flatlist/sandbox}}
 
*[[cat]]
 
*[[cat]]
Line 45: Line 45:
 
{{endflatlist}}
 
{{endflatlist}}
  
;new syntax
+
====new syntax====
 
{{flatlist/sandbox|
 
{{flatlist/sandbox|
 
*[[cat]]
 
*[[cat]]
Line 55: Line 55:
 
}}
 
}}
  
;ordered
+
====ordered====
 
{{flatlist/sandbox|
 
{{flatlist/sandbox|
 
#[[cat]]
 
#[[cat]]
Line 65: Line 65:
 
}}
 
}}
  
== Test indent ==
+
== Test indent ==
;indent=2
 
  
 
=== Active ===
 
=== Active ===
Line 88: Line 87:
 
}}
 
}}
  
== Other style properties ==
+
== Other style properties ==
;style=width:30em; text-align:center;
 
  
 
=== Active ===
 
=== Active ===
Line 110: Line 108:
 
*[[pig]]
 
*[[pig]]
 
}}
 
}}
 +
 +
== Mixed ==
 +
 +
=== Active ===
 +
{{flatlist|indent=2|style=background-color:pink;|
 +
*[[cat]]
 +
*[[dog]]
 +
*[[horse]]
 +
*[[cow]]
 +
*[[sheep]]
 +
*[[pig]]
 +
}}
 +
 +
=== Sandbox ===
 +
{{flatlist/sandbox|indent=2|style=background-color:pink;|
 +
*[[cat]]
 +
*[[dog]]
 +
*[[horse]]
 +
*[[cow]]
 +
*[[sheep]]
 +
*[[pig]]
 +
}}
 +
 +
==Use inside a table==
 +
===Active===
 +
<div><table class=wikitable><td><li>Before flatlist 1 {{flatlist|
 +
*Flat
 +
*List
 +
*One
 +
}}
 +
After flatlist 1</table></div>
 +
 +
===Sandbox===
 +
<div><table class=wikitable><td><li>Before flatlist 1 {{flatlist/sandbox|
 +
*Flat
 +
*List
 +
*One
 +
}}
 +
After flatlist 1</table></div>

Latest revision as of 00:23, 15 August 2016

Without options

Active

old syntax

new syntax

ordered

Sandbox

old syntax

new syntax

ordered

Test indent

Active

Sandbox

Other style properties

Active

Sandbox

Mixed

Active

Sandbox

Use inside a table

Active

  • Before flatlist 1
    • Flat
    • List
    • One
    After flatlist 1
  • Sandbox

  • Before flatlist 1
    • Flat
    • List
    • One
    After flatlist 1