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)
Line 1: Line 1:
<includeonly><span class="bday">{{padleft:{{{3|{{{day|}}}}}}|1|0}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{1|{{{year|}}}}}}</span><span class="noprint">; {{age in days|{{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }} {{#ifexpr: {{age in days|{{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }} = 1 | day | days}} ago</span></includeonly><noinclude>
<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>
{{pp-semi-template|small=yes}}
{{pp-semi-template|small=yes}}
{{documentation}}
{{documentation}}

Revision as of 15:42, 26 December 2008

Template:Pp-semi-template