Template:Doc/flag: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#ifeq:{{ | <onlyinclude>{{#ifeq:{{Intlang}}|{{{1|}}}|<span style="margin:1px; border:1px solid #AAA; border-radius:2px; padding:0 2px"><!-- | ||
--><span style="user-select:none; position:relative; top:-1px"><!-- | --><span style="user-select:none; position:relative; top:-1px"><!-- | ||
--> | -->{{Flag|{{{1|en}}}}}</span></span>{{#if:{{{show-lang-name|}}}| '''{{ucfirst:{{#language:{{{1|en}}}}}}}'''}}{{#ifexist:{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{#switch:{{{1|}}}|en=|/{{{1|}}}}}|[[Category:{{{2|}}}]]}} | ||
| {{#if:{{{content|}}} | | {{#if:{{{content{{#switch:{{{1|}}}|en=|/{{{1|}}}}}|}}} | ||
| <span style="margin:1px; border:1px solid #323232"><!-- | | <span style="margin:1px; border:1px solid {{{unselected-color|{{#if:{{{show-lang-name|}}}|#404040|#323232}}}}}"><!-- | ||
--><span style="user-select:none; position:relative; top:-1px"><!-- | --><span style="user-select:none; position:relative; top:-1px"><!-- | ||
--> | -->{{Flag|{{{1|en}}}|link={{fullurl:{{FULLPAGENAME}}|uselang={{{1|}}}}}}}</span></span>{{#if:{{{show-lang-name|}}}|<span class="plainlinks"> [{{fullurl:{{FULLPAGENAME}}|uselang={{{1|}}}}} {{ucfirst:{{#language:{{{1|en}}}}}}}]</span>}} | ||
| {{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}}} | | {{#if:{{PROTECTIONEXPIRY:edit|{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{#switch:{{{1|}}}|en=|/{{{1|}}}}}}} | ||
| <span style="margin:1px; border:1px solid #323232"><!-- | | <span style="margin:1px; border:1px solid {{{unselected-color|{{#if:{{{show-lang-name|}}}|#404040|#323232}}}}}"><!-- | ||
--><span style="user-select:none; position:relative; top:-1px"><!-- | --><span style="user-select:none; position:relative; top:-1px"><!-- | ||
--> | -->{{Flag|{{{1|en}}}|link={{fullurl:{{FULLPAGENAME}}|uselang{{{1|}}}}}}}</span></span>{{#if:{{{show-lang-name|}}}|<span class="plainlinks"> [{{fullurl:{{FULLPAGENAME}}|uselang={{{1|}}}}} {{ucfirst:{{#language:{{{1|en}}}}}}}]</span>}} | ||
}} | }} | ||
}} | }} | ||
}}</onlyinclude> | }}</onlyinclude> |