Шаблон:Languages/en: различия между версиями
Перейти к навигации
Перейти к поиску
SAS (обсуждение | вклад) (Создана новая страница размером == Template == <onlyinclude><div class="LanguageLinks"> <table width="100%"> <tr valign="top" style="background: #EEF3E2"> <td style="whi...) |
|||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 5: | Строка 5: | ||
<tr valign="top" style="background: #EEF3E2"> | <tr valign="top" style="background: #EEF3E2"> | ||
<td style="white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''{{Languages/Title|{{SUBPAGENAME}}}}''' </td><td style="width: 99%; padding: 1px 1em 0; background: #F6F9ED;"> | <td style="white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''{{Languages/Title|{{SUBPAGENAME}}}}''' </td><td style="width: 99%; padding: 1px 1em 0; background: #F6F9ED;"> | ||
− | '''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}| | + | '''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]''' |
{{Languages/Lang|af|{{{1|}}}}} | {{Languages/Lang|af|{{{1|}}}}} | ||
{{Languages/Lang|ar|{{{1|}}}}} | {{Languages/Lang|ar|{{{1|}}}}} | ||
Строка 18: | Строка 18: | ||
{{Languages/Lang|el|{{{1|}}}}} | {{Languages/Lang|el|{{{1|}}}}} | ||
{{Languages/Lang|es|{{{1|}}}}} | {{Languages/Lang|es|{{{1|}}}}} | ||
− | |||
{{Languages/Lang|fa|{{{1|}}}}} | {{Languages/Lang|fa|{{{1|}}}}} | ||
{{Languages/Lang|fi|{{{1|}}}}} | {{Languages/Lang|fi|{{{1|}}}}} | ||
Строка 41: | Строка 40: | ||
{{Languages/Lang|pt|{{{1|}}}}} | {{Languages/Lang|pt|{{{1|}}}}} | ||
{{Languages/Lang|ro|{{{1|}}}}} | {{Languages/Lang|ro|{{{1|}}}}} | ||
+ | {{Languages/Lang|ru|{{{1|}}}}} | ||
{{Languages/Lang|si|{{{1|}}}}} | {{Languages/Lang|si|{{{1|}}}}} | ||
{{Languages/Lang|sk|{{{1|}}}}} | {{Languages/Lang|sk|{{{1|}}}}} | ||
Строка 61: | Строка 61: | ||
<nowiki>{{Languages|PageName}}</nowiki> | <nowiki>{{Languages|PageName}}</nowiki> | ||
− | * '''PageName''' (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on [[MediaWiki/fr]] you would need to use <code><nowiki>{{Languages|MediaWiki}}</nowiki></code> and not <code><nowiki>{{Languages|MediaWiki/fr}}</nowiki></code>). | + | * '''PageName''' (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on [[MediaWiki/fr]] you would need to use <code><nowiki>{{Languages|MediaWiki}}</nowiki></code> and not <code><nowiki>{{Languages|MediaWiki/fr}}</nowiki></code>).<noinclude>[[Категория:Шаблоны]]</noinclude> |
Текущая версия на 21:43, 7 октября 2011
Template
Language: |
Syntax
{{Languages|PageName}}
- PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use
{{Languages|MediaWiki}}
and not{{Languages|MediaWiki/fr}}
).