Difference between revisions of "Template:FlagSEAGF/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(== See also == {{Flag templates}})
imported>Primefac
(centralize)
 
Line 1: Line 1:
{{documentation subpage}}
+
#REDIRECT [[Template:FlagIOC2/doc]]
 
 
==Usage==
 
<code><nowiki>{{flagSEAGF|code|games|athletes}}</nowiki></code>
 
 
 
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 Southeast Asian Games games.
 
 
 
* ''code'' is a [[Southeast Asian Games Federation]] three letter country code (see [[Southeast Asian Games#Participating countries|List of SEAGF country codes]]). This must be written in CAPS.
 
* ''games'' is the year expressed in the format yyyy. [[Wikipedia:WikiProject Multi-sport events|WikiProject Multi-sport events]] has created a full set of pages of the form "<country> at the <year> Southeast Asian 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. This will also give the correct name of the games. e.g. 1959 to 1975: Southeast Asian Peninsular Games, 1977 onwards: Southeast Asian Games. 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 Southeast Asian Games. It is an optional argument, and will render a small <small>(#)</small> after the nation's name. 
 
 
 
==Examples==
 
* <code><nowiki>{{flagSEAGF|VIE|1973}}</nowiki></code> → {{flagSEAGF|VIE|1973}}
 
* <code><nowiki>{{flagSEAGF|VIE|2015|400}}</nowiki></code> → {{flagSEAGF|VIE|2015|400}}
 
* <code><nowiki>{{flagSEAGF|SIN|1959}}</nowiki></code> → {{flagSEAGF|SIN|1959}}
 
* <code><nowiki>{{flagSEAGF|MYA|1973}}</nowiki></code> → {{flagSEAGF|MYA|1973}}
 
* <code><nowiki>{{flagSEAGF|MAS|1961}}</nowiki></code> → {{flagSEAGF|MAS|1961}}
 
* <code><nowiki>{{flagSEAGF|LAO|1973}}</nowiki></code> → {{flagSEAGF|LAO|1973}}
 
* <code><nowiki>{{flagSEAGF|CAM|1971}}</nowiki></code> → {{flagSEAGF|CAM|1971}}
 
* <code><nowiki>{{flagSEAGF|MYA|2013}}</nowiki></code> → {{flagSEAGF|MYA|2013}}
 
 
 
== See also ==
 
{{Flag templates}}
 
 
 
<includeonly>
 
[[Category:Southeast Asian Games flag templates]]
 
</includeonly>
 

Latest revision as of 03:07, 25 December 2018