Want to contribute? Join the Discord and ask for the editor role.
Template:Start date and age: Difference between revisions
Template page
m (1 revision imported) |
No edit summary Tag: 2017 source edit |
||
Line 12: | Line 12: | ||
-->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!-- | -->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--> | -->|{{{1}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><span class="noprint">{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes||;}}<!-- | --><span class="noprint">{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes||;}}<!-- | ||
Line 19: | Line 19: | ||
-->{{#if: {{{2|}}}<!-- | -->{{#if: {{{2|}}}<!-- | ||
-->|{{#if: {{{3|}}}<!-- | -->|{{#if: {{{3|}}}<!-- | ||
-->|{{time ago| | -->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!-- | ||
-->|{{years or months ago| | -->|{{years or months ago|{{{1}}}|{{#time:n|1-{{trim|{{{2}}}}}-1}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->|{{#iferror:{{#expr:{{{1}}}}}<!-- | -->|{{#iferror:{{#expr:{{{1}}}}}<!-- | ||
-->|{{time ago| | -->|{{time ago|{{{1}}}|min_magnitude=days}}<!-- | ||
-->|{{years or months ago| | -->|{{years or months ago|{{{1}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | -->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | ||
-->| | -->|{{Error|Error: first parameter is missing.|tag=span}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 37: | Line 37: | ||
-->|{{{1}}}<!-- | -->|{{{1}}}<!-- | ||
-->{{#if: {{{2|}}}<!-- | -->{{#if: {{{2|}}}<!-- | ||
-->| -{{#time:m|1-{{{2}}}-1}}<!-- | -->| -{{#time:m|1-{{trim|{{{2}}}}}-1}}<!-- | ||
-->{{#if: {{{3|}}}<!-- | -->{{#if: {{{3|}}}<!-- | ||
-->| -{{padleft:{{{3}}}|2|0}}<!-- | -->| -{{padleft:{{{3}}}|2|0}}<!-- | ||
Line 44: | Line 44: | ||
-->}}<!-- | -->}}<!-- | ||
--></span>)</span></includeonly><noinclude> | --></span>)</span></includeonly><noinclude> | ||
{{ | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 14:48, 4 May 2021
This documentation is transcluded from Template:Start date and age/doc. Changes can be proposed in the talk page.