Template:Birth date and age: Difference between revisions
Content added Content deleted
(Created page with "<onlyinclude>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}} {{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}|{{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}} {{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}},}} {{{1|{{{year|<noinclude>1990</noinclude>}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year|<noinclude>1990</noinclude>}}}}}}-{{pad2digit|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}-{{pad2digit|{{{3|{{...") Tags: Mobile edit Mobile web edit Advanced mobile edit |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 1: | Line 1: | ||
__NOINDEX__ |
|||
<onlyinclude>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}} {{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}|{{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}} {{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}},}} {{{1|{{{year|<noinclude>1990</noinclude>}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year|<noinclude>1990</noinclude>}}}}}}-{{pad2digit|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}-{{pad2digit|{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}}</span>)</span><span class="noprint"> (age {{age | {{{1|{{{year|<noinclude>1990</noinclude>}}}}}} | {{{2|{{{month|<noinclude>1</noinclude>}}}}}} | {{{3|{{{day|<noinclude>1</noinclude>}}}}}} }})</span></onlyinclude>{{documentation}} |
<onlyinclude>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}} {{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}|{{MONTHNAME|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}} {{#expr:{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}},}} {{{1|{{{year|<noinclude>1990</noinclude>}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year|<noinclude>1990</noinclude>}}}}}}-{{pad2digit|{{{2|{{{month|<noinclude>1</noinclude>}}}}}}}}-{{pad2digit|{{{3|{{{day|<noinclude>1</noinclude>}}}}}}}}</span>)</span><span class="noprint"> (age {{age | {{{1|{{{year|<noinclude>1990</noinclude>}}}}}} | {{{2|{{{month|<noinclude>1</noinclude>}}}}}} | {{{3|{{{day|<noinclude>1</noinclude>}}}}}} }})</span></onlyinclude>{{documentation}} |
Latest revision as of 08:40, 8 August 2023
Incorrect required parameter 1=month! 1, 1990
Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it.
For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
Expand the below text for usage and other information.
Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
- Note
- Date defaults to Jan 1, 1990 (1 Jan 1990 or 1990/1/1).
- Dependencies
{{Age}}
{{MONTHNAME}}
{{MONTHNUMBER}}
{{pad2digit}}
- Parameters
1 =
year #year =
alternate year #
2 =
month #month =
alternate month #
3 =
day #day =
alternate day #
df=yes
ordf=1
show date in day number first (DD Month YYYY) format
- Examples
{{Birth date and age|year=1929|month=1|day=15}}
→ Incorrect required parameter 1=month! 15, 1929{{Birth date and age|1976|7|4}}
→ Incorrect required parameter 1=month! 4, 1976{{Birth date and age|1929|1|15|df=yes}}
→ 15 Incorrect required parameter 1=month! 1929Template:Clear
Installation Instructions
- Export this template, then import to install it.
Use edit summary:Copied from [[w:c:templates:Template:Birth date and age]]
to properly attribute this template's editors.
- There is no additional installation instructions for this template. If there is any, you may create it at Template:Birth date and age/install.