Template:Translation category

From The Blockheads Wiki
Revision as of 14:54, 6 August 2024 by FloofyPlasma (talk | contribs) (Created page with "<includeonly>{{ #vardefine: $lang-list | {{ #dplreplace: / ar / ca / cz / da / dk / 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}}}}/ }} |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [refresh]Documentation

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.

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Translation category/doc.