Template:Flag2: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
  | #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="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|&nbsp;Spain}}{{#ifeq:{{{language|}}}|yes|&nbsp;(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|&nbsp;Spain}}{{#ifeq:{{{language|}}}|yes|&nbsp;(Spanish)}}
| GB      = <span style="outline:1px solid rgba(0,0,0,0.5); outline-offset:-1px; cursor:help">[[File:United_Kingdom.png|24px|link=|United Kingdom (English)]]</span>{{#ifeq:{{{country|}}}|yes|&nbsp;United Kingdom}}{{#ifeq:{{{language|}}}|yes|&nbsp;(English)}}
}}<noinclude>
}}<noinclude>


Line 9: Line 10:
'''<nowiki>{{flag2|ES|language=yes}}</nowiki>''' = {{flag2|ES|language=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>
'''<nowiki>{{flag2|ES|country=yes|language=yes}}</nowiki>''' = {{flag2|ES|country=yes|language=yes}}<br>
'''<nowiki>{{flag2|GB}}</nowiki>''' = {{flag2|GB}}<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><br>
In the meantime this template only have a few of the PlayStation supported [[Languages]]
</noinclude><noinclude>[[Category:Templates]]</noinclude>
</noinclude><noinclude>[[Category:Templates]]</noinclude>

Revision as of 09:32, 19 December 2021

Ambox speedy deletion.png Wrong Usage, read Template:flag2

flag2 Usage

{{flag2|ES}} = Spain (Spanish)
{{flag2|ES|country=yes}} = Spain (Spanish) Spain
{{flag2|ES|language=yes}} = Spain (Spanish) (Spanish)
{{flag2|ES|country=yes|language=yes}} = Spain (Spanish) Spain (Spanish)
{{flag2|GB}} = United Kingdom (English)


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}}
In the meantime this template only have a few of the PlayStation supported Languages