Difference between revisions of "Help:Variables"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
[http://goer.freehostia.com/description/film-per1.htm film per adulti] [http://ruwilhel.125mb.com/resources/lancaster-pre.htm lancaster pre sun] [http://www.rei794.pop3.ru/articles/www-polizzi.htm www polizzi generosa it] [http://gealbrig.125mb.com/library/gonna-di.htm gonna di versace] [http://www.aneta-spb.pop3.ru/blog/la-cena.htm la cena delle beffe] [http://doublename.125mb.com/hotel-londra.htm hotel londra centro] [http://ohvoice.125mb.com/web/firozpur/ firozpur] [http://midnightbrave.freehostia.com/gps-e6/ gps e accessori] [http://souya.freehostia.com/small/bmw-44.htm bmw 330 cabrio] [http://www.sturuntsev.pop3.ru/articles/c-builder/ c builder 6] [http://moniqueleigh.freehostia.com/data/una-spina/ una spina una rosa] [http://evbailly.125mb.com/manuela-iglesias/ manuela iglesias] [http://gimaynar.125mb.com/small/vendita-case/ vendita case a bologna] [http://cyclique.freehostia.com/content/monitor-hp4/ monitor hp l1906] [http://prihodnaja.pop3.ru/data/giornali-agricoltura/ giornali agricoltura] [http://moniqueleigh.freehostia.com/data/biglietti-concerto3/ biglietti concerto evanescence] [http://kalahiet.125mb.com/articles/armageddon-giudizio/ armageddon giudizio finale film dvd] [http://krazykat1187.freehostia.com/description/ritardi-mestruali/ ritardi mestruali] [http://ohvoice.125mb.com/web/cerco-centro/ cerco centro fitness saronno] [http://www.rei794.pop3.ru/articles/arbatax.htm arbatax] [http://littleangel1.h18.ru/html/crmen-electra.htm crmen electra] [http://cyclique.freehostia.com/content/star-office/ star office] [http://cashdolla.h18.ru/resources/and-tai.htm and1 tai chi] [http://krazykat1187.freehostia.com/description/pinza/ pinza] [http://reliles.125mb.com/library/salone-ginevra.htm salone ginevra] [http://www.kitten130999.pop3.ru/view/decapitazione-americano.htm decapitazione americano in iraq] [http://gealbrig.125mb.com/library/mideplan-cl.htm mideplan cl] [http://rimarsh.125mb.com/topic/voli-capo/ voli capo verde] [http://doublename.125mb.com/kirk-franklin.htm kirk franklin] [http://ohvoice.125mb.com/web/blondie-live/ blondie live] [http://taedward.125mb.com/description/playboy-plus/ playboy plus] [http://svinka.h18.ru/content/cramberries-stars.htm cramberries stars] [http://rimarsh.125mb.com/topic/chat-palermo/ chat palermo] [http://rimarsh.125mb.com/topic/lotta-barbari/ lotta barbari] [http://chistovskaya.freehostia.com/topic/tshirt-donna2/ tshirt donna baci abbracci] [http://kalahiet.125mb.com/articles/il-guardiano/ il guardiano di notte] [http://bachenau.125mb.com/dru-a.htm dru 810a] [http://hehayfor.125mb.com/styles/sauna-massaggi/ sauna massaggi] [http://www.prairiesky.pop3.ru/view/motown-song/ motown song] [http://www.shadowthecatslj.pop3.ru/data/camera-pioltello/ camera pioltello] [http://goer.freehostia.com/description/converti-file.htm converti file audio wawe a midi amazing] [http://www.terry-a-boot.pop3.ru/content/tomb-raider/ tomb raider 7 tra un anno] [http://bachenau.125mb.com/parla-con.htm parla con lei dvd] [http://gimaynar.125mb.com/small/www-tittypalace/ www tittypalace it] [http://timo-kiev.freehostia.com/la-dattilografa.htm la dattilografa] [http://moniqueleigh.freehostia.com/data/pepsi-pink/ pepsi pink beyonce] [http://cashdolla.h18.ru/resources/olivetti-d.htm olivetti d  200  mf] [http://suhorne.125mb.com/soluzione-xbox/ soluzione xbox] [http://moviemania0.h18.ru/italian-language/ italian language courses] [http://timo-kiev.freehostia.com/brahms-edition.htm brahms edition] [http://midnightbrave.freehostia.com/mago-de/ mago de oz belfast] [http://suhorne.125mb.com/rsmmc-dv/ rsmmc dv dual voltage 512mb] [http://bulopipe.125mb.com/web/viaggi-on.htm viaggi on live] [http://taedward.125mb.com/description/diavolo-di/ diavolo di ragazza] [http://moviemania0.h18.ru/numai-ei/ numai ei] [http://www.aneta-spb.pop3.ru/blog/opel-meriva.htm opel meriva 1 7 16v cdti] [http://www.sunny-may.pop3.ru/resources/peugeot-napoli/ peugeot napoli] [http://midnightbrave.freehostia.com/pen-mp2/ pen mp3 1 gb] [http://goer.freehostia.com/description/caslte.htm caslte] [http://prihodnaja.pop3.ru/data/this-is/ this is football] [http://midnightbrave.freehostia.com/pic-sex/ pic sex jpg] [http://hehayfor.125mb.com/styles/water-of/ water of love] [http://gor22011978.pop3.ru/articles/magic-campionato/ magic campionato] [http://keniff.125mb.com/topic/desert-storm.htm desert storm] [http://reliles.125mb.com/library/enigma-give.htm enigma give a bit of] [http://timo-kiev.freehostia.com/pierrade-e.htm pierrade e raclette] [http://littleangel1.h18.ru/html/www-anas.htm www anas it] [http://chistovskaya.freehostia.com/topic/civile-decapitato/ civile decapitato] [http://triniophoeni.h18.ru/orologeria-/ orologeria  forniture] [http://www.nadz0r.pop3.ru/new/la-vincitrice/ la vincitrice del grande fratello] [http://ohvoice.125mb.com/web/eddie-dee/ eddie dee] [http://biwittic.125mb.com/la-vida/ la vida es un carnaval] [http://www.fuzps.pop3.ru/content/lumidee/ lumidee] [http://timo-kiev.freehostia.com/assicurazioni-medici.htm assicurazioni medici] [http://www.chaoticidealism.pop3.ru/blog/nokia-.htm nokia 3100 fun camera] [http://timo-kiev.freehostia.com/manga-.htm manga 100 fragola] [http://gimaynar.125mb.com/small/padovani/ padovani] [http://gealbrig.125mb.com/library/www-gta.htm www gta san andreas com] [http://keniff.125mb.com/topic/rafet-elroman.htm rafet elroman] [http://goer.freehostia.com/description/cialde-caffe.htm cialde caffe] [http://timo-kiev.freehostia.com/f-sony.htm f77 sony] [http://ramangel.125mb.com/topic/scheda-pc.htm scheda pc] [http://cyclique.freehostia.com/content/la-notte9/ la notte vola] [http://www.sunny-may.pop3.ru/resources/decreto-legislativo/ decreto legislativo 196 30 06 03] [http://suhorne.125mb.com/a-canon/ a520 canon] [http://svinka.h18.ru/content/baseball-play.htm baseball play dice] [http://www.shadowthecatslj.pop3.ru/data/niccolo-fab/ niccolo fab] [http://gealbrig.125mb.com/library/isdn-k.htm isdn 128k] [http://www.sunny-may.pop3.ru/resources/www-sex/ www sex 98 com] [http://keniff.125mb.com/topic/gare-appalto.htm gare appalto] [http://www.sturuntsev.pop3.ru/articles/martin-mystere/ martin mystere vol 16] [http://ruwilhel.125mb.com/resources/gaychile.htm gaychile] [http://kiwibttrflyt.h18.ru/directory/ferrari-mondial.htm ferrari mondial 32] [http://ohvoice.125mb.com/web/david-breton/ david breton il mondo a piedi] [http://www.wildhand.pop3.ru/topic/telecomando-microsoft.htm telecomando microsoft] [http://chistovskaya.freehostia.com/topic/comune-di54/ comune di bitonto] [http://timo-kiev.freehostia.com/compravendita-immobile.htm compravendita immobile] [http://rimarsh.125mb.com/topic/frozen-fruits/ frozen fruits] [http://rimarsh.125mb.com/topic/can-t/ can t wait until the night] [http://moniqueleigh.freehostia.com/data/prato-hotel/ prato hotel] [http://www.worthwhilehosting.com/banners/auto/hhppij.html Contatti msn] [http://www.ccrs.uzh.ch/user/root/srrtaa.html Racconti mila] [http://www.worthwhilehosting.com/banners/auto/naaxfi.html Hammocks] [http://www.hiidenkivenpaivakoti.fi/help/new/idihgn.html Subaru impreza] [http://www.ccrs.uzh.ch/user/root/fppakv.html Elenco protesti] [http://www.worthwhilehosting.com/banners/auto/ueqgwg.html Free shemale movie] [http://www.worthwhilehosting.com/banners/auto/dcrcwb.html Hunday] [http://www.hiidenkivenpaivakoti.fi/help/new/thugnn.html Triangolo delle bermuda] [http://www.startonlineweb.com/help/new/vkxskk.html Vivere soap] [http://www.hiidenkivenpaivakoti.fi/help/new/sconsh.html Gallerie hard gratis] [http://www.hiidenkivenpaivakoti.fi/help/new/lakxgq.html Incesto amatoriale] [http://www.ccrs.uzh.ch/user/root/ttspgj.html Belle nere] [http://www.startonlineweb.com/help/new/mpknpo.html Dormire amsterdam] [http://www.worthwhilehosting.com/banners/auto/lutmrs.html tatuaggi luna] [http://www.worthwhilehosting.com/banners/auto/wdajqx.html Xxx naruto] [http://www.hiidenkivenpaivakoti.fi/help/new/vfjkwj.html Corso di fotografia firenze sicilia] [http://www.hiidenkivenpaivakoti.fi/help/new/rqgmmu.html Cute teen ass] [http://www.worthwhilehosting.com/banners/auto/ppnolu.html Sigla spot televisivi] [http://www.worthwhilehosting.com/banners/auto/acpdpf.html Autobaselli it] [http://www.worthwhilehosting.com/banners/auto/swanqn.html Foto mestruazioni] [http://www.ccrs.uzh.ch/user/root/rifqbg.html Grand hotel sorrento] [http://www.worthwhilehosting.com/banners/auto/ocqsvg.html Lastminute isola cicladi] [http://www.worthwhilehosting.com/banners/auto/webpun.html Baule teatro] [http://www.startonlineweb.com/help/new/dplmut.html Albergo berlin] [http://www.startonlineweb.com/help/new/vvomhj.html Svevo poetica] [http://www.worthwhilehosting.com/banners/auto/lnmxmq.html Voli last minute per sicilia] [http://www.worthwhilehosting.com/banners/auto/aojrce.html Pasticceria] [http://www.hiidenkivenpaivakoti.fi/help/new/cmitsg.html Loan rata] [http://www.worthwhilehosting.com/banners/auto/ordcvq.html Vacanza salento] [http://www.startonlineweb.com/help/new/crajkm.html Amc pentola] [http://www.worthwhilehosting.com/banners/auto/kgwnvv.html Finanziamento mutuo prestito] [http://www.startonlineweb.com/help/new/bxfveu.html Libro usato] [http://www.startonlineweb.com/help/new/wgcied.html Gamberorosso lisbona] [http://www.hiidenkivenpaivakoti.fi/help/new/xdguip.html Piscina gabbiano] [http://www.hiidenkivenpaivakoti.fi/help/new/xkwhwu.html Cultura paese baschi] [http://www.ccrs.uzh.ch/user/root/fgvscw.html Upskirt foto] [http://www.ccrs.uzh.ch/user/root/wfswjw.html Icm pentola] [http://www.worthwhilehosting.com/banners/auto/bnroah.html Contatore visite download] [http://www.ccrs.uzh.ch/user/root/gnptju.html Cronometro] [http://www.hiidenkivenpaivakoti.fi/help/new/jjcwhv.html Indiani america] [http://www.startonlineweb.com/help/new/glewwf.html Cum jizz] [http://www.hiidenkivenpaivakoti.fi/help/new/sjifrf.html Enzo biagi] [http://www.worthwhilehosting.com/banners/auto/xnniea.html Piloti] [http://www.hiidenkivenpaivakoti.fi/help/new/ctixjk.html Servizi hosting applicazione] [http://www.worthwhilehosting.com/banners/auto/rpwixs.html Cazzi e fiche] [http://www.worthwhilehosting.com/banners/auto/vpsxwf.html Donne scopate] [http://www.hiidenkivenpaivakoti.fi/help/new/kgisnr.html Tipografia depliant roma] [http://www.startonlineweb.com/help/new/nhnelu.html Affitto saronno] [http://www.worthwhilehosting.com/banners/auto/miemta.html Grasse troie] [http://www.worthwhilehosting.com/banners/auto/gfpcph.html Motel idromassaggio] [http://www.worthwhilehosting.com/banners/auto/pnngel.html Alchool] [http://www.hiidenkivenpaivakoti.fi/help/new/xhbxhj.html Telecamera digitale sony mini dv] [http://www.worthwhilehosting.com/banners/auto/ficecv.html Legno porta listino] [http://www.worthwhilehosting.com/banners/auto/nurhli.html Gesu] [http://www.worthwhilehosting.com/banners/auto/rbxaam.html Joggs cum] [http://www.ccrs.uzh.ch/user/root/qgdxsm.html Chirurgia plastica] [http://www.worthwhilehosting.com/banners/auto/wsinhd.html Acdc italia com] [http://www.ccrs.uzh.ch/user/root/qxtauv.html Eurobet] [http://www.startonlineweb.com/help/new/quvxxf.html Serena grandi movie] [http://www.startonlineweb.com/help/new/arwags.html Fotocopiatrice] [http://www.hiidenkivenpaivakoti.fi/help/new/jkcgim.html Cazzi gay neri] [http://www.worthwhilehosting.com/banners/auto/ljfnet.html Acquisto giochi video] [http://www.startonlineweb.com/help/new/xomnon.html Versioni livio] [http://www.worthwhilehosting.com/banners/auto/rfsovj.html Sicilia autonoleggio auto] [http://www.hiidenkivenpaivakoti.fi/help/new/mthmjs.html Finanziamento trapani] [http://www.ccrs.uzh.ch/user/root/wkihow.html Ottenere prestito on line] [http://www.ccrs.uzh.ch/user/root/fdsdor.html Disegni x tatuaggi] [http://www.hiidenkivenpaivakoti.fi/help/new/epavki.html Leroy marlin] [http://www.worthwhilehosting.com/banners/auto/xulmon.html Ingranaggio auto] [http://www.ccrs.uzh.ch/user/root/cmlfql.html Ristorante etnico roma] [http://www.worthwhilehosting.com/banners/auto/jkuace.html Victoria silvstedt nuda] [http://www.worthwhilehosting.com/banners/auto/kpsdnk.html Cercasi fidanzata palermo] [http://www.startonlineweb.com/help/new/xpfwlu.html Temi guerra] [http://www.hiidenkivenpaivakoti.fi/help/new/kifmeu.html Mappa concettuale urlo munch] [http://www.hiidenkivenpaivakoti.fi/help/new/wljlgu.html Mibtel] [http://www.worthwhilehosting.com/banners/auto/oomids.html Bollettino protesto on line] [http://www.startonlineweb.com/help/new/rhmbhu.html Cartina corf] [http://www.worthwhilehosting.com/banners/auto/aendbm.html Van basco] [http://www.startonlineweb.com/help/new/tspmnk.html Batterio] [http://www.hiidenkivenpaivakoti.fi/help/new/vpquoo.html Trasformatore] [http://www.hiidenkivenpaivakoti.fi/help/new/gmtnnx.html Poka?mon porno] [http://www.worthwhilehosting.com/banners/auto/rcdsfb.html Diet pills] [http://www.worthwhilehosting.com/banners/auto/fsnwbh.html Hot tubs price] [http://www.ccrs.uzh.ch/user/root/uvivct.html Bosch lavastoviglie] [http://www.ccrs.uzh.ch/user/root/liepea.html Inkontri] [http://www.worthwhilehosting.com/banners/auto/dbldpw.html Camerette bimbi] [http://www.worthwhilehosting.com/banners/auto/gallbm.html Partecipazioni] [http://www.worthwhilehosting.com/banners/auto/wwrxef.html Pokemon smeraldo rom] [http://www.ccrs.uzh.ch/user/root/iqahmm.html Circus penis] [http://www.ccrs.uzh.ch/user/root/sjeqfo.html Prestito salerno] [http://www.ccrs.uzh.ch/user/root/ianakw.html Ischia offerta hotel] [http://www.worthwhilehosting.com/banners/auto/ajxhrc.html Conoscersi incontri amore] [http://www.startonlineweb.com/help/new/gsjxlb.html Guide supereva it dvd download] [http://www.worthwhilehosting.com/banners/auto/rtrwxa.html Formato tesi] [http://www.hiidenkivenpaivakoti.fi/help/new/tmqfvf.html Cubismo fascismo] [http://www.ccrs.uzh.ch/user/root/mfwsji.html Donne grasse nuda] [http://www.hiidenkivenpaivakoti.fi/help/new/fashbu.html Homevideo sex] [http://www.startonlineweb.com/help/new/ulxddp.html Playstation 2 accessorio] [http://www.worthwhilehosting.com/banners/auto/sivahd.html Autoradio sony mp3] [http://www.hiidenkivenpaivakoti.fi/help/new/uialjn.html Foto fisting] {{PD Help Page}}
+
{{PD Help Page}}
MediaWiki knows some defined variables which can
+
MediaWiki knows some defined variables which can be used in texts. They are rendered differently depending on the time, the site and the page. Their syntax is similar to templates. If you want a page to show always the current time, you use <code><nowiki>{{CURRENTTIME}}</nowiki></code>. To distinguish variables from templates, most variables are capitalized.
5A8
 
be used in texts. They are rendered differently depending on the time, the site and the page. Their syntax is similar to templates. If you want a page to show always the current time, you use <code><nowiki>{{CURRENTTIME}}</nowiki></code>. To distinguish variables from templates, most variables are capitalized.
 
  
 
<center>
 
<center>
Line 11: Line 9:
 
!{{Hl3}}|'''You get'''
 
!{{Hl3}}|'''You get'''
 
|-
 
|-
! {{Hl2}} colspan="3" | '''Date
+
! {{Hl2}} colspan="3" | '''Date & Wiki variables'''
 +
|-
 +
| Current month
 +
|<nowiki>{{CURRENTMONTH}}</nowiki>
 +
|{{CURRENTMONTH}}
 +
|-
 +
| Current month
 +
|<nowiki>{{CURRENTMONTHNAME}}</nowiki>
 +
|{{CURRENTMONTHNAME}}
 +
|-
 +
| Genitive form<br>of current month name
 +
|<nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
 +
|{{CURRENTMONTHNAMEGEN}}
 +
|-
 +
| Abbreviated month name
 +
|<nowiki>{{CURRENTMONTHABBREV}}</nowiki>
 +
|{{CURRENTMONTHABBREV}}
 +
|-
 +
|Day of the month
 +
|<nowiki>{{CURRENTDAY}}</nowiki>
 +
|{{CURRENTDAY}}
 +
|-
 +
|Day of the week
 +
|<nowiki>{{CURRENTDOW}}</nowiki>
 +
|{{CURRENTDOW}}
 +
|-
 +
|Day of the week
 +
|<nowiki>{{CURRENTDAYNAME}}</nowiki>
 +
|{{CURRENTDAYNAME}}
 +
|-
 +
| Week
 +
|<nowiki>{{CURRENTWEEK}}</nowiki>
 +
|{{CURRENTWEEK}}
 +
|-
 +
| Year
 +
|<nowiki>{{CURRENTYEAR}}</nowiki>
 +
|{{CURRENTYEAR}}
 +
|-
 +
| current time
 +
|<nowiki>{{CURRENTTIME}}</nowiki>
 +
|{{CURRENTTIME}}
 +
|-
 +
| numbers of articles in this Wiki
 +
|<nowiki>{{NUMBEROFARTICLES}}</nowiki>
 +
|{{NUMBEROFARTICLES}}
 +
|-
 +
| numbers of uploaded files
 +
|<nowiki>{{NUMBEROFFILES}}</nowiki>
 +
|{{NUMBEROFFILES}}
 +
|-
 +
! {{Hl2}} colspan="3" | '''Namespaces'''
 +
|-
 +
|
 +
|<nowiki>{{ns:-2}} or {{ns:Media}}</nowiki>
 +
|{{ns:-2}}
 +
|-
 +
|
 +
|<nowiki>{{ns:-1}} or {{ns:Special}}</nowiki>
 +
|{{ns:-1}}
 +
|-
 +
|
 +
|<nowiki>{{ns:1}} or {{ns:Talk}}</nowiki>
 +
| {{ns:1}}
 +
|-
 +
|
 +
| <nowiki>{{ns:2}} or {{ns:User}}</nowiki>
 +
| {{ns:2}}
 +
|-
 +
|
 +
| <nowiki>{{ns:3}} or {{ns:User_talk}}</nowiki>
 +
| {{ns:3}}
 +
|-
 +
|
 +
| <nowiki>{{ns:4}} or {{ns:Project}}</nowiki>
 +
| {{ns:4}}
 +
|-
 +
|
 +
| <nowiki>{{ns:5}} or {{ns:Project_talk}}</nowiki>
 +
| {{ns:5}}
 +
|-
 +
|
 +
| <nowiki>{{ns:6}} or {{ns:Image}}</nowiki>
 +
| {{ns:6}}
 +
|-
 +
|
 +
| <nowiki>{{ns:7}} or {{ns:Image_talk}}</nowiki>
 +
| {{ns:7}}
 +
|-
 +
|
 +
| <nowiki>{{ns:8}} or {{ns:MediaWiki}}</nowiki>
 +
| {{ns:8}}
 +
|-
 +
|
 +
| <nowiki>{{ns:9}} or {{ns:MediaWiki_talk}}</nowiki>
 +
| {{ns:9}}
 +
|-
 +
|
 +
| <nowiki>{{ns:10}} or {{ns:Template}}</nowiki>
 +
| {{ns:10}}
 +
|-
 +
|
 +
| <nowiki>{{ns:11}} or {{ns:Template_talk}}</nowiki>
 +
| {{ns:11}}
 +
|-
 +
|
 +
| <nowiki>{{ns:12}} or {{ns:Help}}</nowiki>
 +
| {{ns:12}}
 +
|-
 +
|
 +
| <nowiki>{{ns:13}} or {{ns:Help_talk}}</nowiki>
 +
| {{ns:13}}
 +
|-
 +
|
 +
| <nowiki>{{ns:14}} or {{ns:Category}}</nowiki>
 +
| {{ns:14}}
 +
|-
 +
|
 +
| <nowiki>{{ns:15}} or {{ns:Category_talk}}</nowiki>
 +
| {{ns:15}}
 +
|-
 +
! {{Hl2}} colspan="3" | '''Server specific'''
 +
|-
 +
| Sitename
 +
| <nowiki>{{SITENAME}}</nowiki>
 +
| {{SITENAME}}
 +
|-
 +
| Servername
 +
| <nowiki>{{SERVERNAME}}</nowiki>
 +
| {{SERVERNAME}}
 +
|-
 +
| Server
 +
| <nowiki>{{SERVER}}</nowiki>
 +
| {{SERVER}}
 +
|-
 +
|-
 +
| Script path
 +
| <nowiki>{{SCRIPTPATH}}</nowiki>
 +
| {{SCRIPTPATH}}
 +
|-
 +
| Local part of the URL<br>
 +
| <nowiki>{{localurl:pagename}}</nowiki>
 +
| {{localurl:pagename}}
 +
|-
 +
|
 +
| <nowiki>{{localurl:pagename|</nowiki>''query string''<nowiki>}}</nowiki>
 +
| {{localurl:pagename|''query string''}}
 +
|-
 +
! {{Hl2}} colspan="3" | '''Page related'''
 +
|-
 +
| Pagename
 +
| <nowiki>{{PAGENAME}}</nowiki>
 +
| {{PAGENAME}}
 +
|-
 +
| Pagename<br>(URL encoded)
 +
| <nowiki>{{PAGENAMEE}}</nowiki>
 +
| {{PAGENAMEE}}
 +
|-
 +
| Namespace
 +
| <nowiki>{{NAMESPACE}}</nowiki>
 +
| {{NAMESPACE}}
 +
|-
 +
| Revision ID
 +
| <nowiki>{{REVISIONID}}</nowiki>
 +
| {{REVISIONID}}
 +
|}
 +
</center>
 +
 
 +
==External links==
 +
{{meta|Help:Variable}}
 +
 
 +
{{Languages|Help:Variables}}
 +
 
 +
[[Category:Help|Variables]]

Revision as of 23:24, 21 September 2007

Template:PD Help Page MediaWiki knows some defined variables which can be used in texts. They are rendered differently depending on the time, the site and the page. Their syntax is similar to templates. If you want a page to show always the current time, you use {{CURRENTTIME}}. To distinguish variables from templates, most variables are capitalized.

Template:Hl3|Description Template:Hl3|You type Template:Hl3|You get
Template:Hl2 colspan="3" | Date & Wiki variables
Current month {{CURRENTMONTH}} 09
Current month {{CURRENTMONTHNAME}} September
Genitive form
of current month name
{{CURRENTMONTHNAMEGEN}} September
Abbreviated month name {{CURRENTMONTHABBREV}} Sep
Day of the month {{CURRENTDAY}} 16
Day of the week {{CURRENTDOW}} 1
Day of the week {{CURRENTDAYNAME}} Monday
Week {{CURRENTWEEK}} 38
Year {{CURRENTYEAR}} 2019
current time {{CURRENTTIME}} 08:19
numbers of articles in this Wiki {{NUMBEROFARTICLES}} 276
numbers of uploaded files {{NUMBEROFFILES}} 0
Template:Hl2 colspan="3" | Namespaces
{{ns:-2}} or {{ns:Media}} Media
{{ns:-1}} or {{ns:Special}} Special
{{ns:1}} or {{ns:Talk}} Talk
{{ns:2}} or {{ns:User}} User
{{ns:3}} or {{ns:User_talk}} User talk
{{ns:4}} or {{ns:Project}} AwkwardTV
{{ns:5}} or {{ns:Project_talk}} AwkwardTV talk
{{ns:6}} or {{ns:Image}} File
{{ns:7}} or {{ns:Image_talk}} File talk
{{ns:8}} or {{ns:MediaWiki}} MediaWiki
{{ns:9}} or {{ns:MediaWiki_talk}} MediaWiki talk
{{ns:10}} or {{ns:Template}} Template
{{ns:11}} or {{ns:Template_talk}} Template talk
{{ns:12}} or {{ns:Help}} Help
{{ns:13}} or {{ns:Help_talk}} Help talk
{{ns:14}} or {{ns:Category}} Category
{{ns:15}} or {{ns:Category_talk}} Category talk
Template:Hl2 colspan="3" | Server specific
Sitename {{SITENAME}} AwkwardTV
Servername {{SERVERNAME}} wiki.awkwardtv.org
Server {{SERVER}} https://wiki.awkwardtv.org
Script path {{SCRIPTPATH}} /w
Local part of the URL
{{localurl:pagename}} /wiki/Pagename
{{localurl:pagename|query string}} /w/index.php?title=Pagename&query string
Template:Hl2 colspan="3" | Page related
Pagename {{PAGENAME}} Variables
Pagename
(URL encoded)
{{PAGENAMEE}} Variables
Namespace {{NAMESPACE}} Help
Revision ID {{REVISIONID}} 5095

External links

Template:Meta

Template:Languages