Missing parser functions

There seem to be parser functions missing from the article, but I don't really know how to use them. I think stuff like {{#if:}}, {{ifexist:}} {{ifeq:}} aren't there...
Scimonster (talk | contribs) 14:54, 14 April 2011 (UTC)

There's a list of installed parser functions at Special:Version. Scroll down to the Parser function hooks table.
Scimonster (talk | contribs) 14:52, 16 July 2012 (UTC)
ParesrFunctions are basically hardcoded templates. My best example is {{#expr: ({{#time:U}} - 1266537600)/60/60/24 round0}}, which returns the number of days I've spen on Scratch (3780) and updates automatically. The reference I use is over here. Do you want me to summarize it here?
Hardmath123 (talk | contribs) 15:45, 16 July 2012 (UTC)
Yeah, i'd appreciate it if you would extend the parser functions table. I get what they do, but don't know all of them.
Scimonster (talk | contribs) 15:47, 16 July 2012 (UTC)
Ah, what you're probably looking for is this. :) The article already says the following in that section:
"This page only describes parser functions that are integral to the MediaWiki software. Other parser functions may be added by MediaWiki extensions such as the ParserFunctions extension. For those see Help:ParserFunctions."
So we don't need to copy the list of parser functions over. :)
Lucario621 (talk | contribs) 18:53, 16 July 2012 (UTC)
Look at the link I posted above :P
Hardmath123 (talk | contribs) 01:12, 17 July 2012 (UTC)

BYOB parser functions

Hey, some of the parser functions can be done in BYOB — like this: Ifeq parser function.png

Any objection to them being added? It might make it even harder to see the words...
Scimonster (talk | contribs) 14:54, 14 April 2011 (UTC)

What can BYOB not do... :P
Molybdenum (talk | contribs) 01:18, 30 November 2012 (UTC)

Stub?

Why is this a stub? It does not seem to be incomplete, unfinished, or have missing parts/sections.
Bsteward (talk | contribs)02:12, 10 April 2012 (UTC)

__START__

If it has no effect, then why do we have it here?
Joletole (talk | contribs) 16:45, 16 July 2012 (UTC)

I suppose it seems unnecessary, but on the original version of this page on the main MediaWiki website (here), it's included. I think it helps because somebody might see that there is an __END__ tag, and they would wonder why there isn't a __START__ tag.
Lucario621 (talk | contribs) 19:07, 16 July 2012 (UTC)

"Date & time" current week count

I was wondering if it is possible for the current week in the year, displayed by the {{CURRENTYEAR}} variable, to be added to a previous weeks' count. In other words, if a collab was initiated on 06/23/2011 (mm/dd/yyyy), could the total number of weeks from the commencement date up until today be shown on the screen? Any ideas if this can be achieved? Thanks.
DIY (talk | contribs) 07:30, 21 September 2013 (UTC)

Using what I know, possibly something like {{#expr:(({{CURRENTYEAR}}-{{{year}}})*12)+({{CURRENTMONTH}}-{{{month}}})
{{{year}}} is the year the collab started and {{{month}}} is the month (number) the collab strted.
I don't know a way for current week in the year.
Mathfreak231 (talk | contribs) 12:37, 21 September 2013 (UTC)
Right, so if I am to apply this to the aforementioned date, would it be {{#expr:(({{CURRENTYEAR}}-{{{2011}}})*12)+({{CURRENTMONTH}}-{{{6}}})}} (I added an extra "}}" at the end of that expression since I assume you accidentally omitted that. I tried this and it did not work. :/ Thanks for your help though. Do you think I'm not doing something right?
DIY (talk | contribs) 14:13, 24 September 2013 (UTC)
Any more luck on the matter anyone?
DIY (talk | contribs) 12:46, 26 September 2013 (UTC)
Oh, sorry. Don't put the braces around the stuff. So do {{#expr:(({{CURRENTYEAR}}-2011)*12)+({{CURRENTMONTH}}-6)}}.
Mathfreak231 (talk | contribs) 19:55, 26 September 2013 (UTC)
Thanks a lot. That did work indeed. :)
DIY (talk | contribs) 14:10, 28 September 2013 (UTC)

there's some that aren't listed here

http://wiki.scratch.mit.edu/w/api.php?action=query&meta=siteinfo&format=jsonfm&siprop=magicwords

save for the ones added through the ParserFunctions extension

you can change the format parameter if you want
Mathfreak231 (talk | contribs) 20:41, 1 February 2014 (UTC)

There is a new version of this page now

Many of you who care about this page might notice the complete and utter revamp I put in it. Some background: I made another version of this page that was much more personalized to the SW over at Help:Magic Words (that page is now a redirect to this one). I've finished it today, and with KrIsMa's approval I copied the contents over to this page. This page is now the one true (and good) source for help on Scratch Wiki magic words.
Kenny2scratch logo.jpg kenny2scratch  Talk  Contribs  Directory 
05:55, 19 May 2017 (UTC)