Template:Path
Revision as of 09:36, 4 September 2024 by Bumsakalaka (talk | contribs)
Description
Create link to WiCa page with adding proper language code to links depends on language of current page. If requested language is English, then original path is included.
Usage
Instead of [[Hans_im_Gluck/de|HiG]]
use [[{{Path|Hans_im_Gluck}}|HiG]]
. This helps translators to not care about links.
Params
path
or1st
. Required. Wiki pagelang
or2nd
. Optional. If set, link will use requested language code instead of current page language.
Examples
Code | Output |
---|---|
{{Path|Hans_im_Gluck}} |
Hans_im_Gluck |
{{Path|Hans_im_Gluck|de}} |
Hans_im_Gluck/de |
{{Path|:Category:Editor Manual}} |
:Category:Editor Manual |