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

Материал из Old-Games.RU Wiki
Перейти к навигации Перейти к поиску
(Создана новая страница размером == Template == <onlyinclude><div class="LanguageLinks"> <table width="100%"> <tr valign="top" style="background: #EEF3E2"> <td style="wid...)
 
Строка 4: Строка 4:
 
<table width="100%">
 
<table width="100%">
 
<tr valign="top" style="background: #EEF3E2">
 
<tr valign="top" style="background: #EEF3E2">
<td style="width: 25px; padding-left: 0.5em;">[[Image:Geographylogo.png|25px|Languages|link=]]</td>
+
<td style="white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''{{Languages/Title|{{SUBPAGENAME}}}}'''&nbsp;</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;">'''[[Project:Language policy|{{Languages/Title|{{SUBPAGENAME}}}}]]'''&nbsp;</td><td style="width: 99%; padding: 1px 1em 0; background: #F6F9ED;">
 
 
'''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]'''
 
'''[[{{{1|:{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]]'''
 
{{Languages/Lang|af|{{{1|}}}}}
 
{{Languages/Lang|af|{{{1|}}}}}

Версия 12:34, 9 ноября 2009

Template

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}}).