Template:Translation category: Difference between revisions

m 22 revisions imported
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{ #vardefine: $lang-list | {{ #dplreplace:
<includeonly>
/ ar
[[Category:{{ #if: trim | {{{1}}} }}{{#if:{{{sort|}}}|{{!}}{{{sort|}}}}}]]
/ ca / cz
</includeonly>
/ da / dk
<noinclude>
/ 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}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->