Template:Userbox-flag/doc
| This is a documentation subpage for Template:Userbox-flag. It may contain usage information, categories and other content that is not part of the original template page. |
This template creates a custom userbox with the flag or emblem of a nation, state, or province.
Usage
To use this userbox template, place one of the following lines of Wikitext on your user page:
Simple code: {{Userbox-flag|region|info}}
Full code: {{Userbox-flag|region|info|region name|res=resident?|cit=citizenship?|float=float|align=align}}
Parameters
|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
regionnames and codes.
|2= The userbox text / activity
- Default: lives in
|3= The name of the region to show
- Default: parameter 1's proper name
|res= 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:Wikipedians 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 Wikipedians]]
- Default: no
|float= The float/alignment of the box
- Default: left
|align= The alignment of the text
- Default: center
Examples
| Wiki markup | Userbox | ||
|---|---|---|---|
{{Userbox-flag|Colorado|frequently visits|'''[[Aspen, Colorado]]'''}}
|
| ||
{{Userbox-flag|Colorado|This user frequently visits}}
|
| ||
{{Userbox-flag|Quintana Roo|loves|'''[[Cancún]]'''}}
|
| ||
{{Userbox-flag|Quintana Roo|loves}}
|
| ||
{{Userbox-flag|Israel|This user is a [[civil engineer]] in|'''[[Jerusalem]]'''|resident=yes}}
|
| ||
{{Userbox-flag|Palestine|This user supports a free and independent|'''[[Palestine]]'''}}
|
| ||
{{Userbox-flag|Scotland|This user is proud to be both|[[Scotland|'''Scottish''']] and [[United Kingdom|'''British''']]}
|
|||
{{Userbox-flag|South Africa||'''<big>[[South Africa]]</big>'''}}
|
| ||
{{Userbox-flag|AU-NSW|[[Lawyer|practices law]] in|'''[[Sydney]]'''}}
|
| ||
{{Userbox-flag|US|supports the|'''[[Constitution of the United States]]'''}}
|
| ||
{{Userbox-flag|US|This user supports the constitution of}}
|
|
See also
- This template invokes multiuse regional user templates.
- This template is compatible with the following customizable regional userbox templates:
Customizable location userbox templates
| Wikitext | userbox | where used | ||
|---|---|---|---|---|
{{User ancestry
|
|
linked pages | ||
{{User celebration}}
|
|
linked pages | ||
{{User cycled
|
|
linked pages | ||
{{User high point
|
|
linked pages | ||
{{User highest
|
|
linked pages | ||
{{User hiked
|
|
linked pages | ||
{{Template:User honors
|
|
linked pages | ||
{{User invitation
|
|
linked pages | ||
{{User lived in
|
|
linked pages | ||
{{User lives in
|
|
linked pages | ||
{{User low point
|
|
linked pages | ||
{{User observes
|
|
linked pages | ||
{{User proud
|
|
linked pages | ||
{{User retired
|
|
linked pages | ||
{{User studied in
|
|
linked pages | ||
{{User visited
|
|
linked pages | ||
{{User wishes to visit
|
linked pages | |||
{{User worked in
|
|
linked pages | ||
{{User Master Gardener
|
|
linked pages | ||
{{User Professional Engineer
|
|
linked pages | ||
{{Userbox-flag
|
|
linked pages | ||
{{User:UBX/activity
|
linked pages |
- For help with this template, please post a comment on the template talk page with a
{{reply to}}one or more of the previous editors.
| Userbox metatemplates | |||
|---|---|---|---|
| Left |
| ||
| Right |
| ||
| Left and Right |
| ||
| None |
| ||
|
See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes | |||
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.