<includeonly>[[Template:#switch: {{{1]]}
| short
| normal
| long=[[Template:{1]]}
| #default=[[Template:#ifexpr: {{{1]]} < 250
             | short ([[Template:{1]]} tiles)
             | [[Template:#ifexpr: {{{1]]} <= 400
                 | normal ([[Template:{1]]} tiles)
                 | [[Template:#ifexpr: {{{1]]} > 400
                     | long ([[Template:{1]]} tiles)
                     | [[Category:Invalid length]] [[Template:{1]]}
                   }}
               }}
           }}
}}</includeonly><noinclude>The '''Level length''' template pretty-prints the length of a level. The length can either be given as "short", "normal" or "long", or it can be given as the width in tiles. When a width is given, "short", "normal" or "long" is printed depending on the number.

== Usage ==

 <nowiki>[[Template:Level length|short]]</nowiki>
 <nowiki>[[Template:Level length|350]]</nowiki>

[[Category:Templates]]</noinclude>
