Difference between revisions of "Template:Infobox badminton player/testcases"
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 = | + | | height = 5 ft 10 in |
− | | weight = | + | | weight = 130 lb |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = | + | | height = 5 ft 10 in |
− | | weight = | + | | 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 = | + | | height = 180 cm |
− | | weight = | + | | weight = 60 kg |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = | + | | height = 180 cm |
− | | weight = | + | | 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| | + | | height = {{convert|5|ft|10|in|cm|abbr=on}} |
− | | weight = {{convert| | + | | weight = {{convert|130|lb|kg|0|abbr=on}} |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = {{convert| | + | | height = {{convert|5|ft|10|in|cm|abbr=on}} |
− | | weight = {{convert| | + | | 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| | + | | height = {{convert|180|cm|ftin|abbr=on}} |
− | | weight = {{convert| | + | | weight = {{convert|60|kg|lb|0|abbr=on}} |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = {{convert| | + | | height = {{convert|180|cm|ftin|abbr=on}} |
− | | weight = {{convert| | + | | 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 = | + | | height = 5 ft 10 in (178 cm) |
− | | weight = | + | | weight = 130 lb (59 kg) |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = | + | | height = 5 ft 10 in (178 cm) |
− | | weight = | + | | 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 = | + | | height = 180 cm (5 ft 11 in) |
− | | weight = | + | | weight = 60 kg (132 lb) |
}} | }} | ||
</pre> | </pre> | ||
{{Testcase table | name = | {{Testcase table | name = | ||
− | | height = | + | | height = 180 cm (5 ft 11 in) |
− | | weight = | + | | weight = 60 kg (132 lb) |
}} | }} | ||
{{clear}} | {{clear}} |
Latest revision as of 12:38, 4 December 2016
![]() | This is the template test cases page for the sandbox of Template:Infobox badminton player. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
All parameters
"event" without section parameters
Height/weight
Automatic conversion
{{Infobox badminton player | name = | height = 5 ft 10 in | weight = 130 lb }}
{{Infobox badminton player | name = | height = 180 cm | weight = 60 kg }}
Conversion via template
{{Infobox badminton player | name = | height = {{convert|5|ft|10|in|cm|abbr=on}} | weight = {{convert|130|lb|kg|0|abbr=on}} }}
{{Infobox badminton player | name = | height = {{convert|180|cm|ftin|abbr=on}} | weight = {{convert|60|kg|lb|0|abbr=on}} }}
Manually entered conversion
{{Infobox badminton player | name = | height = 5 ft 10 in (178 cm) | weight = 130 lb (59 kg) }}
{{Infobox badminton player | name = | height = 180 cm (5 ft 11 in) | weight = 60 kg (132 lb) }}