Difference between revisions of "Template:FlagPPASO/doc"
Jump to navigation
Jump to search
imported>PrimeHunter (copied from Template:FlagPASO/doc) |
imported>PrimeHunter (adapt from Pan American Games to Parapan American Games) |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- 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 [[ | + | This template is used to display a small flag and country name, with a wikilink to the country's page for the specified [[Parapan American Games]]. |
== Usage == | == Usage == | ||
− | <code><nowiki>{{</nowiki> | + | <code><nowiki>{{</nowiki>FlagPPASO|''code''|''games''|''athletes''}}</code> |
* ''code'' is an [[International Olympic Committee]] country code (see [[List of IOC country codes]]). | * ''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> | + | * ''games'' is a year (e.g. 1999). The intent is to have a full set of pages of the form "<country> at the <year> Parapan 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. | * ''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 == | == Example == | ||
− | <code><nowiki>{{ | + | <code><nowiki>{{FlagPPASO | ARG | 2011 }}</nowiki></code> |
− | : {{ | + | : {{FlagPPASO | ARG | 2011 }} |
− | <code><nowiki>{{ | + | <code><nowiki>{{FlagPPASO | ARG | 2011 | 486 }}</nowiki></code> |
− | : {{ | + | : {{FlagPPASO | ARG | 2011 | 486 }} |
− | For comparison, the output of <code><nowiki>{{Flag | + | For comparison, the output of <code><nowiki>{{Flag PPASO team | ARG | 2011 }}</nowiki></code> is: |
− | : {{Flag | + | : {{Flag PPASO team | ARG | 2011 }} |
== Supporting templates == | == Supporting templates == |
Revision as of 19:24, 12 August 2017
![]() | This is a documentation subpage for Template:FlagPPASO. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to display a small flag and country name, with a wikilink to the country's page for the specified Parapan American Games.
Contents
Usage
{{FlagPPASO|code|games|athletes}}
- 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> Parapan 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 (#) after the nation's name.
Example
{{FlagPPASO | ARG | 2011 }}
{{FlagPPASO | ARG | 2011 | 486 }}
Argentina (486)
For comparison, the output of {{Flag PPASO team | ARG | 2011 }}
is:
Supporting templates
- The country name is supplied by
{{country alias|AAA}}
where AAA is an IOC country code. - The flag image name is also supplied by
{{country alias}}
- For the complete country code list with related names and flags, see Module:Country alias
See also
Output style → | Country name | Country (code) | Athlete (country) | Athlete Country |
Country code |
---|---|---|---|---|---|
Olympic Games | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
Other games | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
Paralympic Games | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
Pan American | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
Parapan American | {{FlagPPASO}} | ||||
Commonwealth | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
Southeast Asian | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
World Games | {{FlagIWGA}} | ||||
Central American and Caribbean Games | {{FlagCAC}} | ||||
Asian Games | {{FlagOCA}} | ||||
"Nation at Championships"-style | {{Flaglinkteam}} | {{FlagATHCHathlete}} | |||
Generic | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
Generic (variant) | {{Flaglink}} | {{Flaglinkmedalist}} | |||