Difference between revisions of "Template:FlagIPCshort/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
Line 7: Line 7:
  
 
* ''code'' is an [[International Paralympic Committee]] country code (see [[List of IOC country codes]]).
 
* ''code'' is an [[International Paralympic Committee]] country code (see [[List of IOC country codes]]).
* ''games'' is a string of the form <tt><year> Summer</tt>, <tt><year> Winter</tt>, or just <tt>Summer</tt> or <tt>Winter</tt>. This template can be used from medal tables and event result tables to point to the correct country page of the form "<country> at the <year> <Summer/Winter> Paralympics".  Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.
+
* ''games'' is a string of the form <code><year> Summer</code>, <code><year> Winter</code>, or just <code>Summer</code> or <code>Winter</code>. This template can be used from medal tables and event result tables to point to the correct country page of the form "<country> at the <year> <Summer/Winter> Paralympics".  Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.
 
* ''athletes'' is the number of athletes that the nation contributed to the specific Paralympics. 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 Paralympics. It is an optional argument, and will render a small <small>(#)</small> after the nation's name.   
  

Latest revision as of 02:03, 3 June 2020

Usage

{{flagIPCshort|code|games|athletes}}

This template is used to display a small flag and name of a country, with a wikilink to the country's page for the specified Paralympic games.

  • code is an International Paralympic Committee country code (see List of IOC country codes).
  • games is a string of the form <year> Summer, <year> Winter, or just Summer or Winter. This template can be used from medal tables and event result tables to point to the correct country page of the form "<country> at the <year> <Summer/Winter> Paralympics". Also, the correct historical flag is chosen based on this string, for countries that had different flags in the past.
  • athletes is the number of athletes that the nation contributed to the specific Paralympics. It is an optional argument, and will render a small (#) after the nation's name.

Examples

  • {{flagIPCshort|USA}} USA
  • {{flagIPCshort|AUS|Winter}} AUS
  • {{flagIPCshort|ESP|2004 Summer}} ESP
  • {{flagIPCshort|CHN|2006 Winter}} CHN
  • {{flagIPCshort|CAN|1960 Summer}} CAN
  • {{flagIPCshort|GRE|2004 Summer|441}} GRE (441)

See also

{{FlagIPC-rt}}

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