Jump to content

Template:If lang: Difference between revisions

From Deadlock Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch:{{SUBPAGENAME}}
{{#switch:{{SUBPAGENAME}}
|cs|de|es|es-419|fr|it|ko|pl|pt-br|ru|tr|uk|zh-hans|zh-hant = {{{2|{{{non-en|{{{lang|/{{SUBPAGENAME}}}}}}}}}}}
|es|ru|tr|zh-hans|zh-hant = {{{2|{{{non-en|{{{lang|/{{SUBPAGENAME}}}}}}}}}}}
| #default = {{{1|{{{en|}}}}}}
| #default = {{{1|{{{en|}}}}}}
}}
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 01:29, 25 January 2025

Template documentation [view] [edit] [history] [purge]

Usage

This template allows language-specific links, useful for templates.

Code English page result Language page result (ru)
[[Abrams{{if lang}}]] Abrams Abrams/ru