Terraria Wiki

ПОДРОБНЕЕ

Terraria Wiki
Advertisement
Terraria Wiki
1548
страниц

This template is roughly an i18n-ready version of [[Category:]]

Usage

{{category|<catetext(english)>|<key (optional)>|lang=<langcode (optional)>}}

catetext will be localized, and key won't.

This template will try to localize catetext by following steps:

  1. If it is a language within main wiki (e.g. it, es, ...), catetext will be appended language suffix. e.g: Biomes -> Biomes/es.
  2. If it is a language with its own wiki:
    1. catetext will be translated according to the glossary defined in the Template:category/db-<lang>.
    2. If there is no definition in the the glossary, it will be translated via {{tr}}.


Advertisement