Difference between revisions of "Template:FlagPASO/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
(→‎Known Issues to address: historical flags have been dealt with)
imported>Primefac
(centralize)
 
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:FlagIOC2/doc]]
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
 
 
This template is used to display a small flag and country name, with a wikilink to the country's page for the specified [[Pan American Games]].
 
 
 
== Usage ==
 
<code><nowiki>{{</nowiki>FlagPASO|''code''|''games''|''athletes''}}</code>
 
 
 
* ''code'' is an [[International Olympic Committee]] country code (see [[List of IOC country codes]]).
 
* ''games'' is a year (e.g. 1999). The intent is to have a full set of pages of the form "<country> at the <year> Pan American Games" and that this template can be used from medal tables and event result tables to point to the right country page (similar to pages created for the Olympics).
 
* ''athletes'' is the number of athletes that the nation contributed to the specific Games. It is an optional argument, and will render a small <small>(#)</small> after the nation's name.
 
 
 
== Example ==
 
<code><nowiki>{{FlagPASO | ARG | 2011 }}</nowiki></code>
 
: {{FlagPASO | ARG | 2011 }}
 
 
 
<code><nowiki>{{FlagPASO | ARG | 2011 | 486 }}</nowiki></code>
 
: {{FlagPASO | ARG | 2011 | 486 }}
 
 
 
For comparison, the output of <code><nowiki>{{Flag PASO team | ARG | 2011 }}</nowiki></code> is:
 
: {{Flag PASO team | ARG | 2011 }}
 
 
 
== Supporting templates ==
 
* The country name is supplied by {{tlx|country alias|''AAA''}} where AAA is an [[IOC country code]].
 
* The flag image name is also supplied by {{tlc|country alias}}
 
** For the complete country code list with related names and flags, see [[Module:Country alias]]
 
 
 
== See also ==
 
{{Flag templates}}
 
 
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Pan American Games flag templates]]
 
 
 
}}</includeonly>
 

Latest revision as of 03:07, 25 December 2018