Jump to content

Please don't skip this 1-minute read. Festipedia is hosted by the FR Heritage Group, a registered charity (No. 1199296). Festipedia is, and always will be, free. But we need your support to keep Festipedia running and to help fund heritage projects. Any donation you can give will be much appreciated, whether it is £2 or £200.

To make a donation, please go to our website, click the Add to Cart button next to General Donation, change the quantity to the amount you want to donate and click the checkout button. Thank you for your support.

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.