[WikiEN-l] Date conditional switching templates
Carcharoth
carcharothwp at googlemail.com
Tue May 12 01:26:12 UTC 2009
Better to say "as of <DATE>, this is known". That way the reader knows
they are reading something written at a certain date, and editors know
from what point they need to carry on updating. If things change, the
conditional template will be saying the wrong thing. I'm also wary of
having templates spit out article text, as changes to the template
will affect not only current versions of the article, but also the old
versions of the article if you look at them in the page history.
Carcharoth
On Tue, May 12, 2009 at 2:16 AM, stevertigo <stvrtg at gmail.com> wrote:
> Wondering how difficult to write a template (or templates) to deal with the
> future tense / past event problem.
> I imagine that its not too difficult for someone who knows what they are
> doing, and simply involves writing a conditional switch template that shows
> one text until a certain date, upon which it shows another.
>
> "The re-imagined Sledge Hammer! {{dateswitch|will premeire|premeired|on
> June 19th, 2009|in mid-June}}, starring Paul
> Reubens as the titular character, and Abe Vigoda as his sidekick, Abe."
>
> Naturally the "dateswitch" template takes the two values and by some genious
> of technology hides the one and shows the other, switching them on the
> stated date. I added the "in mid-June" just to indicate the possibility that
> the date itself might not be desired visible text, but I'm not clear about
> how words like "on" would affect the parsing of a timestamp.
>
> The uncertainty of stating something "will" or "is due to" doesn't seem to
> be as big an issue as the past-tense problem.
>
> -SV
> _______________________________________________
> WikiEN-l mailing list
> WikiEN-l at lists.wikimedia.org
> To unsubscribe from this mailing list, visit:
> https://lists.wikimedia.org/mailman/listinfo/wikien-l
>
More information about the WikiEN-l
mailing list