Difference between revisions of "Flag"
From Sega Retro
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:flagfilename|Flag {{{1}}}}}{{ | <includeonly>{{#vardefine:flagfilename|Flag {{{1}}}}}{{ | ||
#if:{{{date|}}}|{{#vardefine:flagdate|{{flagDateCheck|{{{1}}}|{{{date}}}}}}}{{#if:{{#var:flagdate}}|{{#vardefine:flagfilename|{{#var:flagfilename}} {{#var:flagdate}}}}|}} | #if:{{{date|}}}|{{#vardefine:flagdate|{{flagDateCheck|{{{1}}}|{{{date}}}}}}}{{#if:{{#var:flagdate}}|{{#vardefine:flagfilename|{{#var:flagfilename}} {{#var:flagdate}}}}|}} | ||
− | |}}<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|flagdate}}</span></includeonly><noinclude> | + | |}}<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> |
{{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 13:56, 24 May 2021
I'm sure we'll find a use for this somewhere
Test the border
Date check