Difference between revisions of "Flag"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: | + | <includeonly><span style="display:none;">{{#vardefine:currentflagdate|{{ |
− | #if:{{{ | + | #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 9: | Line 9: | ||
Date {{flag|ZA|date=1993}} check {{flag|ZA|date=1995}} | 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]] | [[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