Template:Flag2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#switch: {{{1|}}} | #default = 24px|link= Wrong Usage, read Template:flag2 | ES = 24px|link={{#ifeq:...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
| #default = [[Image:ambox_speedy_deletion.png|24px|link=]] Wrong Usage, read [[:Template:flag2]] | | #default = [[Image:ambox_speedy_deletion.png|24px|link=]] Wrong Usage, read [[:Template:flag2]] | ||
| ES = [[File:Spain.png|24px|link=]]{{#ifeq:{{{country|}}}|yes| Spain}}{{#ifeq:{{{language|}}}|yes| (Spanish)}} | | ES = <span style="border:1px solid rgba(0,0,0,0.5); cursor:help">[[File:Spain.png|24px|link=]]</span>{{#ifeq:{{{country|}}}|yes| Spain}}{{#ifeq:{{{language|}}}|yes| (Spanish)}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 09:04, 19 December 2021
Wrong Usage, read Template:flag2
flag2 Usage
{{flag2|ES}} =
{{flag2|ES|country=yes}} = Spain
{{flag2|ES|language=yes}} = (Spanish)
{{flag2|ES|country=yes|language=yes}} = Spain (Spanish)
Notes for wiki editors
This template is a wayaround because the template {{flag}} doesnt works very well (cant be used inline, it forces a text to be displayed, etc...). Eventually this template could be ported to template {{flag}}