Template:Start date and age: Difference between revisions
m ১টি সংস্করণ আমদানি করা হয়েছে |
Created page with "<includeonly><!-- IMPLEMENTATION OF DATE -->{{#if: {{{1|}}}<!-- -->|{{#if: {{{2|}}}<!-- -->|{{#if: {{{3|}}}<!-- -->|{{#ifeq:{{yesno|{{{df|no}}}}}|yes<!-- -->|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}<!-- -->|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},<!-- -->}} {{{1}}}<!-- -->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!-- -->}}<!-- -->|{{{1}}}<!-- -->}}<!-- --><span class="noprint">{{#ife..." Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
# | <includeonly><!-- | ||
IMPLEMENTATION OF DATE | |||
-->{{#if: {{{1|}}}<!-- | |||
-->|{{#if: {{{2|}}}<!-- | |||
-->|{{#if: {{{3|}}}<!-- | |||
-->|{{#ifeq:{{yesno|{{{df|no}}}}}|yes<!-- | |||
-->|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}<!-- | |||
-->|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},<!-- | |||
-->}} {{{1}}}<!-- | |||
-->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!-- | |||
-->}}<!-- | |||
-->|{{{1}}}<!-- | |||
-->}}<!-- | |||
--><span class="noprint">{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes||;}}<!-- | |||
-->{{#ifeq:{{yesno|{{{br|no}}}}}|yes|<br/>| }}<!-- | |||
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|(}}<!-- | |||
-->{{#if: {{{2|}}}<!-- | |||
-->|{{#if: {{{3|}}}<!-- | |||
-->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!-- | |||
-->|{{years or months ago|{{{1}}}|{{#time:n|1-{{trim|{{{2}}}}}-1}}}}<!-- | |||
-->}}<!-- | |||
-->|{{#iferror:{{#expr:{{{1}}}}}<!-- | |||
-->|{{time ago|{{{1}}}|min_magnitude=days}}<!-- | |||
-->|{{years or months ago|{{{1}}}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | |||
-->|<!--first parameter is missing.-->{{#if: {{{2|}}}|{{Error|Error: first parameter is missing.|tag=span}}<!-- | |||
-->|{{#if: {{{3|}}}|{{Error|Error: first parameter is missing.|tag=span}} }} }}<!-- | |||
-->}}<!-- | |||
IMPLEMENTATION OF microformat date classes | |||
--><span style="display:none"> (<span class="{{#ifeq:{{yesno|{{{end|no}}}}}|yes|dtend|bday dtstart published updated}}"><!-- | |||
-->{{#if: {{{1|}}}<!-- | |||
-->|{{{1}}}<!-- | |||
-->{{#if: {{{2|}}}<!-- | |||
-->| -{{#time:m|1-{{trim|{{{2}}}}}-1}}<!-- | |||
-->{{#if: {{{3|}}}<!-- | |||
-->| -{{padleft:{{{3}}}|2|0}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--></span>)</span></includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
Revision as of 15:49, 12 November 2024
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]