Difference between revisions of "Template:Infobox badminton player/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add test cases)
 
imported>Zyxw
(update)
 
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
 +
 +
== All parameters ==
 +
{{Testcase table
 +
| name                    = {{{name}}}
 +
| image                  = {{{image}}}
 +
| image_size              = {{{image_size}}}
 +
| alt                    = {{{alt}}}
 +
| caption                = {{{caption}}}
 +
| nickname                = {{{nickname}}}
 +
| birth_name              = {{{birth_name}}}
 +
| country                = {{{country}}}
 +
| birth_date              = {{{birth_date}}}
 +
| birth_place            = {{{birth_place}}}
 +
| death_date              = {{{death_date}}}
 +
| death_place            = {{{death_place}}}
 +
| residence              = {{{residence}}}
 +
| height                  = {{{height}}}
 +
| weight                  = {{{weight}}}
 +
| years_active            = {{{years_active}}}
 +
| retired                = {{{retired}}}
 +
| handedness              = {{{handedness}}}
 +
| coach                  = {{{coach}}}
 +
| event                  = {{{event}}}
 +
| career_record          = {{{career_record}}}
 +
| titles                  = {{{titles}}}
 +
| played                  = {{{played}}}
 +
| highest_ranking        = {{{highest_ranking}}}
 +
| date_of_highest_ranking = {{{date_of_highest_ranking}}}
 +
| current_ranking        = {{{current_ranking}}}
 +
| date_of_current_ranking = {{{date_of_current_ranking}}}
 +
| medal_templates        = {{{medal_templates}}}
 +
| bwf_id                  = {{{bwf_id}}}
 +
| updated                = {{{updated}}}
 +
}}
 +
 +
== "event" without section parameters ==
 +
{{Testcase table
 +
| name                    = {{{name}}}
 +
| image                  = {{{image}}}
 +
| image_size              = {{{image_size}}}
 +
| alt                    = {{{alt}}}
 +
| caption                = {{{caption}}}
 +
| nickname                = {{{nickname}}}
 +
| birth_name              = {{{birth_name}}}
 +
| country                = {{{country}}}
 +
| birth_date              = {{{birth_date}}}
 +
| birth_place            = {{{birth_place}}}
 +
| death_date              = {{{death_date}}}
 +
| death_place            = {{{death_place}}}
 +
| residence              = {{{residence}}}
 +
| height                  = {{{height}}}
 +
| weight                  = {{{weight}}}
 +
| years_active            = {{{years_active}}}
 +
| retired                = {{{retired}}}
 +
| handedness              = {{{handedness}}}
 +
| coach                  = {{{coach}}}
 +
| event                  = {{{event}}}
 +
| medal_templates        = {{{medal_templates}}}
 +
| bwf_id                  = {{{bwf_id}}}
 +
| updated                = {{{updated}}}
 +
}}
 +
 
== Height/weight ==
 
== Height/weight ==
  
Line 5: Line 67:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = 6 ft 2 in
+
| height = 5 ft 10 in
| weight = 265 lb
+
| weight = 130 lb
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = 6 ft 2 in
+
| height = 5 ft 10 in
| weight = 265 lb
+
| weight = 130 lb
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 17: Line 79:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = 188 cm
+
| height = 180 cm
| weight = 120 kg
+
| weight = 60 kg
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = 188 cm
+
| height = 180 cm
| weight = 120 kg
+
| weight = 60 kg
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 30: Line 92:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = {{convert|6|ft|2|in|cm|abbr=on}}
+
| height = {{convert|5|ft|10|in|cm|abbr=on}}
| weight = {{convert|265|lb|kg|0|abbr=on}}
+
| weight = {{convert|130|lb|kg|0|abbr=on}}
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = {{convert|6|ft|2|in|cm|abbr=on}}
+
| height = {{convert|5|ft|10|in|cm|abbr=on}}
| weight = {{convert|265|lb|kg|0|abbr=on}}
+
| weight = {{convert|130|lb|kg|0|abbr=on}}
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 42: Line 104:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = {{convert|188|cm|ftin|abbr=on}}
+
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|120|kg|lb|0|abbr=on}}
+
| weight = {{convert|60|kg|lb|0|abbr=on}}
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = {{convert|188|cm|ftin|abbr=on}}
+
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|120|kg|lb|0|abbr=on}}
+
| weight = {{convert|60|kg|lb|0|abbr=on}}
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 55: Line 117:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = 6 ft 2 in (188 cm)
+
| height = 5 ft 10 in (178 cm)
| weight = 265 lb (120 kg)
+
| weight = 130 lb (59 kg)
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = 6 ft 2 in (188 cm)
+
| height = 5 ft 10 in (178 cm)
| weight = 265 lb (120 kg)
+
| weight = 130 lb (59 kg)
 
}}
 
}}
 
{{clear}}
 
{{clear}}
Line 67: Line 129:
 
<pre style="float:left;">
 
<pre style="float:left;">
 
{{Infobox badminton player | name =  
 
{{Infobox badminton player | name =  
| height = 188 cm (6 ft 2 in)
+
| height = 180 cm (5 ft 11 in)
| weight = 120 kg (265 lb)
+
| weight = 60 kg (132 lb)
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Testcase table | name =  
 
{{Testcase table | name =  
| height = 188 cm (6 ft 2 in)
+
| height = 180 cm (5 ft 11 in)
| weight = 120 kg (265 lb)
+
| weight = 60 kg (132 lb)
 
}}
 
}}
 
{{clear}}
 
{{clear}}

Latest revision as of 12:38, 4 December 2016

All parameters

Template:Testcase table

"event" without section parameters

Template:Testcase table

Height/weight

Automatic conversion

{{Infobox badminton player | name = 
| height = 5 ft 10 in
| weight = 130 lb
}}

Template:Testcase table

{{Infobox badminton player | name = 
| height = 180 cm
| weight = 60 kg
}}

Template:Testcase table

Conversion via template

{{Infobox badminton player | name = 
| height = {{convert|5|ft|10|in|cm|abbr=on}}
| weight = {{convert|130|lb|kg|0|abbr=on}}
}}

Template:Testcase table

{{Infobox badminton player | name = 
| height = {{convert|180|cm|ftin|abbr=on}}
| weight = {{convert|60|kg|lb|0|abbr=on}}
}}

Template:Testcase table

Manually entered conversion

{{Infobox badminton player | name = 
| height = 5 ft 10 in (178 cm)
| weight = 130 lb (59 kg)
}}

Template:Testcase table

{{Infobox badminton player | name = 
| height = 180 cm (5 ft 11 in)
| weight = 60 kg (132 lb)
}}

Template:Testcase table