Difference between revisions of "Template:Cc3/doc"

From blackwiki
Jump to navigation Jump to search
imported>B20180
(+th)
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 9: Line 9:
 
*<code><nowiki>{{cc3|RSA}}</nowiki></code> → {{cc3|RSA}}
 
*<code><nowiki>{{cc3|RSA}}</nowiki></code> → {{cc3|RSA}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Flag template system|{{PAGENAME}}]]  <!-- uses "getalias", so this category is appropriate -->
 
[[Category:Flag template system|{{PAGENAME}}]]  <!-- uses "getalias", so this category is appropriate -->
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
Line 15: Line 15:
  
 
[[th:แม่แบบ:Cc3]]
 
[[th:แม่แบบ:Cc3]]
</includeonly>
+
}}</includeonly>

Latest revision as of 01:26, 24 April 2020

Usage
{{cc3|TLA}}, where "TLA" is a three-letter country code such as those specified by ISO 3166-1 alpha-3.

Produces a link to that nation's article with the code used as the display text for the link. Most IOC country codes and FIFA country codes also work, except when there is a conflict; the ISO code takes precedence.

Examples
  • {{cc3|BRA}}(BRA)
  • {{cc3|CHN}}(CHN)
  • {{cc3|GER}}(GER)
  • {{cc3|RSA}}(RSA)