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

Материал из rock63.ru
Перейти к: навигация, поиск
(Новая страница: «<span style="display:none">{{DISPLAYTITLE:{{translatable}}}}</span><noinclude>{{doc-inline}} This template makes the first letter in a page's title appear lowerca…»)
 
 
Строка 1: Строка 1:
<span style="display:none">{{DISPLAYTITLE:{{translatable}}}}</span><noinclude>{{doc-inline}}
+
<span style="display:none">{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lcfirst:{{PAGENAME}}}}}}</span><noinclude>{{doc-inline}}
This template makes the first letter in a page's title appear lowercase (MediaWiki otherwise forces titles to start with an uppercase letter).
+
This template makes the first letter in a page’s title appear lowercase (MediaWiki otherwise forces titles to start with an uppercase letter).
  
==Usage==
+
== Usage ==
 
Just include it in the article:
 
Just include it in the article:
 
  <nowiki>{{lowercase}}</nowiki>
 
  <nowiki>{{lowercase}}</nowiki>
  
==Dependencies==
+
== Dependencies ==
This Template requires the [[Extension:ParserFunctions]] to work.
+
This Template requires the ParserFunctions to work.
 
{{doc-end}}</noinclude>
 
{{doc-end}}</noinclude>

Текущая версия на 23:29, 30 июля 2017

This template makes the first letter in a page’s title appear lowercase (MediaWiki otherwise forces titles to start with an uppercase letter).

Usage[править]

Just include it in the article:

{{lowercase}}

Dependencies[править]

This Template requires the ParserFunctions to work.