Editing Template:Flag2
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
| | | #default = [[Image:ambox_speedy_deletion.png|24px|link=]] Wrong Usage, read [[:Template:flag2]] | ||
| 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)}} | | 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> | ||
=== flag2 Usage === | === flag2 Usage === | ||
'''<nowiki>{{flag2| | '''<nowiki>{{flag2|ES}}</nowiki>''' = {{flag2|ES}}<br> | ||
'''<nowiki>{{flag2|ES|country=yes}}</nowiki>''' = {{flag2|ES|country=yes}}<br> | |||
'''<nowiki>{{flag2|ES|language=yes}}</nowiki>''' = {{flag2|ES|language=yes}}<br> | |||
'''<nowiki>{{flag2|ES|country=yes|language=yes}}</nowiki>''' = {{flag2|ES|country=yes|language=yes}}<br> | |||
=== Notes for wiki editors === | === Notes for wiki editors === | ||
This template is a wayaround because the template <nowiki>{{flag}}</nowiki> doesnt works very well (cant be used inline, it forces a text to be displayed, etc...). Eventually this template could be ported to template <nowiki>{{flag}}</nowiki> | This template is a wayaround because the template <nowiki>{{flag}}</nowiki> doesnt works very well (cant be used inline, it forces a text to be displayed, etc...). Eventually this template could be ported to template <nowiki>{{flag}}</nowiki> | ||
</noinclude><noinclude>[[Category:Templates]]</noinclude> | </noinclude><noinclude>[[Category:Templates]]</noinclude> |