Шаблон:Languages/Lang: различия между версиями

Материал из Буквицы
Перейти к навигации Перейти к поиску
мНет описания правки
Метка: отменено
мНет описания правки
Метка: отменено
Строка 1: Строка 1:
{{#ifexist: {{{2}}}/{{{1|}}}
<!-- {{#ifexist: {{{2}}}/{{{1|}}}
|&nbsp;• <bdi lang="{{{1|}}}">[[:{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]</bdi>
|&nbsp;• <bdi lang="{{{1|}}}">[[:{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]</bdi>
}}<noinclude>
}}<noinclude>
{{Documentation}}
</noinclude> -->
{{#ifexist: {{#if:{{{2|}}}|{{{2}}}|{{NAMESPACE}}:{{BASEPAGENAME}}}}/{{{1|}}}
|&nbsp;• <bdi lang="{{{1|}}}">{{#if:{{{2|}}}
  |[[:{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]]
  |[[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1|}}}|{{#language:{{{1|}}}}}]]
  }}</bdi>
}}
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Версия от 06:24, 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

Шаблон:TemplateData header

Нет описания.

Параметры шаблона[Править данные шаблона]

ПараметрОписаниеТипСтатус
Language code1

The ISO 639 language code

Строковый (без форматирования)обязательный
Page Name2

The page name for which to generate the languages list

По умолчанию
{{translatable}}
Имя страницыпредложенный

Шаблон:Sandbox other