|
|
| (4 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{ #vardefine: $lang-list | {{ #dplreplace: | | <includeonly> |
| /
| | [[Category:{{ #if: trim | {{{1}}} }}{{#if:{{{sort|}}}|{{!}}{{{sort|}}}}}]] |
| |[\n ]}}<!-- trim whitespace to maintain "switch" feel -->
| | </includeonly> |
| }}{{ #vardefine: $lang | {{
| | <noinclude> |
| #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 --> |