ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Userbox-flag/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

This template creates a custom userbox with the flag or emblem of a nation, state, or province.

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.

|2= The userbox text / activity

  • Default: lives ins

|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]]'''}} Template:User in Colorado
does not exist.
{{Userbox-flag|Colorado|This user frequently visits}} Template:User in Colorado
does not exist.
{{Userbox-flag|Quintana Roo|loves|'''[[Cancún]]'''}} Template:User in Quintana Roo
does not exist.
{{Userbox-flag|Quintana Roo|loves}} Template:User in Quintana Roo
does not exist.
{{Userbox-flag|Israel|This user is a [[civil engineer]] in|'''[[Jerusalem]]'''|resident=yes}} Template:User in Israel
does not exist.
{{Userbox-flag|Palestine|This user supports a free and independent|'''[[State of Palestine|Palestine]]'''}} Template:User in Palestine
does not exist.
{{Userbox-flag|Scotland|This user is proud to be both|[[Scotland|'''Scottish''']] and [[United Kingdom|'''British''']]} Template:User in Scotland
does not exist.
{{Userbox-flag|South Africa||'''<big>[[South Africa]]</big>'''}} Template:User in South Africa
does not exist.
{{Userbox-flag|AU-NSW|[[Lawyer|practices law]] in|'''[[Sydney]]'''}} Template:User in AU-NSW
does not exist.
{{Userbox-flag|US|supports the|'''[[Constitution of the United States]]'''}} Template:User in US
does not exist.
{{Userbox-flag|US|This user supports the constitution of}} Template:User in US
does not exist.

See also

[ਸੋਧੋ]

Customizable location userbox templates

[ਸੋਧੋ]
Wikitext userbox where used
{{User ancestry|Thailand}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User ancestry" does not exist। linked pages
{{User cycled|California}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User cycled" does not exist। linked pages
{{User high point|Ireland}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User high point" does not exist। linked pages
{{User highest|New Zealand}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User highest" does not exist। linked pages
{{User hiked|Scotland}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User hiked" does not exist। linked pages
{{User invitation|South Africa}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User invitation" does not exist। linked pages
{{User lived in|New Mexico}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User lived in" does not exist। linked pages
{{User lives in|Wales}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User lives in" does not exist। linked pages
{{User low point|North America}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User low point" does not exist। linked pages
{{User proud|Australia}} ਫਰਮਾ:User in Australia linked pages
{{User retired|Florida}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User retired" does not exist। linked pages
{{User studied in|New Jersey}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User studied in" does not exist। linked pages
{{User visited|India}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User visited" does not exist। linked pages
{{User wishes to visit|Jalisco}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User wishes to visit" does not exist। linked pages
{{User worked in|Antarctica}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User worked in" does not exist। linked pages
{{User Master Gardener|Washington}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User Master Gardener" does not exist। linked pages
{{User Professional Engineer|Colorado}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User Professional Engineer" does not exist। linked pages
{{Userbox-flag|Ohio|made this userbox featuring the flag of}} Template:User in Ohio
does not exist.
linked pages
{{User:UBX/activity|has kayaked in|Nunavut}} ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "User:UBX/activity" does not exist। linked pages
Userbox metatemplates
Left
Right
Left and Right
None

See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes