跳转到内容

Template:Infobox settlement/pref/testcases

维基百科,自由的百科全书
Code Result
{{Infobox settlement/pref/sandbox |JP | }} metric_only
{{Infobox settlement/pref/sandbox | |日本 }} metric_only
{{Infobox settlement/pref/sandbox | | }} metric
{{Infobox settlement/pref/sandbox | Imperial | }} impus
{{Infobox settlement/pref/sandbox | UK | }} impus
{{Infobox settlement/pref/sandbox | US | }} impus
{{Infobox settlement/pref/sandbox | | 英国}} impus
{{Infobox settlement/pref/sandbox | | United States}} metric
{{Infobox settlement/pref/sandbox|Dunam|Other|area}} dunam
{{Infobox settlement/pref/sandbox|Dunam|Other}} metric
{{Infobox settlement/pref/sandbox|Dunam|United Kingdom|area}}
In this example, the template never checks for "Dunam" because it previously
found that parameter #2 contained the name of a country using imperial units.
dunam