This is a helper template for location userboxes organization.
|2=separator
#
or /
. Use #
for sections, /
for subpages. #
is the default.|3=section or subpage name
Cities
is the default.|text=custom text
<section/subpage name> of <country name>
.|image=name of file
|alone=yes
alone
to yes
if template {{yytabcountry|…|…|…}}
will be used without a table created using {{yytop}} and {{yyend}}, same as with {{yytab}}.|info-s=font size
|plain=yes
#Cities
part of the link and Cities of
part of the text.{{yytabcountry|Country}}
{{yytabcountry|Country|#|Regions}}
{{yytabcountry|Country|#|Section}}
{{yytabcountry|Country|/|Subpage}}
{{yytabcountry|Country|image=filename}}
{{yytabcountry|Country|plain=yes}}
{{yytabcountry|Country|alone=yes}}
Code | Result | |||||
---|---|---|---|---|---|---|
{{yytabcountry|Austria}}
|
| |||||
Use third parameter to specify custom section/subpage name. Note, that second parameter must be specified too in this case. | ||||||
{{yytabcountry|New Zealand|#|Regions}}
|
| |||||
Use / for subpages
| ||||||
{{yytabcountry|Russia|/}}
|
| |||||
Use text= to replace default text
| ||||||
{{yytabcountry|United States|/|Cities by State|text=US cities by state}}
|
| |||||
Use image= to replace default image
| ||||||
{{yytabcountry|Brazil|image=Brazil (orthographic projection).svg}}
|
| |||||
Use plain=yes to link to the country page.
| ||||||
{{yytabcountry|Austria|plain=yes}}
|
| |||||
Use info-s= to specify custom font size. Compare with the first New Zealand example above.
| ||||||
{{yytabcountry|New Zealand|#|Regions|info-s=7}}
|
| |||||
Use alone=yes when outside {{yytop}}+{{yyend}} table
| ||||||
{{yytabcountry|China|alone=yes}}
|
|