ਫਰਮਾ:Fb/doc
ਦਿੱਖ
< ਫਰਮਾ:Fb
ਇਹ ਇੱਕ ਫਰਮਾ:Fb ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Description
[ਸੋਧੋ]{{fb|nation|variant|size=optional|name=optional}}
Produces a flag icon attached to a wikilinked national football team article.
Parameters
- nation – Use either the name of the nation or the three-letter country code as used by FIFA
- variant (optional) – Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
- size (optional) – Can be used to change the flag icon size (use sparingly!)
- name (optional) – Can be used to change the wikilink display text
- align (optional) – Set to "yes"/"y"/"1" to align country names in vertical lists
- wrap (optional) – Set to "yes"/"y"/"1" to allow line wrapping of the output. The default is to disallow.
Examples
[ਸੋਧੋ]{{fb|Argentina}}
→ ਅਰਜਨਟੀਨਾ{{fb|Switzerland}}
→ Switzerland{{fb|ENG}}
→ ਇੰਗਲੈਂਡ{{fb|Italy|1861}}
→ ਇਟਲੀ{{fb|GER|name=GER}}
→ GER{{fb|Spain}}
→ ਸਪੇਨ
Parameters
[ਸੋਧੋ]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for Template:Fb based on its TemplateData.
TemplateData for Fb
Produces a flag icon attached to a wikilinked national football team article.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Nation | 1 | Use either the name of the nation or the three-letter country code as used by FIFA
| String | required |
Align | align | Set to "yes"/"y"/"1" to align country names in vertical lists | Unknown | optional |
Flag variant | variant 2 | Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
| String | optional |
Icon size | size | Can be used to change the flag icon size (use sparingly!) | Unknown | optional |
Link text | name | Can be used to change the wikilink display text | Unknown | optional |
See also
[ਸੋਧੋ]- Template:fb-rt – for rendering the flag on the right
- Template:fb-big – for rendering a larger flag, with the team name underneath the flag
- Template:fbicon – for rendering the flag on its own, with a wikilink to the national football team page.
- Template:fbu – for under-NN national teams (i.e. under-20, under-21, etc.)
- Template:fbw – for women's national teams
- Template:fbo – for national Olympic football teams
- Category:National association football teams