Jump to content

User talk:Happy-melon: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Antime (talk | contribs)
Line 35: Line 35:
:::Then what you really want to do is something like <tt><nowiki>{{#expr: floor( {{#time:U}} / 21600 ) }}</nowiki></tt>, which gives the number of 6-hour blocks that have passed since 1 Jan 1970 (you could subtract an offset if you wanted to neaten things up). Then just alter your output based on what number you get out. Or <tt><nowiki>{{#expr: floor( {{#time:U}} / 21600 ) * 21600 }}</nowiki></tt> would give you the unix timestamp which increments in six-hour blocks. Whichever works better for you. [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 22:40, 18 May 2012 (UTC)
:::Then what you really want to do is something like <tt><nowiki>{{#expr: floor( {{#time:U}} / 21600 ) }}</nowiki></tt>, which gives the number of 6-hour blocks that have passed since 1 Jan 1970 (you could subtract an offset if you wanted to neaten things up). Then just alter your output based on what number you get out. Or <tt><nowiki>{{#expr: floor( {{#time:U}} / 21600 ) * 21600 }}</nowiki></tt> would give you the unix timestamp which increments in six-hour blocks. Whichever works better for you. [[User:Happy-melon|<b style="color:forestgreen">Happy</b>]]‑[[User talk:Happy-melon|<b style="color:darkorange">melon</b>]] 22:40, 18 May 2012 (UTC)
::::Thanks a lot, I appreciate your help, I will give it a try and let you know if all goes well. --[[User:Antime|<span style="color:#008000;background:#ADDFAD;">'''Antime'''</span>]]&nbsp;•[[User_talk:Antime|<span style="color:#008000;background:#FFFFFF;">(Talk)</span>]] 22:56, 19 May 2012 (UTC)
::::Thanks a lot, I appreciate your help, I will give it a try and let you know if all goes well. --[[User:Antime|<span style="color:#008000;background:#ADDFAD;">'''Antime'''</span>]]&nbsp;•[[User_talk:Antime|<span style="color:#008000;background:#FFFFFF;">(Talk)</span>]] 22:56, 19 May 2012 (UTC)
:::::{{done}} Well, your solution works great, you are a genius mathematician, thanks again --[[User:Antime|<span style="color:#008000;background:#ADDFAD;">'''Antime'''</span>]]&nbsp;•[[User_talk:Antime|<span style="color:#008000;background:#FFFFFF;">(Talk)</span>]] 16:32, 23 May 2012 (UTC)


== [[WT:WikiProject Harry Potter#Turning this Project into a task force?]] ==
== [[WT:WikiProject Harry Potter#Turning this Project into a task force?]] ==

Revision as of 16:32, 23 May 2012

The big yellow "you have new messages" banner was created for a reason. If you want my attention, edit this page. If I want your attention, I will edit your page. If I just want to reply out of politeness, I'll do it here and save interrupting whatever you're doing... if you're interested in what I said, watch this page and find out. If I'm keen to see your response, I will be watching your talk page, or wherever I suspect you might post it. But if you have something to say you think I need to read, the big yellow banner is kind of hard to miss...

Hi. When you recently edited The Hunger Games (film), you added a link pointing to the disambiguation page First person (check to confirm | fix with Dab solver). Such links are almost always unintended, since a disambiguation page is merely a list of "Did you mean..." article titles. Read the FAQ • Join us at the DPL WikiProject.

It's OK to remove this message. Also, to stop receiving these messages, follow these opt-out instructions. Thanks, DPL bot (talk) 10:24, 26 April 2012 (UTC)[reply]

File:AmericanFootballIE7AHM.PNG listed for deletion

A file that you uploaded or altered, File:AmericanFootballIE7AHM.PNG, has been listed at Wikipedia:Files for deletion. Please see the discussion to see why this is (you may have to search for the title of the image to find its entry), if you are interested in it not being deleted. Thank you. Cloudbound (talk) 19:34, 6 May 2012 (UTC)[reply]

File:AmericanFootballIE7HM.PNG listed for deletion

A file that you uploaded or altered, File:AmericanFootballIE7HM.PNG, has been listed at Wikipedia:Files for deletion. Please see the discussion to see why this is (you may have to search for the title of the image to find its entry), if you are interested in it not being deleted. Thank you. Cloudbound (talk) 19:35, 6 May 2012 (UTC)[reply]

Reg. Your deletion of ancestry chart of Catherine, Duchess of Cambridge

Hi! I did not understand your rationale of undoing my contribution of the ancestry chart. The summary of this chart is already given in the preceding section titled "Ancestry" and you did not deign to remove it. My chart is based on research by others such as William Addams Reitwiesner and the data is available on the net. Removing an item without proper justification and only on the basis of not believing it amounts to vandalism, as I see it. You being an administrator should be more cautious and your behaviour should be exemplary. Regards. Hrishikes (talk) 10:36, 10 May 2012 (UTC)[reply]

I did not remove it because I disbelieve it, I have reasonable respect for the sources you used and have no reason to doubt the lineage. I removed it because it is utterly irrelevant to the article. She is, indubitably, related similarly distantly to a variety of famous figures, contemporary and historical, and none of those connections are even the slightest bit notable, save perhaps the relationship to William himself on the basis of the extremely faint level of incest. Distant lineages and relationships are interesting, undoubtedly. They are not encyclopedic. Happymelon 11:28, 10 May 2012 (UTC)[reply]

call a template once every 612 hours

Hello Mr happy melon! I hope you have a free time to help me find a solution, I created a template w:ar:template:Minmaxskipgen , which will generate a random number based on seconds of time function ("{{#time:U}}"), I need a method/function to call the minmaskipgen template, to substitute the generated value, once every 12 hours; like ("{{#ifexpr:{{#expr:{{#time:hi}} = 0101}} |<includeonly>{{subst:</includeonly>{{minmaxskipgen|max=180}}}}|otherwise the value remain unchanged}}"), the problem is that the generated value will not keep the value for a duration of 612 hours, instead it will generate a new value every time the template is being called, regards.--Antime •(Talk) 04:26, 18 May 2012 (UTC)[reply]

Hi Antime. I'm afraid I don't entirely understand what you're trying to achieve here. Do you want the output of your template to change every six hours, and stay the same within each six-hour block? Happymelon 09:48, 18 May 2012 (UTC)[reply]
Thanks for your quick response, yes that what I want to achieve, I need the output to change once every 12/or 6 hours, regards--Antime •(Talk) 18:30, 18 May 2012 (UTC)[reply]
Then what you really want to do is something like {{#expr: floor( {{#time:U}} / 21600 ) }}, which gives the number of 6-hour blocks that have passed since 1 Jan 1970 (you could subtract an offset if you wanted to neaten things up). Then just alter your output based on what number you get out. Or {{#expr: floor( {{#time:U}} / 21600 ) * 21600 }} would give you the unix timestamp which increments in six-hour blocks. Whichever works better for you. Happymelon 22:40, 18 May 2012 (UTC)[reply]
Thanks a lot, I appreciate your help, I will give it a try and let you know if all goes well. --Antime •(Talk) 22:56, 19 May 2012 (UTC)[reply]
 Done Well, your solution works great, you are a genius mathematician, thanks again --Antime •(Talk) 16:32, 23 May 2012 (UTC)[reply]

I have proposed a conversion of this Project into a task force. Join in if you may. --George Ho (talk) 02:25, 22 May 2012 (UTC)[reply]