Template talk:Yesterday

From Wikipedia, the free encyclopedia

Contents

Documentation - Discussion

[edit] Documentation

{{yesterday}} does something, edit this line saying what.

[edit] Usage

{{Yesterday}} - no parameter if applicable

{{Yesterday|_}} - positional parameter

{{Yesterday|type=short}} - named parameter

[edit] Example

Code Result
{{Yesterday}} June 8, 2008
{{Yesterday|_}} June_8,_2008
{{Yesterday|type=short}} June 8

[edit] See also

[edit] Discussion

Contents

Add issues below as you see fit, sign with ~~~~

Would this be better accomplished with {{calcsubtract}}, as {{tomorrow}} is with {{calcadd}}? -- Alfakim --  talk  16:34, 10 April 2006 (UTC)

Since 'calcsubtract' has logic to cover a wider variety of conditions I think 'yesterday' is actually slightly more efficient as is, but see m:ParserFunctions. When implemented that should vastly simplify all 'date math' type processes (among other things). I think we should plan to revise these at that time and not worry too much about precise methodology at present. --CBDunkerson 17:09, 10 April 2006 (UTC)
Seems to be implemented already --SgeoTC 21:05, 15 April 2006 (UTC)
Yes, as of two days ago. --CBDunkerson 21:37, 15 April 2006 (UTC)