Difference between revisions of "Template:FlagCAC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hooperswim
m
imported>Primefac
(centralize)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:FlagIOC2/doc]]
 
 
=== Usage ===
 
<code><nowiki>{{flagCAC|code|games|athletes}}</nowiki></code>
 
 
 
This template is used to display a small flag and country name, with a wikilink to the country's page for the specified Central American and Caribbean Games.
 
 
 
* ''code'' is an [[International Olympic Committee]] country code (see [[List of IOC country codes]]).
 
* ''games'' is a year. The intent is to have a full set of pages of the form "<country> at the <year> Central American and Caribbean Games" and the intent is 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 and Pan Am Games).
 
* ''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.
 
 
 
===Known Issues to address===
 
*Country name: the IOC or CASCO/ODECABE country names should be listed: currently the actual country name will display. e.g. <code><nowiki>{{flagCAC|ISV}}</nowiki></code> produces {{flagCAC|ISV}}, instead of listing the country as "Virgin Islands".
 
*Historical flags are not currently part of the template, but should be.
 
 
 
 
 
=== See also ===
 
*[[Template:FlagPASO]]
 
*[[Template:FlagIOC]]
 
 
 
<includeonly>
 
[[Category:Flag templates]]
 
[[Category:Central American and Caribbean Games]]
 
</includeonly>
 

Latest revision as of 03:07, 25 December 2018