Template:Flag2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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 = <span style=" | | ES = <span style="outline:1px solid rgba(0,0,0,0.5); outline-offset:-1px; cursor:help">[[File:Spain.png|24px|link=|Spain (Spanish)]]</span>{{#ifeq:{{{country|}}}|yes| Spain}}{{#ifeq:{{{language|}}}|yes| (Spanish)}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 09:08, 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}}