Difference between revisions of "Template:FlagPASO/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎See also: update)
imported>Zyxw
(→‎Example: formatting)
Line 16: Line 16:
  
 
== Example ==
 
== Example ==
<code><nowiki>{{FlagPASO |ARG |2011 }}</nowiki></code>
+
<code><nowiki>{{FlagPASO | ARG | 2011 }}</nowiki></code>
 +
: {{FlagPASO | ARG | 2011 }}
  
{{FlagPASO |ARG |2011 }}
+
<code><nowiki>{{FlagPASO | ARG | 2011 | 486 }}</nowiki></code>
 +
: {{FlagPASO | ARG | 2011 | 486 }}
  
<code><nowiki>{{FlagPASO |ARG |2011 |486 }}</nowiki></code>
+
For comparison, the output of <code><nowiki>{{Flag PASO team | ARG | 2011 }}</nowiki></code> is:
 
+
: {{Flag PASO team | ARG | 2011 }}
{{FlagPASO |ARG |2011 |486 }}
 
 
 
For comparison, the output of <code><nowiki>{{Flag PASO team |ARG |2011 }}</nowiki></code> is:
 
 
 
{{Flag PASO team |ARG |2011 }}
 
  
 
== See also ==
 
== See also ==

Revision as of 21:19, 9 January 2016

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

{{FlagPASO|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> 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 (#) after the nation's name.

Known Issues to address

Note – the issues below have been addressed, but the text below will not be removed until confirmed.
  • Historical flags are not currently part of the template, but should be.

Example

{{FlagPASO | ARG | 2011 }}

22x20px Argentina

{{FlagPASO | ARG | 2011 | 486 }}

22x20px Argentina (486)

For comparison, the output of {{Flag PASO team | ARG | 2011 }} is:

22x20px Argentina (ARG)

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}}