83,675
edits
Hoof Hearted (talk | contribs) m (Hoof Hearted moved page WikiIndex:Magic Words to WikiIndex:Magic words over redirect: grammar) |
Hoof Hearted (talk | contribs) (update article) |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
==EN== | ==EN== | ||
'''Magic words''' can be used to substitute in certain interesting values into a page display. | '''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}} | {{for|a complete documentation|mw:Help:Magic words}} | ||
==FR== | ==FR== | ||
Les ''' | 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}} | {{for|voir aussi en anglais|mw:Help:Magic words}} | ||
==Magic | ==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}} | ||
Line 50: | Line 56: | ||
</pre> | </pre> | ||
==Calendar | ==Calendar magic words / mots magiques calendrier== | ||
* Current | * Current month = {{CURRENTMONTH}} | ||
<pre> | <pre>{{CURRENTMONTH}}</pre> | ||
{{CURRENTMONTH}} | * Current month name = {{CURRENTMONTHNAME}} | ||
</pre> | <pre>{{CURRENTMONTHNAME}}</pre> | ||
* Current | * Current day = {{CURRENTDAY}} | ||
<pre> | <pre>{{CURRENTDAY}}</pre> | ||
{{CURRENTMONTHNAME}} | * Current day name = {{CURRENTDAYNAME}} | ||
</pre> | <pre>{{CURRENTDAYNAME}}</pre> | ||
* Current | * Current year = {{CURRENTYEAR}} | ||
<pre> | <pre>{{CURRENTYEAR}}</pre> | ||
{{CURRENTDAY}} | * Current time (UTC) = {{CURRENTTIME}} | ||
</pre> | <pre>{{CURRENTTIME}}</pre> | ||
* Current | * Current month name gen = {{CURRENTMONTHNAMEGEN}} | ||
<pre> | <pre>{{CURRENTMONTHNAMEGEN}}</pre> | ||
{{CURRENTDAYNAME}} | * Current week = {{CURRENTWEEK}} | ||
</pre> | <pre>{{CURRENTWEEK}}</pre> | ||
* Current | * Current day of week = {{CURRENTDOW}} | ||
<pre> | <pre>{{CURRENTDOW}}</pre> | ||
{{CURRENTYEAR}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTTIME}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTMONTHNAMEGEN}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTWEEK}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTDOW}} | |||
</pre> | |||
==Location | ==Location magic words / Repérer des mots magiques== | ||
*Page | *Page name* = {{PAGENAME}} | ||
*Namespace* = {{NAMESPACE}} | *Namespace* = {{NAMESPACE}} | ||
*Site | *Site name* = {{SITENAME}} | ||
*Talk | *Talk space* = {{TALKSPACE}} | ||
*Subject | *Subject space* = (only for talk pages, would produce the page it is talk page to) | ||
*Server = {{SERVER}} | *Server = {{SERVER}} | ||
*Localurl*: ''page name'' = {{localurl:WikiIndex:Magic Words}} | *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 | *Page name E = {{PAGENAMEE}} | ||
[[Category:WikiIndex|Magic Words]] | [[Category:WikiIndex|Magic Words]] |
edits