Difference between revisions of "Flag"

From Sega Retro

Line 1: Line 1:
<includeonly>{{#vardefine:flagfilename|Flag {{{1}}}}}{{
+
<includeonly><span style="display:none;">{{#vardefine:currentflagdate|{{
#if:{{{date|}}}{{#var:flagdate}}|{{#vardefine:flagdate|{{flagDateCheck|{{{1}}}|{{#if:{{{date|}}}|{{{date|}}}|{{#var:flagdate}}}}}}}}{{#if:{{#var:flagdate}}|{{#vardefine:flagfilename|{{#var:flagfilename}} {{#var:flagdate}}}}|}}
+
#if:{{{date|}}}|{{{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={{{date|}}}}}]]{{clearvar|flagfilename|flagdate}}</span></includeonly><noinclude>
+
#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}}
  

Revision as of 09:25, 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