Template:Track gauge/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, search

any[edit]

Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,200 mm (3 ft 11 14 in) 1,200 mm (3 ft 11 14 in)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
783 mm 783 mm

adj[edit]

Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

Basic[edit]

Purge

  • Live: 1,000 mm (3 ft 3 38 in)
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 mm; searchAlias=1000mm
  • Live: 1,000 mm (3 ft 3 38 in)
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 MM; note=cap mm; searchAlias=1000mm
  • Live: XyZ
Sbox: XyZ
args: Args: 1=xyz; rawInput=XyZ; searchAlias=xyz
  • Live: AbC XyZ
Sbox: AbC XyZ
args: Args: 1=abcxyz; rawInput=AbC XyZ; note=w/sp; searchAlias=abcxyz
  • Live: 1,520 mm (4 ft 11 2732 in)
Sbox: 1,520 mm (4 ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; searchAlias=russian
Sbox: 1,520 mm (4 ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; searchAlias=russian; lk=on
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian; allk=on; searchAlias=russian; lk=on

al and allk[edit]

Baltimore

  • default (no al, allk)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) 5 ft 4 12 in (1,638 mm)

  • al=
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) 5 ft 4 12 in (1,638 mm)

  • al=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

  • allk=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

  • al=on, allk=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

3 ft---- (not named)

  • default (no al, allk)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

  • al=
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

  • al=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

  • allk=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

  • al=on, allk=on
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
3 ft (914 mm) 3 ft (914 mm)

engvar[edit]

metre/meter gauge
  • engvar=(none)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,000 mm (3 ft 3 38 in) metre gauge 1,000 mm (3 ft 3 38 in) metre gauge

  • engvar=en-US
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,000 mm (3 ft 3 38 in) meter gauge 1,000 mm (3 ft 3 38 in) meter gauge

  • engvar=en-CA
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,000 mm (3 ft 3 38 in) metre gauge 1,000 mm (3 ft 3 38 in) metre gauge

other gauge
  • engvar=(none)
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

  • engvar=en-US
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

  • engvar=en-CA
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge 5 ft 4 12 in (1,638 mm) Baltimore streetcar gauge

1009mm, also engvar sensitive
  • engvar=
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,009 mm (3 ft 3 2332 in) metre gauge 1,009 mm (3 ft 3 2332 in) metre gauge

  • engvar=en-US
Side by side comparison
{{Track gauge}} {{Track gauge/sandbox}}
1,009 mm (3 ft 3 2332 in) meter gauge 1,009 mm (3 ft 3 2332 in) meter gauge

Input characters[edit]

Sbox: 4 ft 6 in (1,372 mm)
args: Args: 1=4ft6in; rawInput=4'6"; allk=on; searchAlias=4ft6in; lk=on
Sbox: 4 ft 6 in (1,372 mm)
args: Args: 1=4ft6in; rawInput=4 ft 6 in; allk=on; searchAlias=4ft6in; lk=on --nbsp ent
Sbox: 4 ft 6 in (1,372 mm)
args: Args: 1=4ft6in; rawInput=4 ft 6 in; allk=on; searchAlias=4ft6in; lk=on --nbsp char
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian gauge; allk=on; searchAlias=russian; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=4ft81/2in; rawInput=4ft8 1/2in; allk=on; searchAlias=4ft81/2in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=561/2in; rawInput=56 1/2in; allk=on; searchAlias=561/2in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=4ft81/2in; rawInput=4ft8 1⁄2in; allk=on; searchAlias=4ft81/2in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=561/2in; rawInput=56 1⁄2in; allk=on; searchAlias=561/2in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=4ft81/2in; rawInput=4ft8 1⁄2in; allk=on; searchAlias=4ft81/2in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=561/2in; rawInput=56 1⁄2in; allk=on; searchAlias=561/2in; lk=on


Sbox: 3 ft 6 in (1,067 mm)
args: Args: 1=42in; rawInput=42"; allk=on; searchAlias=42in; lk=on
Sbox: 3 ft 6 in (1,067 mm)
args: Args: 1=3ft6in; rawInput=3'6"; allk=on; searchAlias=3ft6in; lk=on
Sbox: 4 ft 8 12 in (1,435 mm) standard gauge
args: Args: 1=4ft8.5in; rawInput=4'8.5"; allk=on; searchAlias=4ft8.5in; lk=on
Sbox: 2 ft (610 mm)
args: Args: 1=24in; rawInput=24"; allk=on; searchAlias=24in; lk=on
Sbox: 2 ft (610 mm)
args: Args: 1=2ft; rawInput=2'; allk=on; searchAlias=2ft; lk=on
Sbox: 2 ft 6 in (762 mm)
args: Args: 1=30in; rawInput=30"; allk=on; searchAlias=30in; lk=on
Sbox: 2 ft 6 in (762 mm)
args: Args: 1=2ft6in; rawInput=2'6"; allk=on; searchAlias=2ft6in; lk=on
Sbox: 5 ft 6 in (1,676 mm)
args: Args: 1=66in; rawInput=66"; allk=on; searchAlias=66in; lk=on
  • Live: '
