Template:Language bar: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
m (adjust interim colours to match shades of blue used on main page)
m (Protected "Template:Language bar": Transcluded onto the main page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="width: 90%; margin: 0 auto 0 auto; background: #f5faff; border: 1px solid #cedff2; text-align: center; font-size: 0.9em;">
<div style="width: 100%; margin: 0 auto 0 auto; background: #f5faff; border: 1px solid #cedff2; text-align: center; font-size: 0.9em;">
{{#if:{{{root|}}}<!-- check if the root override has been called -->
{{#if:{{{root|}}}<!-- check if the root override has been called -->
   | <!-- Yes: Override automatic behaviour (treat subpage as if it is a rootpage) -->
   | <!-- Yes: Override automatic behaviour (treat subpage as if it is a rootpage)
            -->{{#ifexist:{{PAGENAME}}/ang|[[{{PAGENAME}}/ang|Ænglisc]]&nbsp;&#124;&nbsp;}}<!-- Old English
            -->{{#ifexist:{{PAGENAME}}/ar|[[{{PAGENAME}}/ar|العربية]]&nbsp;&#124;&nbsp;}}<!-- Arabic
            -->{{#ifexist:{{PAGENAME}}/bn|[[{{PAGENAME}}/bn|বাংলা]]&nbsp;&#124;&nbsp;}}<!-- Bengali
            -->{{#ifexist:{{PAGENAME}}/cy|[[{{PAGENAME}}/cy|Cymraeg]]&nbsp;&#124;&nbsp;}}<!-- Welsh
            -->'''English'''<!-- English
            -->{{#ifexist:{{PAGENAME}}/enm|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/enm|Englissh]]}}<!-- Middle English
            -->{{#ifexist:{{PAGENAME}}/ga|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ga|Gaeilge]]}}<!-- Irish
            -->{{#ifexist:{{PAGENAME}}/gd|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gd|Gàidhlig]]}}<!-- Scottish Gaelic
            -->{{#ifexist:{{PAGENAME}}/gu|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gu|ગુજરાતી]]}}<!-- Gujarati
            -->{{#ifexist:{{PAGENAME}}/gv|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gv|Gaelg]]}}<!-- Manx
            -->{{#ifexist:{{PAGENAME}}/kw|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/kw|Kernowek]]}}<!-- Cornish
            -->{{#ifexist:{{PAGENAME}}/pa|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pa|ਪੰਜਾਬੀ]]}}<!-- Eastern Punjabi
            -->{{#ifexist:{{PAGENAME}}/pl|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pl|Polski]]}}<!-- Polish
            -->{{#ifexist:{{PAGENAME}}/pnb|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pnb|پنجابی]]}}<!-- Western Punjabi
            -->{{#ifexist:{{PAGENAME}}/sco|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/sco|Scots]]}}<!-- Scots
            -->{{#ifexist:{{PAGENAME}}/ur|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ur|اردو]]}}<!-- Urdu
            -->
   | <!-- No: Automatic behaviour based on root- or subpage (default)
   | <!-- No: Automatic behaviour based on root- or subpage (default)
     -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}<!-- check if the page is a subpage or a rootpage (this is necessary because rootpages are assumed to be in English while all other languages are supported on subpages of that rootpage) -->
     -->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}<!-- check if the page is a subpage or a rootpage (this is necessary because rootpages are assumed to be in English while all other languages are supported on subpages of that rootpage) -->

Latest revision as of 17:51, 24 January 2014

English

Lua error: Internal error: The interpreter exited with status 126.