Bureaucrats, checkuser, Interface administrators, interwiki, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), staff, Suppressors, Administrators
83,693
edits
No edit summary |
Hoof Hearted (talk | contribs) m (Text replacement - "{{TOCright}}" to "{{TOC right}}") |
||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
'''Magic words''' can be used to substitute in certain interesting values into a page display. | {{TOC right}} | ||
==EN== | |||
'''Magic words''' can be used as a shortcut to substitute in certain interesting values into a page display. | |||
{{for|a complete documentation|mw:Help:Magic words}} | |||
== | ==FR== | ||
Les '''mots magiques''' peuvent être utilisés pour substituer certaines valeurs intéressantes à l'intérieur d'un affichage de page. | |||
{{for|voir aussi en anglais|mw:Help:Magic words}} | |||
==Magic word list / liste de mots magiques== | |||
;Examples | |||
*Number of articles = {{NUMBEROFARTICLES}} | |||
<pre>{{NUMBEROFARTICLES}}</pre> | |||
*Current user = {{CURRENTUSER}} | |||
<pre>{{CURRENTUSER}}</pre> | |||
;List | |||
<pre> | <pre> | ||
{{REDIRECT}} | {{REDIRECT}} | ||
__NOTOC__ | __NOTOC__ | ||
{{START} | {{START}} | ||
{{NUMBEROFARTICLES}} | {{NUMBEROFARTICLES}} | ||
{{CURRENTMONTHNAMEGEN}} | {{CURRENTMONTHNAMEGEN}} | ||
| Line 44: | Line 56: | ||
</pre> | </pre> | ||
==Calendar | ==Calendar magic words / mots magiques calendrier== | ||
* Current month = {{CURRENTMONTH}} | |||
<pre>{{CURRENTMONTH}}</pre> | |||
* Current month name = {{CURRENTMONTHNAME}} | |||
<pre>{{CURRENTMONTHNAME}}</pre> | |||
* Current day = {{CURRENTDAY}} | |||
<pre>{{CURRENTDAY}}</pre> | |||
* Current day name = {{CURRENTDAYNAME}} | |||
<pre>{{CURRENTDAYNAME}}</pre> | |||
* Current year = {{CURRENTYEAR}} | |||
<pre>{{CURRENTYEAR}}</pre> | |||
* Current time (UTC) = {{CURRENTTIME}} | |||
<pre>{{CURRENTTIME}}</pre> | |||
* Current month name gen = {{CURRENTMONTHNAMEGEN}} | |||
<pre>{{CURRENTMONTHNAMEGEN}}</pre> | |||
* Current week = {{CURRENTWEEK}} | |||
<pre>{{CURRENTWEEK}}</pre> | |||
* Current day of week = {{CURRENTDOW}} | |||
<pre>{{CURRENTDOW}}</pre> | |||
==Location magic words / Repérer des mots magiques== | |||
*Page name* = {{PAGENAME}} | |||
*Namespace* = {{NAMESPACE}} | |||
*Site name* = {{SITENAME}} | |||
*Talk space* = {{TALKSPACE}} | |||
*Subject space* = (only for talk pages, would produce the page it is talk page to) | |||
*Server = {{SERVER}} | |||
*Localurl*: ''page name'' = {{localurl:WikiIndex:Magic Words}} | |||
* Page | |||
* Namespace* = {{NAMESPACE}} | |||
* Site | |||
* Talk | |||
* Subject | |||
* Server = {{SERVER}} | |||
* Localurl*: ''page name'' = {{localurl:WikiIndex:Magic Words}} | |||
<nowiki>*</nowiki> The letter E can be added in the end of these magic words to render spaces as underscores. | <nowiki>*</nowiki> The letter E can be added in the end of these magic words to render spaces as underscores. | ||
*Page name E = {{PAGENAMEE}} | |||
[[ | [[Category:WikiIndex|Magic Words]] | ||
[[ | [[Category:Glossary]] | ||
edits