Template:Start date and age: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(fix defaults, and don't print anything if no arg)
(no documentation for this if, seems not necessary in a test)
Line 1: Line 1:
<includeonly>{{#if:{{{1|{{{year|}}}}}}|<span class="bday">{{padleft:{{{3|{{{day|{{CURRENTDAY}}}}}}}}|1|0}} {{MONTHNAME|{{{2|{{{month|{{CURRENTMONTH}}}}}}}} }} {{{1|{{{year|{{CURRENTYEAR}}}}}}}}</span><span class="noprint">; {{age in days|{{{1|{{{year|{{CURRENTYEAR}}}}}}}}| {{{2|{{{month|{{CURRENTMONTH}}}}}}}} | {{{3|{{{day|{{CURRENTDAY}}}}}}}} }} {{#ifexpr: {{age in days|{{{1|{{{year|{{CURRENTYEAR}}}}}}}} | {{{2|{{{month|{{CURRENTMONTH}}}}}}}} | {{{3|{{{day|{{CURRENTDAY}}}}}}}} }} = 1 | day | days}} ago</span>}}</includeonly><noinclude>
<includeonly><span class="bday">{{padleft:{{{3|{{{day|{{CURRENTDAY}}}}}}}}|1|0}} {{MONTHNAME|{{{2|{{{month|{{CURRENTMONTH}}}}}}}} }} {{{1|{{{year|{{CURRENTYEAR}}}}}}}}</span><span class="noprint">; {{age in days|{{{1|{{{year|{{CURRENTYEAR}}}}}}}}| {{{2|{{{month|{{CURRENTMONTH}}}}}}}} | {{{3|{{{day|{{CURRENTDAY}}}}}}}} }} {{#ifexpr: {{age in days|{{{1|{{{year|{{CURRENTYEAR}}}}}}}} | {{{2|{{{month|{{CURRENTMONTH}}}}}}}} | {{{3|{{{day|{{CURRENTDAY}}}}}}}} }} = 1 | day | days}} ago</span>}}</includeonly><noinclude>
{{pp-semi-template|small=yes}}
{{pp-semi-template|small=yes}}
{{documentation}}
{{documentation}}

Revision as of 10:26, 21 February 2009

Template:Pp-semi-template