Template:Translation category/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m 9 revisions imported |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{documentation header}} | {{documentation header}} | ||
<!-- Documentation here --> | <!-- Documentation here --> | ||
This template is used to add a category to a template that automatically uses the translation project category for a translation project. | This template is used to add a category to a template that automatically uses the translation project category for a translation project. Note that this template is useless if you do not have translation projects, so any calls in other templates can be replaced with a direct category link. | ||
== Usage == | == Usage == | ||
Line 7: | Line 7: | ||
{{p|1}} can be set to the name of the category. It is used directly on main pages, and {{p|1}}<code>/''lang''</code> is used on translation projects. | {{p|1}} can be set to the name of the category. It is used directly on main pages, and {{p|1}}<code>/''lang''</code> is used on translation projects. | ||
If {{p|project}} | If {{p|project}} has a value, it won't add a category on the translation project pages. | ||
<includeonly> | <includeonly> | ||
<!-- Template categories/interwiki here --> | <!-- Template categories/interwiki here --> | ||
[[Category:Meta templates]] | [[Category:Meta templates]] | ||
[[cs:Šablona:Translation category]] | |||
[[ja:テンプレート:Translation category]] | |||
[[th:แม่แบบ:Translation category]] | |||
[[uk:Шаблон:Категорія перекладу]] | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
<!-- Documentation categories/interwiki here --> | <!-- Documentation categories/interwiki here --> | ||
[[th:แม่แบบ:Translation category/doc]] | |||
[[uk:Шаблон:Категорія перекладу/док]] | |||
</noinclude> | </noinclude> |
Latest revision as of 09:20, 4 July 2024
[refresh]
This is the documentation page. It should be transcluded into Template:Translation category. See Template:Documentation for more information.This template is used to add a category to a template that automatically uses the translation project category for a translation project. Note that this template is useless if you do not have translation projects, so any calls in other templates can be replaced with a direct category link.
Usage
|1=
can be set to the name of the category. It is used directly on main pages, and |1=
/lang
is used on translation projects.
If |project=
has a value, it won't add a category on the translation project pages.
th:แม่แบบ:Translation category/doc uk:Шаблон:Категорія перекладу/док