Jump to content

Template:Version history/row/testcases

From mediawiki.org

Note Note: this template must be transcluded in a table declaration for the 'tr' to be interpreted correctly.

Note Note: these tests take into account 44 steps (which is the current value) in the header definition.

Testing sandbox version

[edit]

{{Version history/row/sandbox}}

Template:Version history/row/sandbox

Testing main template

[edit]

{{Version history/row|total=44|start=xx|end=xx|text=xx}}

1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 master
 from[2]to[2] 
 from[4]to[6] 
 from[8] not ended
till6 not started 
 missingtotal=
defauts to 1rst position
  • {{Version history/row|total=44|start=xx|end=xx|text=xx}} but with no header :
 from[2]to[2] 
 from[4]to[6] 
 from[8] not ended
till6 not started 
  • no parameter : text= is mandatory :

{{Version history/row}}

1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 master
{{{text}}}
  • {{Version history/row|total=15|start=8|text=mismatch header length (shorter)}}
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 master
 mismatch header length (shorter)
  • {{Version history/row|total=50|start=8|text=mismatch header length (longer)}}</nowiki>
1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 master
 mismatch header length (longer)