Template:Indent/testcases

From blackwiki
Jump to navigation Jump to search

Blank

x{{indent}}x

Main template

x
x

Sandbox

x
x

0

x{{indent|0}}x

Main template

x
x

Sandbox

x
x

1

x{{indent|1}}x

Main template

x
 x

Sandbox

x
 x

2

x{{indent|2}}x

Main template

x
  x

Sandbox

x
  x

3

x{{indent|3}}x

Main template

x
   x

Sandbox

x
   x

4

x{{indent|4}}x

Main template

x
     x

Sandbox

x
     x

5

x{{indent|5}}x

Main template

x
     x

Sandbox

x
     x

6

x{{indent|6}}x

Main template

x
      x

Sandbox

x
      x

7

x{{indent|7}}x

Main template

x
       x

Sandbox

x
       x

8

x{{indent|8}}x

Main template

x
        x

Sandbox

x
        x

9

x{{indent|9}}x

Main template

x
         x

Sandbox

x
         x

10

x{{indent|10}}x

Main template

x
          x

Sandbox

x
          x

br0

x{{indent|0|yes}}x

Main template

x

x

Sandbox

x

x

br1

x{{indent|1|yes}}x

Main template

x

 x

Sandbox

x

 x

br2

x{{indent|2|yes}}x

Main template

x

  x

Sandbox

x

  x

brblank

x{{indent||yes}}x

Main template

x

x

Sandbox

x

x

br2no

x{{indent|2|no}}x

Main template

x

  x

Sandbox

x

  x

br2foo

x{{indent|2|foo}}x

Main template

x

  x

Sandbox

x

  x

decimal

x{{indent|10.56}}x

Main template

x
x

Sandbox

x
x

negative

x{{indent|-3}}x

Main template

x
x

Sandbox

x
x

non-number

x{{indent|foo}}x

Main template

x
x

Sandbox

x
x