WikiIndex:Magic words: Difference between revisions

m
Text replacement - "{{TOCright}}" to "{{TOC right}}"
m (tpo)
m (Text replacement - "{{TOCright}}" to "{{TOC right}}")
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''Magic words''' can be used to substitute in certain interesting values into a page display. See also [http://meta.wikimedia.org/wiki/Help:Magic_words 'Magic Words' on Meta]
{{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}}


==Magic Word List==
==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 21: Line 33:
{{IMG_CENTER}}
{{IMG_CENTER}}
{{INT}}
{{INT}}
{{FORCETOC}}
__FORCETOC__
{{SITENAME}}
{{SITENAME}}
{{NS}}
{{NS}}
Line 31: Line 43:
{{PAGENAMEE}}
{{PAGENAMEE}}
{{NAMESPACE}}
{{NAMESPACE}}
{{TOC}}
{{NAMESPACEE}}
{{TALKSPACE}}
{{TALKSPACEE}}
{{SUBJECTSPACE}}
{{SUBJECTSPACEE}}
__TOC__
{{GRAMMAR}}
{{GRAMMAR}}
{{NOTITLECONVERT}}
{{NOTITLECONVERT}}
Line 38: Line 55:
{{CURRENTDOW}}
{{CURRENTDOW}}
</pre>
</pre>
==Calendar Magic Words==


* Current Month = {{CURRENTMONTH}}
==Calendar magic words / mots magiques calendrier==
<pre>
* Current month = {{CURRENTMONTH}}
{{CURRENTMONTH}}
<pre>{{CURRENTMONTH}}</pre>
</pre>
* Current month name = {{CURRENTMONTHNAME}}
* Current Month Name = {{CURRENTMONTHNAME}}
<pre>{{CURRENTMONTHNAME}}</pre>
<pre>
* Current day = {{CURRENTDAY}}
{{CURRENTMONTHNAME}}
<pre>{{CURRENTDAY}}</pre>
</pre>
* Current day name = {{CURRENTDAYNAME}}
* Current Day = {{CURRENTDAY}}
<pre>{{CURRENTDAYNAME}}</pre>
<pre>
* Current year = {{CURRENTYEAR}}
{{CURRENTDAY}}
<pre>{{CURRENTYEAR}}</pre>
</pre>
* Current time (UTC) = {{CURRENTTIME}}
* Current Day Name = {{CURRENTDAYNAME}}
<pre>{{CURRENTTIME}}</pre>
<pre>
* Current month name gen = {{CURRENTMONTHNAMEGEN}}
{{CURRENTDAYNAME}}
<pre>{{CURRENTMONTHNAMEGEN}}</pre>
</pre>
* Current week = {{CURRENTWEEK}}
* Current Year = {{CURRENTYEAR}}
<pre>{{CURRENTWEEK}}</pre>
<pre>
* Current day of week = {{CURRENTDOW}}
{{CURRENTYEAR}}
<pre>{{CURRENTDOW}}</pre>
</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==


* Page Name = {{PAGENAME}}
==Location magic words / Repérer des mots magiques==
* Page Name E = {{PAGENAMEE}}
*Page name* = {{PAGENAME}}
* Namespace = {{NAMESPACE}}
*Namespace* = {{NAMESPACE}}
* Site Name = {{SITENAME}}
*Site name* = {{SITENAME}}
* Server = {{SERVER}}
*Talk space* = {{TALKSPACE}}
* Localurl = {{LOCALURL}}
*Subject space* = (only for talk pages, would produce the page it is talk page to)
* Localurle = {{LOCALURLE}}
*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]]
[[Category:WikiIndex|Magic Words]]
[[Category:Glossary]]