Шаблон:Languages/Lang: различия между версиями
Перейти к навигации
Перейти к поиску
Karaby (обсуждение | вклад) мНет описания правки Метка: отменено |
Karaby (обсуждение | вклад) мНет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
{{#ifexist: {{#if:{{{2|}}}|{{{2}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}/{{{1|}}} | {{#ifexist: {{#if:{{{2|}}}|{{{2}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}/{{{1|}}} | ||
| • <bdi lang="{{{1|}}}">{{#if:{{{2|}}} | | • <bdi lang="{{{1|}}}">{{#if:{{{2|}}} | ||
Версия от 06:25, 9 июля 2025
Template
This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.
Usage
This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:
- Language code (e.g. fr)
- (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.
This template should not be used anywhere except in the Languages template.
TemplateData
Нет описания.
| Параметр | Описание | Тип | Статус | |
|---|---|---|---|---|
| Language code | 1 | The ISO 639 language code | Строковый (без форматирования) | обязательный |
| Page Name | 2 | The page name for which to generate the languages list
| Имя страницы | предложенный |