Difference between revisions of "Template:Infobox cricketer/testcases"
Jump to navigation
Jump to search
imported>KolbertBot m (Bot: HTTP→HTTPS (v475)) |
imported>John of Reading (+1 for honorific_prefix) |
||
| Line 510: | Line 510: | ||
{{Testcase table | name = | {{Testcase table | name = | ||
| heightm = 1.80 | | heightm = 1.80 | ||
| + | }} | ||
| + | {{clear}} | ||
| + | |||
| + | == Prefix/Suffix == | ||
| + | |||
| + | <pre style="float:left; font-size:90%; width:27em;"> | ||
| + | {{Infobox cricketer | ||
| + | | honorific_prefix = Prefix | ||
| + | | name = Name | ||
| + | | honorific_suffix = Suffix | ||
| + | }} | ||
| + | </pre> | ||
| + | {{Testcase table | ||
| + | | honorific_prefix = Prefix | ||
| + | | name = Name | ||
| + | | honorific_suffix = Suffix | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
Revision as of 06:55, 24 November 2017
| This is the template test cases page for the sandbox of Template:Infobox cricketer. 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
Darren Gough
(one)
(two)
(three)
{{{source}}} without "http"
Height
Automatic conversion
{{Infobox cricketer | name =
| height = 5 ft 10 in
}}
{{Infobox cricketer | name =
| height = 180 cm
}}
Conversion via template
{{Infobox cricketer | name =
| height = {{convert|5|ft|10|in|cm|abbr=on}}
}}
{{Infobox cricketer | name =
| height = {{convert|180|cm|ftin|abbr=on}}
}}
Manually entered conversion
{{Infobox cricketer | name =
| height = 5 ft 10 in (178 cm)
}}
{{Infobox cricketer | name =
| height = 180 cm (5 ft 11 in)
}}
Conversion via additional parameters
{{Infobox cricketer | name =
| heightft = 5 | heightinch = 10
}}
{{Infobox cricketer | name =
| heightcm = 180
}}
{{Infobox cricketer | name =
| heightm = 1.80
}}
Prefix/Suffix
{{Infobox cricketer
| honorific_prefix = Prefix
| name = Name
| honorific_suffix = Suffix
}}