From Wikipedia, the free encyclopedia
A replacement for the current flag system. See Wikipedia:WikiProject Flag Template for the current system.
The new system uses the same call syntax and semantics for the front-end templates (the templates editors use on articles or in higher order templates).
-
| Change |
To |
| {{country|...}} |
{{country2|...}} no change |
| {{flagcountry|...}} |
{{flagcountry2|...}} no change |
| {{flagicon|...}} |
{{flagicon2|...}} no change |
| {{flag|...}} |
{{flag2|...}} no change |
Implementation-wise, the new system uses a single data template for each country, instead of a template for each parameter of a country, so for example Template:Country data France (edit talk links history) replaces 6 templates (see #Data templates below).
Note that {{country2|flagIOC|..}} is not supported as this has been phased out into Template:FlagIOC (edit talk links history). See Wikipedia talk:WikiProject Flag Template#Olympic flag usage (flagIOC etc.)
Update: template:flagicon now uses the same template code as template:flagicon2 (--Ligulem 13:43, 25 January 2007 (UTC))
Update: template:flagcountry now uses the same template code as template:flagcountry2 (--Ligulem 17:23, 25 January 2007 (UTC))
Update: template:flag now uses the same template code as template:flag2 (--Ligulem 17:31, 25 January 2007 (UTC))
Update: template:country now uses the same template code as template:country2 (--Ligulem 14:51, 26 January 2007 (UTC))
Replaces Template:Country (edit talk links history)
[edit] {{country2|flagcountry|..}}
| New call |
Old call |
| {{country2|flagcountry|France}} = Template:Country2 |
{{country|flagcountry|France}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagcountry|FRA}} = Template:Country2 |
{{country|flagcountry|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagcountry|FRA|size=40px|name=foo}} = Template:Country2 |
{{country|flagcountry|FRA|size=40px|name=foo}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagcountry|Brazil}} = Template:Country2 |
{{country|flagcountry|Brazil}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagcountry|Brazil|1889}} = Template:Country2 |
{{country|flagcountry|Brazil-1889}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagcountry|BRA|1889}} = Template:Country2 |
{{country|flagcountry|BRA-1889}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| calls Template:Country flagcountry2 (edit talk links history) |
calls Template:Country flagcountry (edit talk links history) |
[edit] {{country2|name|..}}
| New call |
Old call |
| {{country2|name|France}} = Template:Country2 |
{{country|name|France}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|name|FRA}} = Template:Country2 |
{{country|name|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| calls Template:Country name2 (edit talk links history) |
calls Template:Country name (edit talk links history) |
[edit] {{country2|flag|..}}
| New call |
Old call |
| {{country2|flag|France}} = Template:Country2 |
{{country|flag|France}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flag|FRA}} = Template:Country2 |
{{country|flag|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flag|FRA|size=40px|name=foo}} = Template:Country2 |
{{country|flag|FRA|size=40px|name=foo}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
)
|
| calls Template:Country flag2 (edit talk links history) |
calls Template:Country flag (edit talk links history) |
[edit] {{country2|flagicon|..}}
| New call |
Old call |
| {{country2|flagicon|France}} = Template:Country2 |
{{country|flagicon|France}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagicon|FRA}} = Template:Country2 |
{{country|flagicon|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| {{country2|flagicon|FRA|size=40px}} = Template:Country2 |
{{country|flagicon|FRA|size=40px}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| calls Template:Country flagicon2 (edit talk links history) |
calls Template:Country flagicon (edit talk links history) |
[edit] {{country2|flagISO|..}}
| New call |
Old call |
| {{country2|flagISO|FRA}} = Template:Country2 |
{{country|flagISO|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| calls Template:Country flagISO2 (edit talk links history) |
calls Template:Country flagISO (edit talk links history) |
[edit] {{country2|flagIOC|..}} (NOT SUPPORTED)
| New call (NOT SUPPORTED) |
Old call |
| {{country2|flagIOC|FRA}} = Template:Country2 |
{{country|flagIOC|FRA}} =
 |
The template {{WikiProject Flag Template/January 2007 rework}} is deprecated. Please use {{ Country}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|WikiProject Flag Template/January 2007 rework|Country}}.
The template {{Country}} is deprecated. Please use {{Flag}} instead. |
|
| calls Template:Country flagIOC2 (edit talk links history) |
calls Template:Country flagIOC (edit talk links history) |
Replaces Template:Flagcountry (edit talk links history)
| New call |
Old call |
| {{flagcountry2|France}} = Template:Flagcountry2 |
{{flagcountry|France}} = France |
| {{flagcountry2|FRA}} = Template:Flagcountry2 |
{{flagcountry|FRA}} = France |
Replaces Template:Flagicon (edit talk links history)
| New call |
Old call |
| {{flagicon2|France}} = Template:Flagicon2 |
{{flagicon|France}} =  |
| {{flagicon2|FRA}} = Template:Flagicon2 |
{{flagicon|FRA}} =  |
Replaces Template:Flag (edit talk links history)
| New call |
Old call |
{{flag2|France}} = France |
{{flag|France}} = France |
{{flag2|FRA}} = FRA |
{{flag|FRA}} = FRA |
{{flag2}} = ? |
{{flag}} = ? |
[edit] Formatter templates
[edit] Data templates
Replace:
Replaces:
- Template:Country alias France
- Template:Country flag alias France
- Template:Country shortname alias France
- Template:Country label alias France
- Template:Country ISO alias FRA
- Template:Country flag ISO alias FRA
Is a redirect to {{Country data France}}. Replaces
- Template:Country alias FRA
- Template:Country flag alias FRA
- Template:Country shortname alias FRA
- Template:Country label alias FRA
Replaces:
- Template:Country alias Brazil
- Template:Country flag alias Brazil
- Template:Country label alias Brazil
- Template:Country alias Brazil-1889
- Template:Country flag alias Brazil-1889
- Template:Country label alias Brazil-1889
- Template:Country flag ISO alias BRA
- Template:Country ISO alias BRA
- Template:Country ISO alias BRA
Redirect to template:Country data Brazil
Used as a default in the call: {{flag2}} =
?
[edit] Testing and docu templates
- Template:Country showdata (edit talk links history)
- Used on template page of data templates (example: Template:Country data France)