WikiIndex:Magic words

From WikiIndex
(Redirected from WikiIndex:Mots Magiques)
Jump to navigation Jump to search

EN[edit]

Magic words can be used as a shortcut to substitute in certain interesting values into a page display.

For a complete documentation, see: mw:Help:Magic words.

FR[edit]

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, see: mw:Help:Magic words.

Magic word list / liste de mots magiques[edit]

Examples
  • Number of articles = 22,027
{{NUMBEROFARTICLES}}
  • Current user = 192.168.144.2
{{CURRENTUSER}}
List
{{REDIRECT}}
__NOTOC__
{{START}}
{{NUMBEROFARTICLES}}
{{CURRENTMONTHNAMEGEN}}
{{MSG}}
{{SUBST}}
{{MSGNW}}
{{NOEDITSECTION}}
{{END}}
{{IMG_THUMBNAIL}}
{{IMG_RIGHT}}
{{IMG_LEFT}}
{{IMG_NONE}}
{{IMG_WIDTH}}
{{IMG_CENTER}}
{{INT}}
__FORCETOC__
{{SITENAME}}
{{NS}}
{{LOCALURL}}
{{LOCALURLE}}
{{SERVER}}
{{IMG_FRAMED}}
{{PAGENAME}}
{{PAGENAMEE}}
{{NAMESPACE}}
{{NAMESPACEE}}
{{TALKSPACE}}
{{TALKSPACEE}}
{{SUBJECTSPACE}}
{{SUBJECTSPACEE}}
__TOC__
{{GRAMMAR}}
{{NOTITLECONVERT}}
{{NOCONTENTCONVERT}}
{{CURRENTWEEK}}
{{CURRENTDOW}}

Calendar magic words / mots magiques calendrier[edit]

  • Current month = 12
{{CURRENTMONTH}}
  • Current month name = December
{{CURRENTMONTHNAME}}
  • Current day = 18
{{CURRENTDAY}}
  • Current day name = Wednesday
{{CURRENTDAYNAME}}
  • Current year = 2024
{{CURRENTYEAR}}
  • Current time (UTC) = 09:57
{{CURRENTTIME}}
  • Current month name gen = December
{{CURRENTMONTHNAMEGEN}}
  • Current week = 51
{{CURRENTWEEK}}
  • Current day of week = 3
{{CURRENTDOW}}

Location magic words / Repérer des mots magiques[edit]

  • Page name* = Magic words
  • Namespace* = WikiIndex
  • Site name* = WikiIndex
  • Talk space* = WikiIndex talk
  • Subject space* = (only for talk pages, would produce the page it is talk page to)
  • Server = https://wikiindex.org
  • Localurl*: page name = /w/WikiIndex:Magic_Words

* The letter E can be added in the end of these magic words to render spaces as underscores.

  • Page name E = Magic_words