Sbox: '
args: Args: 1=ft; rawInput='; allk=on; searchAlias=ft; lk=on
  • Live: "
Sbox: "
args: Args: 1=in; rawInput="; allk=on; searchAlias=in; lk=on

lk=on/off[edit]

Purge

Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 mm; searchAlias=1000mm; lk=on
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 mm; searchAlias=1000mm; lk=on
  • Live: 1,000 mm (3 ft 3 38 in)
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 mm; note=lk blank; searchAlias=1000mm
  • Live: 1,520 mm (4 ft 11 2732 in)
Sbox: 1,520 mm (4 ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; searchAlias=russian
Sbox: 1,520 mm (4 ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; searchAlias=russian; lk=on
  • Live: 1,520 mm (4 ft 11 2732 in) Russian gauge
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian; al=on; searchAlias=russian; lk=on
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian; allk=on; searchAlias=russian; lk=on
  • Live: 1,520 mm (4 ft 11 2732 in) Russian gauge
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian; al=on; searchAlias=russian; lk=off
Sbox: 1,520 mm (4 ft 11 2732 in) Russian gauge
args: Args: 1=russian; rawInput=russian; allk=on; searchAlias=russian; lk=off
3ft==914mm (2 def)
  • Live: 3 ft (914 mm)
Sbox: 3 ft (914 mm)
args: Args: 1=3ft; rawInput=3ft; searchAlias=3ft
Sbox: 3 ft (914 mm)
args: Args: 1=3ft; rawInput=3ft; searchAlias=3ft; lk=on
Sbox: 914 mm (3 ft)
args: Args: 1=3ft; rawInput=3ft; first=met; searchAlias=3ft; lk=on
Sbox: 3 ft (914 mm)
args: Args: 1=3ft; rawInput=3ft; first=imp; searchAlias=3ft; lk=on
  • Live: 914 mm (3 ft)
Sbox: 914 mm (3 ft)
args: Args: 1=914mm; rawInput=914mm; searchAlias=914mm
Sbox: 914 mm (3 ft)
args: Args: 1=914mm; rawInput=914mm; searchAlias=914mm; lk=on
Sbox: 914 mm (3 ft)
args: Args: 1=914mm; rawInput=914mm; first=met; searchAlias=914mm; lk=on
Sbox: 3 ft (914 mm)
args: Args: 1=914mm; rawInput=914mm; first=imp; searchAlias=914mm; lk=on


Sbox: 914 mm
args: Args: 1=3ft; searchAlias=3ft; rawInput=3ft; first=met; disp=1; lk=on
Sbox: 3 ft
args: Args: 1=3ft; searchAlias=3ft; rawInput=3ft; first=imp; disp=1; lk=on
Sbox: 3 ft
args: Args: 1=914mm; searchAlias=914mm; rawInput=914mm; first=imp; disp=1; lk=on
Sbox: 914 mm
args: Args: 1=914mm; searchAlias=914mm; rawInput=914mm; first=met; disp=1; lk=on
600
  • Live: 600 mm (1 ft 11 58 in)
Sbox: 600 mm (1 ft 11 58 in)
args: Args: 1=600mm; rawInput=600mm; searchAlias=600mm
  • Live: 600 mm (1 ft 11 58 in)
Sbox: 600 mm (1 ft 11 58 in)
args: Args: 1=600mm; rawInput=600mm; searchAlias=600mm; lk=on
  • Live: 1 ft 11 58 in (600 mm)
Sbox: 1 ft 11 58 in (600 mm)
args: Args: 1=600mm; rawInput=600mm; first=imp; searchAlias=600mm; lk=on
  • Live: 600 mm (1 ft 11 58 in)
Sbox: 600 mm (1 ft 11 58 in)
args: Args: 1=600mm; rawInput=600mm; first=met; searchAlias=600mm; lk=on
  • Live: 1 ft 11 58 in (600 mm)
Sbox: 1 ft 11 58 in (600 mm)
args: Args: 1=600mm; rawInput=600mm; first=imp; searchAlias=600mm; note=lk:off

disp[edit]

Purge

  • Live: 900 mm (2 ft 11 716 in)
Sbox: 900 mm (2 ft 11 716 in)
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm
  • Live: 900 mm/​2 ft 11 716 in
Sbox: 900 mm/​2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=s
  • Live: 900 mm/​2 ft 11 716 in
Sbox: 900 mm/​2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=/
  • Live: 900 mm or 2 ft 11 716 in
Sbox: 900 mm or 2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=or
  • Live: 900 mm = 2 ft 11 716 in
Sbox: 900 mm = 2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp==
  • Live: 900 mm [2 ft 11 716 in]
Sbox: 900 mm [2 ft 11 716 in]
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=[
  • Live: 900 mm [2 ft 11 716 in]
Sbox: 900 mm [2 ft 11 716 in]
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=[]
  • Live: 900 mm Anytext 2 ft 11 716 in
Sbox: 900 mm Anytext 2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=anytext
  • Live: 900 mm Anytext and Main page 2 ft 11 716 in
Sbox: 900 mm Anytext and Main page 2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=anytext and main page
  • Live: 900 mm any text 2 ft 11 716 in
Sbox: 900 mm any text 2 ft 11 716 in
args: Args: 1=900mm; rawInput=900mm; searchAlias=900mm; disp=any text
  • Live: 900 mm (2 ft 11 716 in)
Sbox: 900 mm (2 ft 11 716 in)
args: Args: 1=900mm; rawInput=900mm; note=disp para is empty; searchAlias=900mm
Sbox: 1,520 mm
(4 ft 11 2732 in)
Russian gauge
args: Args: 1=russian; rawInput=russian; allk=on; searchAlias=russian; disp=br
Sbox: 1,520 mm
(4 ft 11 2732 in)
Russian gauge
args: Args: 1=russian; rawInput=russian; allk=on; searchAlias=russian; disp=br
  • Live: 1,520 mm
    (4 ft 11 2732 in)
    Russian gauge
Sbox: 1,520 mm
(4 ft 11 2732 in)
Russian gauge
args: Args: 1=russian; rawInput=russian; al=on; searchAlias=russian; disp=br

Maintenance cat on/off[edit]

Other changes[edit]

  • Live: 1,435 mm (4 ft 8 12 in)
Sbox: 1,435 mm (4 ft 8 12 in)
args: Args: 1=1435mm; rawInput=1435mm; searchAlias=1435mm
  • Live: 1,435 mm (4 ft 8 12 in)
Sbox: 1,435 mm (4 ft 8 12 in)
args: Args: 1=1435mm; rawInput=1435mm; addcat=no; searchAlias=1435mm
  • Live: 1,435 mm (4 ft 8 12 in)
Sbox: 1,435 mm (4 ft 8 12 in)
args: Args: 1=1435mm; rawInput=1435mm; addcat=yes; searchAlias=1435mm
  • Live: 1,000 mm (3 ft 3 38 in)
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=metre; rawInput=metre; searchAlias=metre
  • Live: 1,000 mm (3 ft 3 38 in)
Sbox: 1,000 mm (3 ft 3 38 in)
args: Args: 1=metre; rawInput=metre; addcat=no; searchAlias=metre
Sbox: 1,000 mm (3 ft 3 38 in) metre gauge
args: Args: 1=metre; searchAlias=metre; allk=on; addcat=no; rawInput=metre; lk=on

Wrap[edit]

Purge

nowrap= (default), off, on, all
disp=br
   
A nowrap= 1,520 mm (4 ft 11 2732 in)
B nowrap=off 1,520 mm (4 ft 11 2732 in)
C nowrap=on 1,520 mm (4 ft 11 2732 in)
D nowrap=all 1,520 mm (4 ft 11 2732 in)
with allk=on (or al=on)
AA nowrap= 1,520 mm (4 ft 11 2732 in) Russian gauge
BB nowrap=on 1,520 mm (4 ft 11 2732 in) Russian gauge
CC nowrap=off 1,520 mm (4 ft 11 2732 in) Russian gauge
DD nowrap=all 1,520 mm (4 ft 11 2732 in) Russian gauge
disp=br
J nowrap=
disp=br
1,520 mm
(4 ft 11 2732 in)
Russian gauge
K nowrap=off
disp=br
1,520 mm
(4 ft 11 2732 in)
Russian gauge
L nowrap=on
disp=br
1,520 mm
(4 ft 11 2732 in)

Russian gauge
M nowrap=all
disp=br
1,520 mm
(4 ft 11 2732 in)
Russian gauge

Unrecognised[edit]

Purge

  • Live:
Sbox:
args: Args: searchAlias=; rawInput=
  • Live:
Sbox:
args: Args: searchAlias=; rawInput=
  • Live: abc
Sbox: abc
args: Args: 1=abc; rawInput=abc; searchAlias=abc
  • Live: klm
Sbox: klm
args: Args: 1=klm; rawInput=klm; note=w/outer spaces; searchAlias=klm
  • Live: AbC DeF
Sbox: AbC DeF
args: Args: 1=abcdef; rawInput=AbC DeF; note=dblspace; searchAlias=abcdef
  • Live:
Sbox:
args: Args: searchAlias=; rawInput=
  • Live:  
Sbox:  
args: Args: 1=; rawInput= ; note=nbsp; searchAlias=
  • Live: 111
Sbox: 111
args: Args: 1=111; 2=222; rawInput=111; note=dbl input; searchAlias=111
bad param
Sbox: 5 ft 6 in (1,676 mm) Indian gauge
args: Args: 1=indian; rawInput=indian; first=q; searchAlias=indian; allk=on
Sbox: 5 ft 6 in (1,676 mm) Indian gauge
args: Args: 1=indian; rawInput=indian; wrap=y; searchAlias=indian; allk=on
Sbox: 5 ft 6 in (1,676 mm) Indian gauge
args: Args: 1=indian; rawInput=indian; nowrap=q; searchAlias=indian; allk=on
Sbox: 5 ft 6 in (1,676 mm) Indian gauge
args: Args: 1=indian; rawInput=indian; allk=on; searchAlias=indian; unitlink=q

Unit links[edit]

|unitlink=on Purge

  • Live: 1,000 mm (ft 3 38 in)
Sbox: 1,000 mm (ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 mm; searchAlias=1000mm; unitlink=on
  • Live: 1,000 mm (ft 3 38 in)
Sbox: 1,000 mm (ft 3 38 in)
args: Args: 1=1000mm; rawInput=1000 MM; note=cap mm; searchAlias=1000mm; unitlink=on
  • Live: XyZ
Sbox: XyZ
args: Args: 1=xyz; rawInput=XyZ; searchAlias=xyz; unitlink=on
  • Live: 1,520 mm (ft 11 2732 in)
Sbox: 1,520 mm (ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; searchAlias=russian; unitlink=on
Sbox: 1,520 mm (ft 11 2732 in)
args: Args: 1=russian; rawInput=russian; unitlink=on; searchAlias=russian; lk=on
Sbox: 1,520 mm (ft 11 2732 in) Russian gauge
args: Args: 1=russian; searchAlias=russian; allk=on; unitlink=on; rawInput=russian; lk=on
in short
  • Live: 600 mm (ft 11 58 in)
Sbox: 600 mm (ft 11 58 in)
args: Args: 1=600mm; rawInput=600 mm; unitlink=on; searchAlias=600mm; lk=off
  • Live: ft (610 mm)
Sbox: ft (610 mm)
args: Args: 1=2ft; rawInput=2ft; unitlink=on; searchAlias=2ft; lk=off
Sbox: 600 mm (ft 11 58 in)
args: Args: 1=600mm; rawInput=600 mm; unitlink=on; searchAlias=600mm; lk=on
Sbox: 2 ft (610 mm)
args: Args: 1=2ft; rawInput=2ft; unitlink=on; searchAlias=2ft; lk=on
first=met
Sbox: 600 mm (ft 11 58 in)
args: Args: 1=600mm; searchAlias=600mm; rawInput=600 mm; first=met; unitlink=on; lk=on
Sbox: 610 mm (2 ft)
args: Args: 1=2ft; searchAlias=2ft; rawInput=2ft; first=met; unitlink=on; lk=on --should cross lk
first=met; disp=1
Sbox: 600 mm
args: Args: 1=600mm; searchAlias=600mm; unitlink=on; rawInput=600 mm; first=met; disp=1; lk=on
Sbox: 610 mm
args: Args: 1=2ft; searchAlias=2ft; unitlink=on; rawInput=2ft; first=met; disp=1; lk=on
first=imp
Sbox: ft 11 58 in (600 mm)
args: Args: 1=600mm; searchAlias=600mm; rawInput=600 mm; first=imp; unitlink=on; lk=on
Sbox: 2 ft (610 mm)
args: Args: 1=2ft; searchAlias=2ft; rawInput=2ft; first=imp; unitlink=on; lk=on
first=imp; disp=1
Sbox: 1 ft 11 58 in
args: Args: 1=600mm; searchAlias=600mm; unitlink=on; rawInput=600 mm; first=imp; disp=1; lk=on --should cross lk
Sbox: 2 ft
args: Args: 1=2ft; searchAlias=2ft; unitlink=on; rawInput=2ft; first=imp; disp=1; lk=on

Autodocument[edit]

Purge