<includeonly>{{ #vardefine: $lang-list | {{ #dplreplace:
/ ar
/ ca / cz
/ da / dk
/ el / eo / et
/ fa / fin
/ ga
/ he / hr
/ id / is
/ lv / lt
/ moh
/ no
/ pt / ph
/ ro
/ sr / sk / se
/ th / tl / tr
/ ua
/ vi
/ yi
/
|[\n ]}}<!-- trim whitespace to maintain "switch" feel -->
}}{{ #vardefine: $lang | {{
  #if: {{ #pos: {{ #var: $lang-list }} | /{{SUBPAGENAME}}/ }}
  | {{SUBPAGENAME}}
  | {{ #if: {{ #pos: {{ #var: $lang-list }} | /{{SUBPAGENAME:{{BASEPAGENAME}}}}/ }}
    | {{SUBPAGENAME:{{BASEPAGENAME}}}}
    }}
  }}
}}{{
#if: {{ #var: $lang }}
| {{ #if: {{{project|}}} || [[Category:{{ #if: trim | {{{1}}} }}/{{ #var: $lang }}{{ #if: {{{sort|}}} | {{!}}{{{sort|}}} }}]] }}
| [[Category:{{ #if: trim | {{{1}}} }}{{#if:{{{sort|}}}|{{!}}{{{sort|}}}}}]]
}}</includeonly><noinclude>
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
