WikiIndex:Magic words

From WikiIndex
Jump to: navigation, 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,032
{{NUMBEROFARTICLES}}
  • Current user = 172.26.18.63
{{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 = 11
{{CURRENTMONTH}}
  • Current month name = November
{{CURRENTMONTHNAME}}
  • Current day = 5
{{CURRENTDAY}}
  • Current day name = Tuesday
{{CURRENTDAYNAME}}
  • Current year = 2024
{{CURRENTYEAR}}
  • Current time (UTC) = 09:58
{{CURRENTTIME}}
  • Current month name gen = November
{{CURRENTMONTHNAMEGEN}}
  • Current week = 45
{{CURRENTWEEK}}
  • Current day of week = 2
{{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 = /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