Template:Userbox-flag/doc

From Festipedia, hosted by the FR Heritage Group

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.

|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'''}}
This user frequently visits Porthmadog, Wales.
{{Userbox-flag|Wales|This user frequently visits}}
This user ​ frequently visits Wales.
{{Userbox-flag|Northern Ireland|loves|'''Belfast'''}}
This user loves Belfast.
{{Userbox-flag|Northern Ireland|loves}}
This user loves Northern Ireland.
{{Userbox-flag|England|This user is a civil engineer in|'''London'''|resident=yes}}
This user ​ is a civil engineer in London.
{{Userbox-flag|Scotland|This user is proud to be both|'''Scottish''' and '''British'''}
This user ​ is proud to be both Scottish and British.
{{Userbox-flag|Ireland||'''<big>Ireland</big>'''}}
This user Ireland.
{{Userbox-flag}} No region specified.
{{Userbox-flag|Wikipedia}} Template:User in Wikipedia
does not exist.