Editing
Template:Flag template documentation
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly>{{documentation | content = {{#ifeq:{{#invoke:High-use|num|x}}|many||{{High-use}}}} {{{header|}}} ==Description== :<code><nowiki>{{</nowiki>{{#if:{{{2|}}} |{{{2}}} |{{#if:{{{3|}}} |{{{3}}} |{{#if:{{{4|}}} |{{{4}}} |? }} }} }}<nowiki>}}</nowiki></code> Renders a flag icon and wikilink to [[{{getalias|{{{1}}}}}|{{getalias|{{{1}}}|shortname}}]]. This template is equivalent to {{tlx|flag|{{{1}}}}}, but is named after the standard three letter {{#if:{{{2|}}} |{{#if:{{{3|}}} |{{#if:{{{4|}}} |{{#ifeq:{{{2}}}|{{{3}}} |{{#ifeq:{{{3}}}|{{{4}}} |[[ISO 3166-1 alpha-3]] country code, [[List of IOC country codes|IOC code]], and [[List of FIFA country codes|FIFA code]] |[[ISO 3166-1 alpha-3]] country code and [[List of IOC country codes|IOC code]] }} |{{#ifeq:{{{2}}}|{{{4}}} |[[ISO 3166-1 alpha-3]] country code and [[List of FIFA country codes|FIFA code]] |[[ISO 3166-1 alpha-3]] country code }} }} |{{#ifeq:{{{2}}}|{{{3}}} |[[ISO 3166-1 alpha-3]] country code and [[List of IOC country codes|IOC code]] |[[ISO 3166-1 alpha-3]] country code }} }} |{{#if:{{{4|}}} |{{#ifeq:{{{2}}}|{{{4}}} |[[ISO 3166-1 alpha-3]] country code and [[List of FIFA country codes|FIFA code]] |[[ISO 3166-1 alpha-3]] country code }} |[[ISO 3166-1 alpha-3]] country code }} }} |{{#if:{{{3|}}} |{{#if:{{{4|}}} |{{#ifeq:{{{3}}}|{{{4}}} |[[List of IOC country codes|IOC country code]] and [[List of FIFA country codes|FIFA code]] |[[List of IOC country codes|IOC country code]] }} |[[List of IOC country codes|IOC country code]] }} |{{#if:{{{4|}}} |[[List of FIFA country codes|FIFA country code]] |country code }} }} }} for {{{1}}} as a shorthand editing convenience. {{#if:{{{2|}}} |<br/>{{#if:{{{3|}}} |{{#if:{{{4|}}} |{{#ifeq:{{{2}}}|{{{3}}} |{{#ifeq:{{{3}}}|{{{4}}}| |You can also use {{tlx|{{{4}}}}} (which is a redirect to this template) because "{{{4}}}" is the [[List of FIFA country codes|FIFA code]] for {{{1}}}. }} |{{#ifeq:{{{3}}}|{{{4}}} |You can also use {{tlx|{{{3}}}}} (which is a redirect to this template) because "{{{3}}}" is the [[List of IOC country codes|IOC code]] and [[List of FIFA country codes|FIFA code]] for {{{1}}}. |{{#ifeq:{{{2}}}|{{{4}}} |You can also use {{tlx|{{{3}}}}} (which is a redirect to this template) because "{{{3}}}" is the [[List of IOC country codes|IOC code]] for {{{1}}}. |You can also use {{tlx|{{{3}}}}} or {{tlx|{{{4}}}}} (which are redirects to this template) because "{{{3}}}" is the [[List of IOC country codes|IOC code]] and "{{{4}}}" is the [[List of FIFA country codes|FIFA code]] for {{{1}}}. }} }} }} |{{#ifeq:{{{2}}}|{{{3}}}| |You can also use {{tlx|{{{3}}}}} (which is a redirect to this template) because "{{{3}}}" is the [[List of IOC country codes|IOC code]] for {{{1}}}. }} }} |{{#if:{{{4|}}} |{{#ifeq:{{{2}}}|{{{4}}}| |You can also use {{tlx|{{{4}}}}} (which is a redirect to this template) because "{{{4}}}" is the [[List of FIFA country codes|FIFA code]] for {{{1}}}. }} }} }} |{{#if:{{{3|}}} |{{#if:{{{4|}}} |{{#ifeq:{{{3}}}|{{{4}}}| |You can also use {{tlx|{{{4}}}}} (which is a redirect to this template) because "{{{4}}}" is the [[List of FIFA country codes|FIFA code]] for {{{1}}}. }} }} }} }} {{#ifexist:{{SUBJECTPAGENAME}}/doc |{{ {{SUBJECTPAGENAME}}/doc}} <!-- category and other documentation for the flag template --> }} ==TemplateData== {{Format TemplateData|1=<templatedata> { "params": {}, "description": "Renders a flag icon and wikilink. Takes no parameters." } </templatedata>}} ==See also== *[[Template:Country data {{{1}}}]]—for more options, such as historical flag variations where applicable *[[Wikipedia:WikiProject Flag Template]]—for a complete discussion of the flag template system *[[Wikipedia:Inline templates linking country articles]]—for a complete list of these "shorthand" flag templates {{Sandbox other||[[Category:Flag template shorthands]]}} | link box = This documentation is generated by [[Template:Flag template documentation]]. <br/> Documentation specific to this template may be placed in this template's [[{{FULLPAGENAME}}/doc|/doc]] subpage and will be automatically transcluded. <br/> Any [[Wikipedia:Categorization|categories]] should also be added to the [[{{FULLPAGENAME}}/doc|/doc]] subpage. }}</includeonly><noinclude> {{documentation}}<!-- Add categories to the /doc subpage, not here! --> </noinclude>
Summary:
Please note that all contributions to The Darts Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Darts Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Documentation
(
edit
)
Module:Arguments
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information