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}}") |
||
| (33 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{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__ | |||
{{START}} | {{START}} | ||
{{NUMBEROFARTICLES}} | {{NUMBEROFARTICLES}} | ||
{{CURRENTMONTHNAMEGEN}} | {{CURRENTMONTHNAMEGEN}} | ||
| Line 23: | Line 33: | ||
{{IMG_CENTER}} | {{IMG_CENTER}} | ||
{{INT}} | {{INT}} | ||
__FORCETOC__ | |||
{{SITENAME}} | {{SITENAME}} | ||
{{NS}} | {{NS}} | ||
| Line 33: | Line 43: | ||
{{PAGENAMEE}} | {{PAGENAMEE}} | ||
{{NAMESPACE}} | {{NAMESPACE}} | ||
{{ | {{NAMESPACEE}} | ||
{{TALKSPACE}} | |||
{{TALKSPACEE}} | |||
{{SUBJECTSPACE}} | |||
{{SUBJECTSPACEE}} | |||
__TOC__ | |||
{{GRAMMAR}} | {{GRAMMAR}} | ||
{{NOTITLECONVERT}} | {{NOTITLECONVERT}} | ||
| Line 41: | Line 56: | ||
</pre> | </pre> | ||
*{{CURRENTMONTH}} | ==Calendar magic words / mots magiques calendrier== | ||
*{{CURRENTMONTHNAME}} | * Current month = {{CURRENTMONTH}} | ||
*{{CURRENTDAY}} | <pre>{{CURRENTMONTH}}</pre> | ||
*{{CURRENTDAYNAME}} | * Current month name = {{CURRENTMONTHNAME}} | ||
*{{CURRENTYEAR}} | <pre>{{CURRENTMONTHNAME}}</pre> | ||
*{{CURRENTTIME}} | * Current day = {{CURRENTDAY}} | ||
*{{ | <pre>{{CURRENTDAY}}</pre> | ||
* Current day name = {{CURRENTDAYNAME}} | |||
*{{CURRENTWEEK}} | <pre>{{CURRENTDAYNAME}}</pre> | ||
*{{CURRENTDOW}} | * 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}} | |||
<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