Template:Language bar: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(cosmetic separators)
m (Protected "Template:Language bar": Transcluded onto the main page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="width: 90%; margin: 0 auto 0 auto; background: aliceblue; border: 1px solid skyblue; 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) -->
         | <!-- Match: Implies that this is a rootpage
         | <!-- Match: Implies that this is a rootpage
             -->{{#ifexist:{{PAGENAME}}/ang|[[{{PAGENAME}}/ang|Old English]]&nbsp;&#124;&nbsp;}}<!-- Old English
             -->{{#ifexist:{{PAGENAME}}/ang|[[{{PAGENAME}}/ang|Ænglisc]]&nbsp;&#124;&nbsp;}}<!-- Old English
             -->{{#ifexist:{{PAGENAME}}/ar|[[{{PAGENAME}}/ar|Arabic]]&nbsp;&#124;&nbsp;}}<!-- Arabic
             -->{{#ifexist:{{PAGENAME}}/ar|[[{{PAGENAME}}/ar|العربية]]&nbsp;&#124;&nbsp;}}<!-- Arabic
             -->{{#ifexist:{{PAGENAME}}/bn|[[{{PAGENAME}}/bn|Bengali]]&nbsp;&#124;&nbsp;}}<!-- Bengali
             -->{{#ifexist:{{PAGENAME}}/bn|[[{{PAGENAME}}/bn|বাংলা]]&nbsp;&#124;&nbsp;}}<!-- Bengali
             -->{{#ifexist:{{PAGENAME}}/cy|[[{{PAGENAME}}/cy|Welsh]]&nbsp;&#124;&nbsp;}}<!-- Welsh
             -->{{#ifexist:{{PAGENAME}}/cy|[[{{PAGENAME}}/cy|Cymraeg]]&nbsp;&#124;&nbsp;}}<!-- Welsh
             -->'''English'''<!-- English
             -->'''English'''<!-- English
             -->{{#ifexist:{{PAGENAME}}/enm|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/enm|Middle English]]}}<!-- Middle English
             -->{{#ifexist:{{PAGENAME}}/enm|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/enm|Englissh]]}}<!-- Middle English
             -->{{#ifexist:{{PAGENAME}}/ga|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ga|Irish]]}}<!-- Irish
             -->{{#ifexist:{{PAGENAME}}/ga|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ga|Gaeilge]]}}<!-- Irish
             -->{{#ifexist:{{PAGENAME}}/gd|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gd|Scottish Gaelic]]}}<!-- Scottish Gaelic
             -->{{#ifexist:{{PAGENAME}}/gd|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gd|Gàidhlig]]}}<!-- Scottish Gaelic
             -->{{#ifexist:{{PAGENAME}}/gu|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gu|Gujarati]]}}<!-- Gujarati
             -->{{#ifexist:{{PAGENAME}}/gu|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gu|ગુજરાતી]]}}<!-- Gujarati
             -->{{#ifexist:{{PAGENAME}}/gv|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gv|Manx]]}}<!-- Manx
             -->{{#ifexist:{{PAGENAME}}/gv|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/gv|Gaelg]]}}<!-- Manx
             -->{{#ifexist:{{PAGENAME}}/kw|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/kw|Cornish]]}}<!-- Cornish
             -->{{#ifexist:{{PAGENAME}}/kw|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/kw|Kernowek]]}}<!-- Cornish
             -->{{#ifexist:{{PAGENAME}}/pa|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pa|Eastern Punjabi]]}}<!-- Eastern Punjabi
             -->{{#ifexist:{{PAGENAME}}/pa|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pa|ਪੰਜਾਬੀ]]}}<!-- Eastern Punjabi
             -->{{#ifexist:{{PAGENAME}}/pl|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pl|Polish]]}}<!-- Polish
             -->{{#ifexist:{{PAGENAME}}/pl|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pl|Polski]]}}<!-- Polish
             -->{{#ifexist:{{PAGENAME}}/pnb|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pnb|Western Punjabi]]}}<!-- Western Punjabi
             -->{{#ifexist:{{PAGENAME}}/pnb|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/pnb|پنجابی]]}}<!-- Western Punjabi
             -->{{#ifexist:{{PAGENAME}}/sco|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/sco|Scots]]}}<!-- Scots
             -->{{#ifexist:{{PAGENAME}}/sco|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/sco|Scots]]}}<!-- Scots
             -->{{#ifexist:{{PAGENAME}}/ur|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ur|Urdu]]}}<!-- Urdu
             -->{{#ifexist:{{PAGENAME}}/ur|&nbsp;&#124;&nbsp;[[{{PAGENAME}}/ur|اردو]]}}<!-- Urdu
             -->
             -->
         | <!-- No match: Implies that this is a subpage
         | <!-- No match: Implies that this is a subpage
             -->{{#ifexist:{{BASEPAGENAME}}/ang|[[{{BASEPAGENAME}}/ang|Old English]]&nbsp;&#124;&nbsp;}}<!-- Old English
             -->{{#ifexist:{{BASEPAGENAME}}/ang|[[{{BASEPAGENAME}}/ang|Ænglisc]]&nbsp;&#124;&nbsp;}}<!-- Old English
             -->{{#ifexist:{{BASEPAGENAME}}/ar|[[{{BASEPAGENAME}}/ar|Arabic]]&nbsp;&#124;&nbsp;}}<!-- Arabic
             -->{{#ifexist:{{BASEPAGENAME}}/ar|[[{{BASEPAGENAME}}/ar|العربية]]&nbsp;&#124;&nbsp;}}<!-- Arabic
             -->{{#ifexist:{{BASEPAGENAME}}/bn|[[{{BASEPAGENAME}}/bn|Bengali]]&nbsp;&#124;&nbsp;}}<!-- Bengali
             -->{{#ifexist:{{BASEPAGENAME}}/bn|[[{{BASEPAGENAME}}/bn|বাংলা]]&nbsp;&#124;&nbsp;}}<!-- Bengali
             -->{{#ifexist:{{BASEPAGENAME}}/cy|[[{{BASEPAGENAME}}/cy|Welsh]]&nbsp;&#124;&nbsp;}}<!-- Welsh
             -->{{#ifexist:{{BASEPAGENAME}}/cy|[[{{BASEPAGENAME}}/cy|Cymraeg]]&nbsp;&#124;&nbsp;}}<!-- Welsh
             -->{{#ifexist:{{BASEPAGENAME}}|[[{{BASEPAGENAME}}|English]]}}<!-- English
             -->{{#ifexist:{{BASEPAGENAME}}|[[{{BASEPAGENAME}}|English]]}}<!-- English
             -->{{#ifexist:{{BASEPAGENAME}}/enm|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/enm|Middle English]]}}<!-- Middle English
             -->{{#ifexist:{{BASEPAGENAME}}/enm|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/enm|Englissh]]}}<!-- Middle English
             -->{{#ifexist:{{BASEPAGENAME}}/ga|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/ga|Irish]]}}<!-- Irish
             -->{{#ifexist:{{BASEPAGENAME}}/ga|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/ga|Gaeilge]]}}<!-- Irish
             -->{{#ifexist:{{BASEPAGENAME}}/gd|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gd|Scottish Gaelic]]}}<!-- Scottish Gaelic
             -->{{#ifexist:{{BASEPAGENAME}}/gd|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gd|Gàidhlig]]}}<!-- Scottish Gaelic
             -->{{#ifexist:{{BASEPAGENAME}}/gu|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gu|Gujarati]]}}<!-- Gujarati
             -->{{#ifexist:{{BASEPAGENAME}}/gu|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gu|ગુજરાતી]]}}<!-- Gujarati
             -->{{#ifexist:{{BASEPAGENAME}}/gv|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gv|Manx]]}}<!-- Manx
             -->{{#ifexist:{{BASEPAGENAME}}/gv|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/gv|Gaelg]]}}<!-- Manx
             -->{{#ifexist:{{BASEPAGENAME}}/kw|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/kw|Cornish]]}}<!-- Cornish
             -->{{#ifexist:{{BASEPAGENAME}}/kw|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/kw|Kernowek]]}}<!-- Cornish
             -->{{#ifexist:{{BASEPAGENAME}}/pa|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pa|Eastern Punjabi]]}}<!-- Eastern Punjabi
             -->{{#ifexist:{{BASEPAGENAME}}/pa|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pa|ਪੰਜਾਬੀ]]}}<!-- Eastern Punjabi
             -->{{#ifexist:{{BASEPAGENAME}}/pl|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pl|Polish]]}}<!-- Polish
             -->{{#ifexist:{{BASEPAGENAME}}/pl|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pl|Polski]]}}<!-- Polish
             -->{{#ifexist:{{BASEPAGENAME}}/pnb|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pnb|Western Punjabi]]}}<!-- Western Punjabi
             -->{{#ifexist:{{BASEPAGENAME}}/pnb|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/pnb|پنجابی]]}}<!-- Western Punjabi
             -->{{#ifexist:{{BASEPAGENAME}}/sco|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/sco|Scots]]}}<!-- Scots
             -->{{#ifexist:{{BASEPAGENAME}}/sco|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/sco|Scots]]}}<!-- Scots
             -->{{#ifexist:{{BASEPAGENAME}}/ur|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/ur|Urdu]]}}<!-- Urdu
             -->{{#ifexist:{{BASEPAGENAME}}/ur|&nbsp;&#124;&nbsp;[[{{BASEPAGENAME}}/ur|اردو]]}}<!-- Urdu
             -->
             -->
       }}<!-- END IF subpagename = pagename -->
       }}<!-- END IF subpagename = pagename -->
}}<!-- END IF root -->
}}<!-- END IF root -->
</div><noinclude>{{documentation}}</noinclude>
</div><noinclude>{{documentation}}</noinclude>

Latest revision as of 17:51, 24 January 2014

English

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