Template:Userbox-flag
No region specified.
This template creates a custom userbox with the flag or emblem of a nation, state, or province.
Usage[edit]
Recommended code: {{Userbox-flag|region|info}}
Full code: {{Userbox-flag|region|info|region name|resident=resident?|float=float|align=align}}
Parameters[edit]
|1=
The required name or ISO 3166 region code of a nation, state, province, or district.
- See Category:Multiuse regional user templates for currently available region names and codes.
|2=
The userbox text / activity
- Default: lives ins
|3=
The name of the region to show
- Default: parameter 1's proper name
|resident=
The optional residence parameter. A yes
indicates that you are a current resident of the region and you wish to have your userpage included in [[Category:Festipedians in region]]
- Default: no
|cit=
The optional citizenship parameter. A yes
indicates that you are a current citizen of the region and you wish to have your userpage included in [[Category:region demonym Festipedians]]
- Default: no
|float=
The float/alignment of the box
- Default: left
|align=
The alignment of the text
- Default: center
Examples[edit]
Wiki markup | Userbox | ||
---|---|---|---|
{{Userbox-flag|Wales|frequently visits|'''[[Porthmadog]], Wales'''}} |
| ||
{{Userbox-flag|Wales|This user frequently visits}} | |||
{{Userbox-flag|Northern Ireland|loves|'''Belfast'''}} | |||
{{Userbox-flag|Northern Ireland|loves}} | |||
{{Userbox-flag|England|This user is a civil engineer in|'''London'''|resident=yes}} | |||
{{Userbox-flag|Scotland|This user is proud to be both|'''Scottish''' and '''British'''} | |||
{{Userbox-flag|Ireland||'''<big>Ireland</big>'''}} | |||
{{Userbox-flag}} | No region specified. | ||
{{Userbox-flag|Wikipedia}} | Template:User in Wikipedia does not exist. |