Jump to content

සැකිල්ල:pagename/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:pagename. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is to be used in place of {{PAGENAME}} and {{SUBPAGENAME}}. It produces the logical pagename of the current entry, that is, the underlying pagename free of the special transformations applied to unsupported titles and mammoth pages (pages such as a that are split into subpages due to their size). The built-in MediaWiki parser function {{PAGENAME}} produces the physical pagename, which includes those transformations and also has HTML-encoding of certain punctuation characters, making it unsuitable for passing directly to {{urlencode:}}.

In namespaces other than the mainspace, {{pagename}} produces the subpage, i.e. the pagename after the final slash if there is such a slash, and without the namespace prefix.

For example, {{pagename}} will return a on all of the following pages:

On the Unsupported titles/¯\`lowbar`(ツ)`lowbar`/¯ page, {{pagename}} returns ¯\_(ツ)_/¯, the true name of the entry. Likewise, on Unsupported titles/Space, it returns  (a space). However, on Unsupported titles/church ruins symbol, it returns church ruins symbol, as no Unicode character is available.

"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:pagename/documentation&oldid=227147" වෙතින් සම්ප්‍රවේශනය කෙරිණි