Template:Translation category/doc: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Created page with "{{documentation header}} <!-- Documentation here --> This template is used to add a category to a template that automatically uses the translation project category for a trans..."
 
m 9 revisions imported
 
(8 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|nocat}} is set, the output will be a link rather than a category link.
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

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[edit source]

|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:Шаблон:Категорія перекладу/док