Difference between revisions of "FlagDateCheck"

From Sega Retro

(Created page with "{{#switch:{{lc:{{{1|}}}}} |za={{dateswitch|date={{{2|}}} |1928 |1994-04-27= }} }}<noinclude>Template for historical flags. <pre>{{FlagDateCheck|ZA|1993}}</pre> {{FlagDa...")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
 +
|ba={{dateswitch|date={{{2|}}}
 +
  |1946
 +
  |1992-05-20=1992
 +
  |1998-02-04=
 +
  }}
 +
|hk={{dateswitch|date={{{2|}}}
 +
  |1959
 +
  |1997-07-01=
 +
  }}
 +
|iq={{dateswitch|date={{{2|}}}
 +
  |1963-07-31=1963
 +
  |1991-01-13=1991
 +
  |2004-08-15=
 +
  }}
 +
|mk={{dateswitch|date={{{2|}}}
 +
  |1946
 +
  |1992-08-11=1992
 +
  |1995-10-05=
 +
  }}
 +
|rs={{dateswitch|date={{{2|}}}
 +
  |2004
 +
  |2010-11-11=
 +
  }}
 +
|yu={{dateswitch|date={{{2|}}}
 +
  |1946
 +
  |1992-04-27=1992
 +
  }}
 
|za={{dateswitch|date={{{2|}}}
 
|za={{dateswitch|date={{{2|}}}
 
   |1928
 
   |1928
 
   |1994-04-27=
 
   |1994-04-27=
 
   }}
 
   }}
}}<noinclude>Template for historical flags.
+
}}<noinclude>Template for historical flags. If this returns nothing, the current flag was in use.
  
 
<pre>{{FlagDateCheck|ZA|1993}}</pre>
 
<pre>{{FlagDateCheck|ZA|1993}}</pre>
Line 12: Line 39:
 
{{FlagDateCheck|ZA|1995}}
 
{{FlagDateCheck|ZA|1995}}
  
</noinclude>
+
[[Category:Templates]]</noinclude>

Revision as of 13:46, 2 July 2022

Template for historical flags. If this returns nothing, the current flag was in use.

{{FlagDateCheck|ZA|1993}}

1928

{{FlagDateCheck|ZA|1995}}