Template:Lowercase title/doc: Difference between revisions

m
change source to syntaxhighlight
(with rr64 here. if you think your changes should stick, please comment on the talk page)
m (change source to syntaxhighlight)
Line 30:
This template wraps the [[Help:Magic words|magic word]] DISPLAYTITLE so that it works automatically in any namespace (main, talk, template, etc.) to decapitalise the first letter of the name of a page it is transcluded on.
 
<sourcesyntaxhighlight lang=sql>
/* Page using a lowercase title, with or without {{lowercase}} */
SELECT page_title, pp_value AS displaytitle
Line 38:
AND CONVERT(pp_value USING utf8mb4) COLLATE utf8mb4_bin /* &#greek; */
REGEXP "^([_ :]+|<[^<>]+>)*([[:lower:]]|&#9[4-6][0-9];)"
</syntaxhighlight>
</source>
 
== See also ==
Anonymous user