Template talk:Acid

Latest comment: 17 years ago by Visviva in topic Too many #time calls?

This template is made for Wikipedia:Article Creation and Improvement Drive

Syntax

edit
{{acid|start=start date|votes=number of votes}}


Examples

edit
{{acid|start=October 22, 2006|votes=1}}
1 vote, Nominated October 22, 2006; needs at least 4 votes by October 29, 2006 Overdue
{{acid|start=2006-10-22|votes=1}}
1 vote, Nominated October 22, 2006; needs at least 4 votes by October 29, 2006 Overdue
{{acid|start=October 2, 2006|votes=1}}
1 vote, Nominated October 2, 2006; needs at least 4 votes by October 9, 2006 Overdue
{{acid|start=October 22, 2006|votes=2}}
2 votes, Nominated October 22, 2006; needs at least 4 votes by October 29, 2006 Overdue
{{acid|start=October 22, 2006|votes=3}}
3 votes, Nominated October 22, 2006; needs at least 4 votes by October 29, 2006 Overdue
{{acid|start=October 22, 2006|votes=4}}
4 votes, Nominated October 22, 2006; needs at least 8 votes by November 5, 2006 Overdue
{{acid|start=October 22, 2006|votes=5}}
5 votes, Nominated October 22, 2006; needs at least 8 votes by November 5, 2006 Overdue
{{acid|start=October 22, 2006|votes=6}}
6 votes, Nominated October 22, 2006; needs at least 8 votes by November 5, 2006 Overdue
{{acid|start=October 22, 2006|votes=7}}
7 votes, Nominated October 22, 2006; needs at least 8 votes by November 5, 2006 Overdue
{{acid|start=October 22, 2006|votes=8}}
8 votes, Nominated October 22, 2006; needs at least 12 votes by November 12, 2006 Overdue
{{acid|start=October 22, 2006|votes=9}}
9 votes, Nominated October 22, 2006; needs at least 12 votes by November 12, 2006 Overdue
{{acid|start=October 22, 2006|votes=99}}
99 votes, Nominated October 22, 2006; needs at least 100 votes by April 15, 2007 Overdue
{{acid|start=October 22, 2006|votes=999}}
999 votes, Nominated October 22, 2006; needs at least 1000 votes by August 7, 2011 Overdue

I don't get it

edit

What's the point? What's the deal with the deadlines? Why's it so complicated??? --Brandon Dilbeck 03:16, 15 November 2006 (UTC)Reply

  • The point: to use for the WP:ACID process, the deadlines: because the process is defined using deadlines, complicated: the math system at the moment lacks integer division, so I have to round it. AzaToth 23:11, 15 November 2006 (UTC)Reply

I'm looking at the math, one of the few times I've seen the modulus operator used... Sonic3KMaster(talk) 05:25, 15 November 2006 (UTC)Reply

Too many #time calls?

edit

Currently on WP:ACID, the last several noms are broken, apparently due to too many calls being made to the #time ParserFunction. Looking at the code, it seems like the first call can simply be done away with, i.e. replace

{{#time: [[F j]], [[Y]]|{{{start|October 22, 2006}}}}}
with
{{{start}}}

(since I'm not really sure I see the need for the default value either.) Would this be an OK change, or is there an overriding reason for the use of #time here? Respectfully yours, -- Visviva 15:20, 19 December 2006 (UTC)Reply

OK, I've just gone ahead and made the above change. Feel free to revert if it isn't acceptable. By the way, I must say that is/was an impressively elegant way to enforce consistent date formatting; unfortunately in this case elegance seems to have collided with software constraints. Cheers, -- Visviva 15:28, 19 December 2006 (UTC)Reply