Jump to content

Template talk:Wikivar

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 16 years ago by Gangleri in topic View of /trunk/phase3/includes/MagicWord.php

template:wikivar T
test/template/wikivar
de:template:0

tests

[edit]

ns:{{NAMESPACE}}

[edit]
a{{ns:{{NAMESPACE}}}}b

generates:
aTemplate talkb

ns:-3

[edit]
a{{ns:-3}}b

generates:
ab

ns:-2

[edit]
a{{ns:-2}}b

generates:
aMediab

ns:-1

[edit]
a{{ns:-1}}b

generates:
aSpecialb

ns:0

[edit]
a{{ns:0}}b

generates:
ab

ns:

[edit]
a{{ns:}}b

generates:
ab

Gangleri | Th | T 21:05, 28 January 2006 (UTC) I added tests for -3, -2 and -1. -84user 00:30, 16 December 2009 (UTC)Reply

View of /trunk/phase3/includes/MagicWord.php

[edit]

Revision 16858 · Sun Oct 8 13:00:42 2006 UTC by nikerabbit


  • BASEPAGENAME
  • BASEPAGENAMEE
  • CONTENTLANGUAGE
  • CURRENTDAY
  • CURRENTDAY2
  • CURRENTDAYNAME
  • CURRENTDOW
  • CURRENTHOUR
  • CURRENTMONTH
  • CURRENTMONTHABBREV
  • CURRENTMONTHNAME
  • CURRENTMONTHNAMEGEN
  • CURRENTTIME
  • CURRENTTIMESTAMP
  • CURRENTVERSION
  • CURRENTWEEK
  • CURRENTYEAR
  • DIRECTIONMARK
  • DISPLAYTITLE
  • FULLPAGENAME
  • FULLPAGENAMEE
  • LANGUAGE
  • LOCALDAY
  • LOCALDAY2
  • LOCALDAYNAME
  • LOCALDOW
  • LOCALHOUR
  • LOCALMONTH
  • LOCALMONTHABBREV
  • LOCALMONTHNAME
  • LOCALMONTHNAMEGEN
  • LOCALTIME
  • LOCALTIMESTAMP
  • LOCALWEEK
  • LOCALYEAR
  • NAMESPACE
  • NAMESPACEE
  • NEWSECTIONLINK
  • NUMBEROFADMINS
  • NUMBEROFARTICLES
  • NUMBEROFFILES
  • NUMBEROFPAGES
  • NUMBEROFUSERS
  • PAGENAME
  • PAGENAMEE
  • PAGESINNAMESPACE
  • RAWSUFFIX
  • REVISIONDAY
  • REVISIONDAY2
  • REVISIONID
  • REVISIONMONTH
  • REVISIONTIMESTAMP
  • REVISIONYEAR
  • SCRIPTPATH
  • SERVER
  • SERVERNAME
  • SITENAME
  • SUBJECTPAGENAME
  • SUBJECTPAGENAMEE
  • SUBJECTSPACE
  • SUBJECTSPACEE
  • SUBPAGENAME
  • SUBPAGENAMEE
  • TALKPAGENAME
  • TALKPAGENAMEE
  • TALKSPACE
  • TALKSPACEE
  • URLENCODE

Best regards
·‎Gangleri·Th·T·email me·‎ 11:27, 1 December 2007 (UTC)Reply