Difference between revisions of "Flag"

From Sega Retro

 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:flagFileName|Flag {{{1}}}}}{{#if:{{{date|}}}|{{#vardefine:flagFileName|{{#var:flagFileName}} {{flagDateCheck|{{{date}}}}}}}|}}<span style="display:inline-block; line-height:0px; {{#if:{{{border|}}}|border:1px solid {{{border}}}}};">[[File:{{#var:flagFileName}}.svg|link=|{{#if:{{{2|}}}|{{{2}}}|20}}px|{{CountryCode2Country|{{{1}}}|{{{date|}}}}}]]{{clearvar|flagFileName}}</span></includeonly><noinclude>
+
<includeonly><span style="display:none;">{{#vardefine:currentflagdate|{{
 +
#if:{{{date|}}}|{{{date|}}}|{{
 +
#if:{{#var:flagdate}}|{{#var:flagdate}}|9999}}}}}}{{#vardefine:datesuffix|{{flagDateCheck|{{{1}}}|{{#var:currentflagdate}}}}}}{{#vardefine:flagfilename|Flag {{{1}}} {{#var:datesuffix}}}}</span><span style="display:inline-block; line-height:0px; {{#if:{{{border|}}}|border:1px solid {{{border}}}}};">[[File:{{#var:flagfilename}}.svg|link=|{{#if:{{{2|}}}|{{{2}}}|20}}px|{{CountryCode2Country|{{{1}}}|date={{{date|}}}}}]]{{clearvar|flagfilename|currentflagdate|datesuffix}}</span></includeonly><noinclude>
 
{{flag|Scotland}} I'm {{flag|AL}} sure {{flag|BA}} we'll {{flag|CH}} find {{flag|DK}} a {{flag|EE}} use {{flag|FR}} for {{flag|GR}} this {{flag|HU}} somewhere {{flag|IN}}
 
{{flag|Scotland}} I'm {{flag|AL}} sure {{flag|BA}} we'll {{flag|CH}} find {{flag|DK}} a {{flag|EE}} use {{flag|FR}} for {{flag|GR}} this {{flag|HU}} somewhere {{flag|IN}}
  
Line 8: Line 10:
 
Date {{flag|ZA|date=1993}} check {{flag|ZA|date=1995}}
 
Date {{flag|ZA|date=1993}} check {{flag|ZA|date=1995}}
  
[[Category:Sega Retro templates]]
+
{{#vardefine:flagdate|1993}}
 +
Double {{flag|ZA}} check {{flag|ZA|date=1995}}
 +
{{#vardefine:flagdate|1996}}
 +
Triple {{flag|ZA|date=1991}} check {{flag|ZA}}
 +
*{{flag|ZA}} bullet
 +
*{{flag|ZA}} points
 +
 
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:27, 4 November 2023

Scotland I'm Albania sure Bosnia and Herzegovina we'll Switzerland find Denmark a Estonia use France for Greece this Hungary somewhere India

United Kingdom United Kingdom United Kingdom Japan

Test Japan the Japan border

Date South Africa check South Africa


Double South Africa check South Africa

Triple South Africa check South Africa

  • South Africa bullet
  • South Africa points