Template:LanguageBar/call: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
--><div style="height:19px; background-color:{{#ifeq:{{{BASENAME}}}|Main Page|transparent|#262626}}; border:1px solid #65635F; border-bottom:0;{{#ifeq:{{{BASENAME}}}|Main Page|border-color:transparent;|}}border-radius:3px 3px 0 0; pointer-events:all; margin-{{text-dir|ltr=left|rtl=right}}:auto"><!-- Remember to sort the language codes from A to Z. Don't forget to update the "Currently Supported Languages" section once you added new languages here. | --><div style="height:19px; background-color:{{#ifeq:{{{BASENAME}}}|Main Page|transparent|#262626}}; border:1px solid #65635F; border-bottom:0;{{#ifeq:{{{BASENAME}}}|Main Page|border-color:transparent;|}}border-radius:3px 3px 0 0; pointer-events:all; margin-{{text-dir|ltr=left|rtl=right}}:auto"><!-- Remember to sort the language codes from A to Z. Don't forget to update the "Currently Supported Languages" section once you added new languages here. | ||
-->{{#ifeq:{{{USEDLANG}}}|en|<span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|en}}</span></span>|<span style="margin:1px; border:1px solid transparent"><span style="user-select:none; position:relative; top:-1px">{{Flag|en|link={{{BASENAME}}}}}</span></span>}}<!-- English | -->{{#ifeq:{{{USEDLANG}}}|en|<span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|en}}</span></span>|<span style="margin:1px; border:1px solid transparent"><span style="user-select:none; position:relative; top:-1px">{{Flag|en|link={{NAMESPACE}}:{{{BASENAME}}}}}</span></span>}}<!-- English | ||
-->{{LanguageBar/flag|ca|BASENAME={{{BASENAME}}}|USEDLANG={{{USEDLANG}}} }}<!-- | -->{{LanguageBar/flag|ca|BASENAME={{{BASENAME}}}|USEDLANG={{{USEDLANG}}} }}<!-- | ||
-->{{LanguageBar/flag|cs|BASENAME={{{BASENAME}}}|USEDLANG={{{USEDLANG}}} }}<!-- | -->{{LanguageBar/flag|cs|BASENAME={{{BASENAME}}}|USEDLANG={{{USEDLANG}}} }}<!-- |