HRWiki:Sandbox
From Homestar Runner Wiki
(Difference between revisions)
Defender1031 (Talk | contribs) (add nowiki) |
|||
Line 74: | Line 74: | ||
|} | |} | ||
:Not in the slightest. Thanks for playing. {{User:DeFender1031/sig}} 19:16, 21 May 2009 (UTC) | :Not in the slightest. Thanks for playing. {{User:DeFender1031/sig}} 19:16, 21 May 2009 (UTC) | ||
+ | |||
+ | I hope I do well on the test |
Revision as of 00:24, 22 May 2009
- Years since 21 May 2007: 18
- Years since 18 May 2007: 18
- Years since 1976: 49
- Years since May 1976: 49
- Years since June 1976: 49
- Years since 20 years ago: 20
- Years since last week: 0
- Years since next year: -1
- Years since 26 fortnights ago: 0
- Years since 27 fortnights ago: 1
- Years since Halloween 1986: Expression error: Unexpected < operator
- Days since 18 May 2009: 6002
- It's not off. If we are going by UTC Time, it's correct. Homestar-Winner (talk) 01:36, 20 May 2009 (UTC)
- Yeah, you're right, I just realized that. Here are some other tests:
- Days since yesterday: 1
- Days since next year: -365
- Days since April 3, 1982: 15909
But this one currently won't work:
- Hey, in a few months, I'll be ten thousand days old! Cool! --Jay (Gobble) 01:42, 20 May 2009 (UTC)
- Well, I left it open for Dot com to come up with a solution... but, instead, he just removed all hints of it. Whatever. At least it works for anything from the last few decades. --Jay (Gobble) 01:48, 20 May 2009 (UTC)
- All hints of what? Sure we could mess with all the leap years and make it work for any year, but what would be the use? There's no practical use on this wiki for dates prior to 1970 (or, really, around the turn of this century), so anything more is just academic. — It's dot com 01:52, 20 May 2009 (UTC)
- Not sure that's true, we may need to deal with old-timey dates or whatnot... — Defender1031*Talk 01:54, 20 May 2009 (UTC)
- No, he's got a point. I was just making it with yearssince as a template without considering how useful the feature would be. --Jay (Gobble) 01:56, 20 May 2009 (UTC)
- And if we want to talk about Old-Timey stuff, like how That a Ghost was allegedly released 88 years ago, yearssince works. Why would we enumerate the days? --Jay (Gobble) 01:57, 20 May 2009 (UTC)
- And I completely missed your edit summary since I got Edit Conflict'd. ;) --Jay (Gobble) 01:58, 20 May 2009 (UTC)
- Not sure that's true, we may need to deal with old-timey dates or whatnot... — Defender1031*Talk 01:54, 20 May 2009 (UTC)
- All hints of what? Sure we could mess with all the leap years and make it work for any year, but what would be the use? There's no practical use on this wiki for dates prior to 1970 (or, really, around the turn of this century), so anything more is just academic. — It's dot com 01:52, 20 May 2009 (UTC)
- Days since 17 Jan 2038: -4469
- Days since 18 Jan 2038: -4470
- Days since 19 Jan 2038: -4471
- Days since 20 Jan 2038: Expression error: Missing operand for -
It's the infamous Y2.038k bug!
So I just found out about these ParserFunctions a minute ago. Let's see...
93 is a random number between 1 and 100. 463 + 356 is 819. 52256.8 The sandbox exists.
That's cool. Thy Not Dennis (t/c) 10:24, 20 May 2009 (UTC)
Now let me see if I know how to work the {{yearssince}} thing... I swear I didn't look at that page's wikitext.
{{#expr: {{CURRENTISOYEAR}} - {{{1}}}}}
That's it, generally. Right? Thy Not Dennis (t/c) 18:12, 21 May 2009 (UTC)
{{#expr: {{CURRENTISOYEAR}} - 15 Nov 2004 }} | Expression error: Unrecognised word "nov" |
{{#expr: {{CURRENTISOYEAR}} - January 1, 2000 }} | Expression error: Unrecognised word "january" |
{{#expr: {{CURRENTISOYEAR}} - 10/25/76 }} | 2024.9947368421 |
{{#expr: {{CURRENTISOYEAR}} - July 1983 }} | Expression error: Unrecognised word "july" |
{{#expr: {{CURRENTISOYEAR}} - d=29 | m=5 | y=1952 }} | Expression error: Unrecognised word "d" |
{{#expr: {{CURRENTISOYEAR}} - y=1995 }} | Expression error: Unrecognised word "y" |
{{#expr: {{CURRENTISOYEAR}} - y=1215 }} | Expression error: Unrecognised word "y" |
- Not in the slightest. Thanks for playing. — Defender1031*Talk 19:16, 21 May 2009 (UTC)
I hope I do well on the test