Bureaucrats, checkuser, Interface administrators, interwiki, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), staff, Suppressors, Administrators
83,693
edits
MarkDilley (talk | contribs) |
Hoof Hearted (talk | contribs) m (Text replacement - "{{TOCright}}" to "{{TOC right}}") |
||
| (17 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
==Magic | {{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 18: | Line 33: | ||
{{IMG_CENTER}} | {{IMG_CENTER}} | ||
{{INT}} | {{INT}} | ||
__FORCETOC__ | |||
{{SITENAME}} | {{SITENAME}} | ||
{{NS}} | {{NS}} | ||
| Line 28: | Line 43: | ||
{{PAGENAMEE}} | {{PAGENAMEE}} | ||
{{NAMESPACE}} | {{NAMESPACE}} | ||
{{ | {{NAMESPACEE}} | ||
{{TALKSPACE}} | |||
{{TALKSPACEE}} | |||
{{SUBJECTSPACE}} | |||
{{SUBJECTSPACEE}} | |||
__TOC__ | |||
{{GRAMMAR}} | {{GRAMMAR}} | ||
{{NOTITLECONVERT}} | {{NOTITLECONVERT}} | ||
| Line 35: | Line 55: | ||
{{CURRENTDOW}} | {{CURRENTDOW}} | ||
</pre> | </pre> | ||
* Current | ==Calendar magic words / mots magiques calendrier== | ||
<pre> | * Current month = {{CURRENTMONTH}} | ||
{{CURRENTMONTH}} | <pre>{{CURRENTMONTH}}</pre> | ||
</pre> | * Current month name = {{CURRENTMONTHNAME}} | ||
* Current | <pre>{{CURRENTMONTHNAME}}</pre> | ||
<pre> | * Current day = {{CURRENTDAY}} | ||
{{CURRENTMONTHNAME}} | <pre>{{CURRENTDAY}}</pre> | ||
</pre> | * Current day name = {{CURRENTDAYNAME}} | ||
* Current | <pre>{{CURRENTDAYNAME}}</pre> | ||
<pre> | * Current year = {{CURRENTYEAR}} | ||
{{CURRENTDAY}} | <pre>{{CURRENTYEAR}}</pre> | ||
</pre> | * Current time (UTC) = {{CURRENTTIME}} | ||
* Current | <pre>{{CURRENTTIME}}</pre> | ||
<pre> | * Current month name gen = {{CURRENTMONTHNAMEGEN}} | ||
{{CURRENTDAYNAME}} | <pre>{{CURRENTMONTHNAMEGEN}}</pre> | ||
</pre> | * Current week = {{CURRENTWEEK}} | ||
* Current | <pre>{{CURRENTWEEK}}</pre> | ||
<pre> | * Current day of week = {{CURRENTDOW}} | ||
{{CURRENTYEAR}} | <pre>{{CURRENTDOW}}</pre> | ||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTTIME}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTMONTHNAMEGEN}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTWEEK}} | |||
</pre> | |||
* Current | |||
<pre> | |||
{{CURRENTDOW}} | |||
</pre> | |||
==Location Magic Words= | ==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