https://evoecu.logic.net/index.php?title=Help:Magic_words&feed=atom&action=historyHelp:Magic words - Revision history2024-03-28T15:49:50ZRevision history for this page on the wikiMediaWiki 1.34.4https://evoecu.logic.net/index.php?title=Help:Magic_words&diff=98&oldid=prevEdwardMarshall: 1 revision2008-07-29T18:30:37Z<p>1 revision</p>
<p><b>New page</b></p><div>{{PD Help Page}}<br />
<br />
'''Magic words''' are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names. This page is about usage of standard magic words; for a technical reference, see {{mediawiki|Manual:Magic words}}.<br />
<br />
==General notes==<br />
* '''Inheritance:''' page-dependent magic words will affect or return data about the current page, regardless of whether it is in the page code or a transcluded template.<br />
<br />
==Behaviour switches==<br />
A behaviour switch controls the layout of the page. They are written as a magic word wrapped with double underscores.<br />
<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Word<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
|{{Hl3}} colspan="3"| '''Table of contents'''<br />
|-<br />
| <nowiki>__NOTOC__</nowiki><br />
| Hides the table of contents (TOC).<br />
|<br />
|-<br />
|<nowiki>__FORCETOC__</nowiki><br />
| Forces the table of content to appear at its normal position (above the first header).<br />
|<br />
|-<br />
| <nowiki>__TOC__</nowiki><br />
| Places a table of contents at the word's current position (overriding <nowiki>__NOTOC__</nowiki>). If this is used multiple times, the table of contents will appear at the first word's position.<br />
|<br />
|-<br />
|{{Hl3}} colspan="3"| '''Editing'''<br />
|-<br />
| <nowiki>__NOEDITSECTION__</nowiki><br />
| Hides the section edit links beside headings.<br />
|<br />
|-<br />
| <nowiki>__NEWSECTIONLINK__</nowiki><br />
| Adds a link (([[MediaWiki:Addsection|"+" by default]]) beside the "edit" tab for adding a new section on a non-talk page (see {{mediawiki|m:Help:Section#Adding a section at the end}}).<br />
| 1.7+<br />
|-<br />
|{{Hl3}} colspan="3"| '''Categories'''<br />
|-<br />
| <nowiki>__NOGALLERY__</nowiki><br />
| Used on a category page, replaces thumbnails in the category view with normal links.<br />
| 1.7+<br />
|-<br />
| <nowiki>__HIDDENCAT__</nowiki><br />
| Used on a category page, hides the category from the lists of categories in its members and parent categories (there is an option in the [[Help:Preferences|user preferences]] to show them).<br />
| 1.13+<br />
|-<br />
|{{Hl3}} colspan="3"| '''Language conversion'''<br />
|-<br />
| <nowiki>__NOCONTENTCONVERT__</nowiki><br /><nowiki>__NOCC__</nowiki><br />
| On wikis with language variants, don't perform any content language conversion (character and phase) in article display; for example, only show Chinese (zh) instead of variants like zh_cn, zh_tw, zh_sg, or zh_hk.<br />
|<br />
|-<br />
| <nowiki>__NOTITLECONVERT__</nowiki><br /><nowiki>__NOTC__</nowiki><br />
| On wikis with language variants, don't perform language conversion on the title (all other content is converted).<br />
|<br />
|-<br />
|{{Hl3}} colspan="3"| '''Other'''<br />
|-<br />
| <nowiki>__END__</nowiki><br />
| Explicitly marks the end of the article, to prevent MediaWiki from removing trailing whitespace. Removed in {{mediawiki|rev:19213|19213}}.<br />
|<br />
|-<br />
| <nowiki>__START__</nowiki><br />
| No effect.<br />
|<br />
|}<br />
<br />
==Variables and parser functions==<br />
Variables return information about the current page, wiki, or date. Their syntax is similar to [[Help:Templates|templates]], but capitalized to help avoid conflicts. If a template has the same name and case as a variable, the variable will be used. Usage of the template can be forced by adding the "msg:" modifier (for example, "<code><nowiki>{{msg:CURRENTYEAR}}</nowiki></code>"). In some cases, adding parameters will force the parser to treat a variable as a template; for example, <code><nowiki>{{CURRENTDAYNAME|x}}</nowiki></code> tries to transclude "Template:CURRENTDAYNAME".<br />
<br />
Parser functions are very similar to variables, but operate on user input instead of the current page. The first parameter is delimited by a colon (:) instead of a pipe (|). (This page does not document custom parser functions added by the {{mediawiki|Extension:ParserFunctions|ParserFunctions extension}}.)<br />
<br />
===Date & time===<br />
The following variables return the current date and time according to the user's timezone [[Special:Preferences|preferences]], defaulting to the UTC timezone.<br />
<br />
Due to MediaWiki and browser caching, these variables frequently show when the page was ''cached'' rather than the current time.<br />
<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
|{{Hl3}} colspan="4"| '''Year'''<br />
|-<br />
| <nowiki>{{CURRENTYEAR}}</nowiki><br />
| {{CURRENTYEAR}}<br />
| Year<br />
|<br />
|-<br />
|{{Hl3}} colspan="4"| '''Month'''<br />
|-<br />
| <nowiki>{{CURRENTMONTH}}</nowiki> <br />
| {{CURRENTMONTH}}<br />
| Month (zero-padded number)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTMONTHNAME}}</nowiki><br />
| {{CURRENTMONTHNAME}}<br />
| Month (name)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki><br />
| {{CURRENTMONTHNAMEGEN}}<br />
| Month ([http://en.wikipedia.org/wiki/genitive genitive form])<br />
|<br />
|-<br />
| <nowiki>{{CURRENTMONTHABBREV}}</nowiki><br />
| {{CURRENTMONTHABBREV}}<br />
| Month (abbreviation)<br />
| 1.5+<br />
|-<br />
|{{Hl3}} colspan="4"| '''Day'''<br />
|-<br />
| <nowiki>{{CURRENTDAY}}</nowiki><br />
| {{CURRENTDAY}}<br />
| Day of the month (unpadded number)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTDAY2}}</nowiki><br />
| {{CURRENTDAY2}}<br />
| Day of the month (zero-padded number)<br />
| 1.6+<br />
|-<br />
| <nowiki>{{CURRENTDOW}}</nowiki><br />
| {{CURRENTDOW}}<br />
| Day of the week (unpadded number)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTDAYNAME}}</nowiki><br />
| {{CURRENTDAYNAME}}<br />
| Day of the week (name)<br />
|<br />
|-<br />
|{{Hl3}} colspan="4"| '''Time'''<br />
|-<br />
| <nowiki>{{CURRENTTIME}}</nowiki><br />
| {{CURRENTTIME}}<br />
| Time (24-hour HH:mm format)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTHOUR}}</nowiki><br />
| {{CURRENTHOUR}}<br />
| Hour (24-hour zero-padded number)<br />
|<br />
|-<br />
|{{Hl3}} colspan="4"| '''Other'''<br />
|-<br />
| <nowiki>{{CURRENTWEEK}}</nowiki><br />
| {{CURRENTWEEK}}<br />
| Week (number)<br />
|<br />
|-<br />
| <nowiki>{{CURRENTTIMESTAMP}}</nowiki><br />
| {{CURRENTTIMESTAMP}}<br />
| [[wikipedia:ISO 8601|ISO 8601]] time stamp<br />
| 1.7+<br />
|}<br />
<br />
The following variables do the same as the above, but using the site's local timezone instead of user preferences and UTC:<br />
* <nowiki>{{LOCALYEAR}}</nowiki><br />
* <nowiki>{{LOCALMONTH}}</nowiki><br />
* <nowiki>{{LOCALMONTHNAME}}</nowiki><br />
* <nowiki>{{LOCALMONTHNAMEGEN}}</nowiki><br />
* <nowiki>{{LOCALMONTHABBREV}}</nowiki><br />
* <nowiki>{{LOCALDAY}}</nowiki><br />
* <nowiki>{{LOCALDAY2}}</nowiki><br />
* <nowiki>{{LOCALDOW}}</nowiki><br />
* <nowiki>{{LOCALDAYNAME}}</nowiki><br />
* <nowiki>{{LOCALTIME}}</nowiki><br />
* <nowiki>{{LOCALHOUR}}</nowiki><br />
* <nowiki>{{LOCALWEEK}}</nowiki><br />
* <nowiki>{{LOCALTIMESTAMP}}</nowiki><br />
<br />
===Technical metadata===<br />
Revision variables return data about the '''latest edit to the current page''', even if viewing an older version of the page.<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
|{{Hl3}} colspan="4"| '''Site'''<br />
|-<br />
| <nowiki>{{SITENAME}}</nowiki><br />
| {{SITENAME}}<br />
| The wiki's site name ({{mediawiki|Manual:$wgSitename|$wgSitename}}).<br />
|<br />
|-<br />
| <nowiki>{{CURRENTVERSION}}</nowiki><br />
| {{CURRENTVERSION}}<br />
| The wiki's MediaWiki version.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{CONTENTLANGUAGE}}</nowiki><br />
| {{CONTENTLANGUAGE}}<br />
| The wiki's default interface language ({{mediawiki|Manual:$wgLanguageCode|$wgLanguageCode}})<br />
|<br />
|-<br />
|{{Hl3}} colspan="4"| '''Latest revision to current page'''<br />
|-<br />
| <nowiki>{{REVISIONID}}</nowiki><br />
| {{REVISIONID}}<br />
| Unique ID<br />
|<br />
|-<br />
| <nowiki>{{REVISIONDAY}}</nowiki><br />
| {{REVISIONDAY}}<br />
| Day edit was made (unpadded number)<br />
|<br />
|-<br />
| <nowiki>{{REVISIONDAY2}}</nowiki><br />
| {{REVISIONDAY2}}<br />
| Day edit was made (zero-padded number)<br />
|<br />
|-<br />
| <nowiki>{{REVISIONMONTH}}</nowiki><br />
| {{REVISIONMONTH}}<br />
| Month edit was made (unpadded number)<br />
|<br />
|-<br />
| <nowiki>{{REVISIONYEAR}}</nowiki><br />
| {{REVISIONYEAR}}<br />
| Year edit was made<br />
|<br />
|-<br />
| <nowiki>{{REVISIONTIMESTAMP}}</nowiki><br />
| {{REVISIONTIMESTAMP}}<br />
| Timestamp as of time of edit<br />
|<br />
|}<br />
<br />
===Statistics===<br />
Numbers returned by these variables contain number separators, but can return raw numbers with the ":R" flag (for example, <code><nowiki>{{NUMBEROFPAGES}}</nowiki></code> = {{NUMBEROFPAGES}} and <code><nowiki>{{NUMBEROFPAGES:R}}</nowiki></code> = {{NUMBEROFPAGES:R}}). Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example <code><nowiki>{{PAGESINCATEGORY:Help}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|R}}</nowiki></code>).<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
|{{Hl3}} colspan="4"| '''Entire wiki'''<br />
|-<br />
| <nowiki>{{NUMBEROFPAGES}}</nowiki><br />
| {{NUMBEROFPAGES}}<br />
| Number of wiki pages.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{NUMBEROFARTICLES}}</nowiki><br />
| {{NUMBEROFARTICLES}}<br />
| Number of pages in main namespace.<br />
|<br />
|-<br />
| <nowiki>{{NUMBEROFFILES}}</nowiki><br />
| {{NUMBEROFFILES}}<br />
| Number of uploaded files.<br />
| 1.5+<br />
|-<br />
| <nowiki>{{NUMBEROFEDITS}}</nowiki><br />
| {{NUMBEROFEDITS}}<br />
| Number of page edits.<br />
| {{mediawiki|rev:21319|1.10+}}<br />
|-<br />
| <nowiki>{{NUMBEROFUSERS}}</nowiki><br />
| {{NUMBEROFUSERS}}<br />
| Number of registered users.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{NUMBEROFADMINS}}</nowiki><br />
| {{NUMBEROFADMINS}}<br />
| Number of users in in the ''sysop'' {{mediawiki|Manual:User rights|group}}.<br />
| 1.7+<br />
|-<br />
|{{Hl3}} colspan="4"| '''Per namespace'''<br />
|-<br />
| <nowiki>{{PAGESINNS:2}}</nowiki><br />
| {{PAGESINNS:2}}<br />
| Number of pages in the given [[Help:Namespaces|namespace]] (replace 2 with the relevant namespace ID). Disabled by default, enable with {{mediawiki|Manual:$wgAllowSlowParserFunctions|$wgAllowSlowParserFunctions}}.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{PAGESINNAMESPACE:2}}</nowiki><br />
| {{PAGESINNAMESPACE:2}}<br />
| Alias for <code><nowiki>{{PAGESINNS}}</nowiki></code>.<br />
| 1.7+<br />
|-<br />
|{{Hl3}} colspan="4"| '''Other'''<br />
|-<br />
| <nowiki>{{PAGESINCATEGORY:Help}}</nowiki><br />
| {{PAGESINCATEGORY:Help}}<br />
| Number of pages in the given [[Help:Categories|category]] (replace "Help" with the relevant category name).<br />
| 1.13+<br />
|-<br />
| <nowiki>{{PAGESINCAT:Help}}</nowiki><br />
| {{PAGESINCAT:Help}}<br />
| Alias for <code><nowiki>{{PAGESINCATEGORY}}</nowiki></code>.<br />
| 1.13+<br />
|-<br />
| <nowiki>{{PAGESIZE:Help:Magic_words}}</nowiki><br />
| {{PAGESIZE:Help:Magic_words}}<br />
| Returns the byte size of the specified page.<br />
| {{mediawiki|rev:33551|1.13+}}<br />
|}<br />
<br />
===URL data===<br />
====URLs====<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
| <nowiki>{{SERVER}}</nowiki><br />
| {{SERVER}}<br />
| domain URL ({{mediawiki|Manual:$wgServer|$wgServer}})<br />
|<br />
|-<br />
| <nowiki>{{SERVERNAME}}</nowiki><br />
| {{SERVERNAME}}<br />
| domain name ({{mediawiki|Manual:$wgServerName|$wgServerName}})<br />
|<br />
|-<br />
| <nowiki>{{SCRIPTPATH}}</nowiki><br />
| {{SCRIPTPATH}}<br />
| relative script path ({{mediawiki|Manual:$wgScriptPath|$wgScriptPath}})<br />
|<br />
|-<br />
| <nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki><br /><nowiki>{{localurl:page name|</nowiki>''query string''<nowiki>}}</nowiki><br />
| {{localurl:page name}}<br />{{localurl:page name|query string}}<br />
| relative path to title<br />
|<br />
|-<br />
| <nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki><br /><nowiki>{{fullurl:page name|</nowiki>''query_string''<nowiki>}}</nowiki><br />
| {{fullurl:page name}}<br />{{fullurl:page name|query_string}}<br />
| absolute path to title<br />
| 1.5+<br />
|-<br />
| <nowiki>{{filepath:Wiki.png}}</nowiki><br />
| {{filepath:Wiki.png}}<br />
| The absolute URL to a media file.<br />
| {{mediawiki|rev:25854|1.12+}}<br />
|-<br />
| <nowiki>{{urlencode:x y z}}</nowiki><br />
| <code>{{urlencode:xyz}}</code><br />
| The input encoded for use in URLs.<br />
| {{mediawiki|rev:14273|1.7+}}<br />
|-<br />
| <nowiki>{{anchorencode:x y z}}</nowiki><br />
| <code>{{anchorencode:x y z}}</code><br />
| The input encoded for use in URL section anchors (after the '#' symbol in a URL).<br />
| {{mediawiki|rev:16279|1.8+}}<br />
|}<br />
<br />
====Page names====<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
| <nowiki>{{FULLPAGENAME}}</nowiki><br />
| {{FULLPAGENAME}}<br />
| Namespace and page title.<br />
|<br />
|-<br />
| <nowiki>{{PAGENAME}}</nowiki><br />
| {{PAGENAME}}<br />
| Page title.<br />
|<br />
|-<br />
| <nowiki>{{BASEPAGENAME}}</nowiki><br />
| {{BASEPAGENAME}}<br />
| Page title excluding the current [[Help:Subpages|subpage]] and namespace ("Title" on "Title/foo").<br />
| 1.7+<br />
|-<br />
| <nowiki>{{SUBPAGENAME}}</nowiki><br />
| {{SUBPAGENAME}}<br />
| The [[Help:Subpages|subpage]] title ("foo" on "Title/foo").<br />
| 1.6+<br />
|-<br />
| <nowiki>{{SUBJECTPAGENAME}}</nowiki><br />
| {{SUBJECTPAGENAME}}<br />
| The namespace and title of the associated content page.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{TALKPAGENAME}}</nowiki><br />
| {{TALKPAGENAME}}<br />
| The namespace and title of the associated talk page.<br />
| 1.7+<br />
|}<br />
<br />
The following are URL-encoded equivalents:<br />
* <nowiki>{{FULLPAGENAMEE}}</nowiki><br />
* <nowiki>{{PAGENAMEE}}</nowiki><br />
* <nowiki>{{BASEPAGENAMEE}}</nowiki><br />
* <nowiki>{{SUBPAGENAMEE}}</nowiki><br />
* <nowiki>{{SUBJECTPAGENAMEE}}</nowiki><br />
* <nowiki>{{TALKPAGENAMEE}}</nowiki><br />
<br />
====Namespaces====<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Variable<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Versions<br />
|-<br />
| <nowiki>{{NAMESPACE}}</nowiki><br />
| {{NAMESPACE}}<br />
| Namespace (name)<br />
|-<br />
| <nowiki>{{SUBJECTSPACE}}</nowiki><br />
| {{SUBJECTSPACE}}<br />
| Name of the associated content namespace<br />
|-<br />
| <nowiki>{{TALKSPACE}}</nowiki><br />
| {{TALKSPACE}}<br />
| Name of the associated talk namespace<br />
|}<br />
<br />
The following are URL-encoded equivalents:<br />
* <nowiki>{{NAMESPACEE}}</nowiki><br />
* <nowiki>{{SUBJECTSPACEE}}</nowiki><br />
* <nowiki>{{TALKSPACEE}}</nowiki><br />
<br />
<code><nowiki>{{ns:}}</nowiki></code> returns the localized namespace name for that number constant. The default values are:<br />
{| {{prettytable}}<br />
|-<br />
!{{Hl2}}| Usage<br />
!{{Hl2}}| Output<br />
|-<br />
| <nowiki>{{ns:-2}} or {{ns:Media}}</nowiki><br />
| {{ns:-2}}<br />
|-<br />
| <nowiki>{{ns:-1}} or {{ns:Special}}</nowiki><br />
| {{ns:-1}}<br />
|-<br />
| <nowiki>{{ns:0}}</nowiki><br />
| {{ns:0}}<br />
|-<br />
| <nowiki>{{ns:1}} or {{ns:Talk}}</nowiki><br />
| {{ns:1}}<br />
|-<br />
| <nowiki>{{ns:2}} or {{ns:User}}</nowiki><br />
| {{ns:2}}<br />
|-<br />
| <nowiki>{{ns:3}} or {{ns:User_talk}}</nowiki><br />
| {{ns:3}}<br />
|-<br />
| <nowiki>{{ns:4}} or {{ns:Project}}</nowiki><br />
| {{ns:4}}<br />
|-<br />
| <nowiki>{{ns:5}} or {{ns:Project_talk}}</nowiki><br />
| {{ns:5}}<br />
|-<br />
| <nowiki>{{ns:6}} or {{ns:Image}}</nowiki><br />
| {{ns:6}}<br />
|-<br />
| <nowiki>{{ns:7}} or {{ns:Image_talk}}</nowiki><br />
| {{ns:7}}<br />
|-<br />
| <nowiki>{{ns:8}} or {{ns:MediaWiki}}</nowiki><br />
| {{ns:8}}<br />
|-<br />
| <nowiki>{{ns:9}} or {{ns:MediaWiki_talk}}</nowiki><br />
| {{ns:9}}<br />
|-<br />
| <nowiki>{{ns:10}} or {{ns:Template}}</nowiki><br />
| {{ns:10}}<br />
|-<br />
| <nowiki>{{ns:11}} or {{ns:Template_talk}}</nowiki><br />
| {{ns:11}}<br />
|-<br />
| <nowiki>{{ns:12}} or {{ns:Help}}</nowiki><br />
| {{ns:12}}<br />
|-<br />
| <nowiki>{{ns:13}} or {{ns:Help_talk}}</nowiki><br />
| {{ns:13}}<br />
|-<br />
| <nowiki>{{ns:14}} or {{ns:Category}}</nowiki><br />
| {{ns:14}}<br />
|-<br />
| <nowiki>{{ns:15}} or {{ns:Category_talk}}</nowiki><br />
| {{ns:15}}<br />
|}<br />
<br />
===Formatting===<br />
{| {{prettytable}}<br />
!{{Hl2}}| Usage<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Version<br />
|-<br />
|-<br />
| <nowiki>{{lc:XYZ}}</nowiki><br />
| {{lc:XYZ}}<br />
| The lowercase input.<br />
| 1.5+<br />
|-<br />
| <nowiki>{{lcfirst:XYZ}}</nowiki><br />
| {{lcfirst:XYZ}}<br />
| The input with the first character lowercase.<br />
| 1.5+<br />
|-<br />
| <nowiki>{{uc:xyz}}</nowiki><br />
| {{uc:xyz}}<br />
| The uppercase input.<br />
| 1.5+<br />
|-<br />
| <nowiki>{{ucfirst:xyz}}</nowiki><br />
| {{ucfirst:xyz}}<br />
| The input with the first character uppercase.<br />
| 1.5+<br />
|-<br />
| <nowiki>{{formatnum:-987654321.654321}}</nowiki><br />
| {{formatnum:-987654321.654321}}<br />
| The input with decimal and decimal group separators, and localized digit script, according to the wiki's default locale.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{padleft:xyz|5|_}}</nowiki><br /><nowiki>{{padleft:xyz|5}}</nowiki><br />
| {{padleft:xyz|5|_}}<br />{{padleft:xyz|5}}<br />
| The input (first parameter) padded on the left side to the specified width (second parameter) using the specified character (third parameter). If a padding character isn't specified, '0' is used by default.<br />'''bug:''' multibyte characters are interpreted as two characters, which can skew width. These also cannot be used as padding characters.<br />
| 1.8+<br />
|-<br />
| <nowiki>{{padright:xyz|5|_}}</nowiki><br /><nowiki>{{padright:xyz|5}}</nowiki><br />
| {{padright:xyz|5|_}}<br />{{padright:xyz|5}}<br />
| Identical to padleft, but adds padding characters to the right side.<br />
|}<br />
<br />
===Miscellaneous===<br />
{| {{prettytable}}<br />
!{{Hl2}}| Usage<br />
!{{Hl2}}| Output<br />
!{{Hl2}}| Description<br />
!{{Hl2}}| Version<br />
|-<br />
| <nowiki>{{#language:eo}}</nowiki> <br />
| {{#language:eo}}<br />
| The native name for the given language code.<br />
| 1.7+<br />
|-<br />
| <nowiki>{{#special:userlogin}}</nowiki><br />
| {{#special:userlogin}}<br />
| The localized name for the given canonical Special: page.<br />
| {{mediawiki|rev:17321|1.9+}}<br />
|}<br />
<br />
{{Languages|Help:Variables}}<br />
<br />
[[Category:Help|{{PAGENAME}}]]<br />
[[Category:Time|{{PAGENAME}}]]<br />
[[Category:Magic words|{{PAGENAME}}]]</div>EdwardMarshall