Wikipedia:WikiProject Flag Template/January 2007 rework

A replacement for the current flag system. See 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).


 * {| class="wikitable"

! Change ! To
 *  
 *   no change
 *  
 *   no change
 *  
 *   no change
 *  
 *   no change
 * }
 * <tt> </tt>
 * <tt> </tt> 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 Country data France replaces 6 templates (see below).

Note that is not supported as this has been phased out into flagIOC. See Wikipedia talk:WikiProject Flag Template

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))

country2
Replaces Country

flagcountry2
Replaces flagcountry

flagicon2
Replaces flagicon

flag2
Replaces flag

Data templates

 * Template:Country data XXX
 * Category:Country data templates

Replace:
 * Template:Country alias XXX
 * Template:Country flag alias XXX
 * Template:Country shortname alias XXX
 * Template:Country label alias XXX
 * Template:Country ISO alias XXX
 * Template:Country flag ISO alias XXX

Country data France
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

Country data 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

Country data Brazil
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

Country data BRA
Redirect to template:Country data Brazil

Country data
Used as a default in the call: =

Testing and docu templates

 * Country showdata
 * Used on template page of data templates (example: Template:Country data France)