Template talk:Country flag

From Wikipedia, the free encyclopedia

[edit] Usage

At present this template is intended to be used through Template:Country, such as: {{country|flag|USA}}.

  • Aliases are done by having one template for each country or alias (this is called a template array).
  • Alias templates follow the pattern country_alias_Name.
    • Contents of the country alias is the name of the country's Wikipedia page (ie, United States).
  • Alias templates for flags follow the pattern country_flag_alias_Name.
    • Contents of the country flag alias is the name of the country's flag image (ie, us or Us); the prefix Image: is added by {{country_flag}}.
  • Aliases for the label to be displayed must be defined. Labels follow the pattern country_label_alias_Name.

Main page: Wikipedia:WikiProject_Flag_Template


Contents


[edit] Trying to figure out what breaks South Korea

Flag of South Korea.svg [[Flag of South Korea.svg|Template:Country label alias South Korea]]

Template:Country flag alias South Korea

So it's a problem in {{country flag alias South Korea}}. Bye, Shinobu 14:16, 27 October 2006 (UTC)

Describe the problem so we know if we are still seeing it or if it got fixed. The live version of {{country_flag|South Korea}} does this: [[Image:{{{flag alias}}}|22x20px|border |Flag of {{{alias}}}]] [[{{{alias}}}|{{{name}}}]] (SEWilco 17:14, 27 October 2006 (UTC))
At the time of this writing, country_flag is showing a bordered icon of the flag with "KOR" linked to the article South Korea. (SEWilco 17:17, 27 October 2006 (UTC))

Sorry, sorry, I was just debugging happily away, so I moved straight on to template containing the problem, which I then solved and forgot about. Shinobu 10:27, 16 November 2006 (UTC)