WikiIndex:Magic words: Difference between revisions

Jump to navigation Jump to search
update article
m (Hoof Hearted moved page WikiIndex:Magic Words to WikiIndex:Magic words over redirect: grammar)
(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 '''Mots Magiques''' peuvent être utilisés pour substituer certaines valeurs intéressantes à l'intérieur d'un affichage de page.
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 Word list / liste de Mots Magiques==
==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 Magic Words / Mots Magiques Calendrier==
==Calendar magic words / mots magiques calendrier==
* Current Month = {{CURRENTMONTH}}
* Current month = {{CURRENTMONTH}}
<pre>
<pre>{{CURRENTMONTH}}</pre>
{{CURRENTMONTH}}
* Current month name = {{CURRENTMONTHNAME}}
</pre>
<pre>{{CURRENTMONTHNAME}}</pre>
* Current Month Name = {{CURRENTMONTHNAME}}
* Current day = {{CURRENTDAY}}
<pre>
<pre>{{CURRENTDAY}}</pre>
{{CURRENTMONTHNAME}}
* Current day name = {{CURRENTDAYNAME}}
</pre>
<pre>{{CURRENTDAYNAME}}</pre>
* Current Day = {{CURRENTDAY}}
* Current year = {{CURRENTYEAR}}
<pre>
<pre>{{CURRENTYEAR}}</pre>
{{CURRENTDAY}}
* Current time (UTC) = {{CURRENTTIME}}
</pre>
<pre>{{CURRENTTIME}}</pre>
* Current Day Name = {{CURRENTDAYNAME}}
* Current month name gen = {{CURRENTMONTHNAMEGEN}}
<pre>
<pre>{{CURRENTMONTHNAMEGEN}}</pre>
{{CURRENTDAYNAME}}
* Current week = {{CURRENTWEEK}}
</pre>
<pre>{{CURRENTWEEK}}</pre>
* Current Year = {{CURRENTYEAR}}
* Current day of week = {{CURRENTDOW}}
<pre>
<pre>{{CURRENTDOW}}</pre>
{{CURRENTYEAR}}
</pre>
* Current Time = {{CURRENTTIME}}
<pre>
{{CURRENTTIME}}
</pre>
* Number of Articles = {{NUMBEROFARTICLES}}
<pre>
{{NUMBEROFARTICLES}}
</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==
==Location magic words / Repérer des mots magiques==
*Page Name* = {{PAGENAME}}
*Page name* = {{PAGENAME}}
*Namespace* = {{NAMESPACE}}
*Namespace* = {{NAMESPACE}}
*Site Name* = {{SITENAME}}
*Site name* = {{SITENAME}}
*Talk Space* = {{TALKSPACE}}
*Talk space* = {{TALKSPACE}}
*Subject Space* = (only for talk pages, would produce the page it is talk page to)
*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 Name E = {{PAGENAMEE}}
*Page name E = {{PAGENAMEE}}


[[Category:WikiIndex|Magic Words]]
[[Category:WikiIndex|Magic Words]]

Navigation menu