Difference between revisions of "Flag"
From Sega Retro
(*div) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><span style="display:inline-block; {{#if:{{{border|}}}|border:1px solid {{{border}}}}};">[[File: | + | <includeonly><span style="display:none;">{{#vardefine:currentflagdate|{{ |
− | 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}} | + | #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|UK|40}} {{flag|UK|60}} {{flag|UK|80}} {{flag|JP|80|border=silver}} | {{flag|UK|40}} {{flag|UK|60}} {{flag|UK|80}} {{flag|JP|80|border=silver}} | ||
− | [[Category: | + | |
+ | Test {{flag|JP|20|border=silver}} the {{flag|JP|20}} border | ||
+ | |||
+ | Date {{flag|ZA|date=1993}} check {{flag|ZA|date=1995}} | ||
+ | |||
+ | {{#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
I'm sure we'll find a use for this somewhere
Test the border
Date check
Double check
Triple check
- bullet
- points