Template:Translation category: Difference between revisions

m add a nocat parameter to replace the category with a link for the sake of the doc
No edit summary
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<includeonly>{{
<includeonly>
#switch: {{#titleparts: {{PAGENAME}} | | -1 }}
[[Category:{{ #if: trim | {{{1}}} }}{{#if:{{{sort|}}}|{{!}}{{{sort|}}}}}]]
| ar
</includeonly>
| ca | cz
<noinclude>
| dk
| el | eo | et
| fa | fin
| ga
| he | hr
| id
| lv | lt
| moh
| no
| pt | ph
| ro
| sr | sk | se
| th | tr
| ua
| vi
| yi = [[{{#if: {{{nocat|}}}|:}}Category:{{{1}}}/{{#titleparts: {{PAGENAME}} | | -1 }}]]
| #default = [[{{#if: {{{nocat|}}}|:}}Category:{{{1}}}]]
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
<!-- Put categories/interwiki on the documentation page -->