টেমপ্লেট:জন্ম তারিখ: সংশোধিত সংস্করণের মধ্যে পার্থক্য
সম্পাদনা সারাংশ নেই |
সম্পাদনা সারাংশ নেই |
||
১ নং লাইন: | ১ নং লাইন: | ||
<includeonly>{{# | <includeonly>{{#invoke:ডিজিটরূপান্তর|main|{{#invoke:সময়রূপান্তর|main|{{{1|{{{year}}}}}}}}}}- | ||
{{#ifeq: {{{2}}} | 2 | {{#ifexpr: {{{3}}}<=18 | [[File:Aquarius.png|13px|Aquarius|class=noviewer]] [[Category:Aquarius]] | [[File:Pisces.png|13px|Pisces|class=noviewer]] [[Category:Pisces]] }} | }} | |||
{{#ifeq: {{{2}}} | 3 | {{#ifexpr: {{{3}}}<=20 | [[File:Pisces.png|13px|Pisces|class=noviewer]] [[Category:Pisces]] | [[File:Aries.png|13px|Aries|class=noviewer]] [[Category:Aries]] }} | }} | |||
{{#ifeq: {{{2}}} | 4 | {{#ifexpr: {{{3}}}<=20 | [[File:Aries.png|13px|Aries|class=noviewer]] [[Category:Aries]] | [[File:Taurus.png|13px|Taurus|class=noviewer]] [[Category:Taurus]] }} | }} | {{#invoke:ডিজিটরূপান্তর|main|{{padleft:{{মাসেরক্রমাঙ্ক|{{#invoke:সময়রূপান্তর|main|{{{2|{{{month}}}}}}}}}}|2|0}}}}- | ||
{{#invoke:ডিজিটরূপান্তর|main|{{padleft:{{#invoke:সময়রূপান্তর|main|{{{3|{{{day}}}}}}}}|2|0}}}} | |||
{{#if:{{{df|}}} | |||
|{{#invoke:ডিজিটরূপান্তর|main|{{#expr:{{#invoke:সময়রূপান্তর|main|{{{3|{{{day}}}}}}}}}}}} {{MONTHNAME|{{#invoke:সময়রূপান্তর|main|{{{2|{{{month}}}}}}}}}} | |||
|{{মাসেরনাম|{{#invoke:সময়রূপান্তর|main|{{{2|{{{month<noinclude>|1</noinclude>}}}}}}}}}} | |||
{{#invoke:ডিজিটরূপান্তর|main|{{#expr:{{#invoke:সময়রূপান্তর|main|{{{3|{{{day<noinclude>|1</noinclude>}}}}}}}}}}}}, | |||
}} | |||
{{#ifeq: {{{3|}}} | Day | | [[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} | |||
{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]], }} | |||
{{#ifeq: {{{1|}}} | Year | | [[{{{1}}}]] }} {{#ifeq: {{{1|}}} | Year | | <br>(age: {{#ifeq: {{{2}}} | Month | {{#ifeq: {{{1}}} | Year | | ca. }} | }}{{#expr:({{{4|{{CURRENTYEAR}}}}})- | |||
({{{1}}})- | |||
(({{{5|{{CURRENTMONTH}}}}}) | |||
<({{#ifeq: {{{2|}}} | Month | 7 | {{{2}}} }})or({{{5|{{CURRENTMONTH}}}}})=({{#ifeq: {{{2|}}} | Month | 7 | {{{2}}} }})and | |||
({{{6|{{CURRENTDAY}}}}}) | |||
<({{#ifeq: {{{3|}}} | Day | 1 | | |||
{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} }}))}})}} | |||
{{#ifeq: {{{2}}} | Month | | {{#ifeq: {{{2}}} | 1 | | |||
{{#ifexpr: {{{3}}}<=20 | | |||
[[File:Capricorn.png|13px|Capricorn|class=noviewer]] | |||
[[Category:Capricorn]] | [[File:Aquarius.png|13px|Aquarius|class=noviewer]] [[Category:Aquarius]] }} | }} | |||
{{#ifeq: {{{2}}} | 2 | {{#ifexpr: {{{3}}}<=18 | [[File:Aquarius.png|13px|Aquarius|class=noviewer]] [[Category:Aquarius]] | |||
| [[File:Pisces.png|13px|Pisces|class=noviewer]] [[Category:Pisces]] }} | }} | |||
{{#ifeq: {{{2}}} | 3 | {{#ifexpr: {{{3}}}<=20 | [[File:Pisces.png|13px|Pisces|class=noviewer]] [[Category:Pisces]] | |||
| [[File:Aries.png|13px|Aries|class=noviewer]] [[Category:Aries]] }} | }} | |||
{{#ifeq: {{{2}}} | 4 | {{#ifexpr: {{{3}}}<=20 | [[File:Aries.png|13px|Aries|class=noviewer]] [[Category:Aries]] | |||
| [[File:Taurus.png|13px|Taurus|class=noviewer]] [[Category:Taurus]] }} | }} | |||
{{#ifeq: {{{2}}} | 5 | {{#ifexpr: {{{3}}}<=20 | [[File:Taurus.png|13px|Taurus|class=noviewer]] [[Category:Taurus]] | [[File:Gemini.png|13px|Gemini|class=noviewer]] [[Category:Gemini]] }} | }} | {{#ifeq: {{{2}}} | 5 | {{#ifexpr: {{{3}}}<=20 | [[File:Taurus.png|13px|Taurus|class=noviewer]] [[Category:Taurus]] | [[File:Gemini.png|13px|Gemini|class=noviewer]] [[Category:Gemini]] }} | }} | ||
{{#ifeq: {{{2}}} | 6 | {{#ifexpr: {{{3}}}<=21 | [[File:Gemini.png|13px|Gemini|class=noviewer]] [[Category:Gemini]] | [[File:Cancer.png|13px|Cancer|class=noviewer]] [[Category:Cancer]] }} | }} | {{#ifeq: {{{2}}} | 6 | {{#ifexpr: {{{3}}}<=21 | [[File:Gemini.png|13px|Gemini|class=noviewer]] [[Category:Gemini]] | [[File:Cancer.png|13px|Cancer|class=noviewer]] [[Category:Cancer]] }} | }} |
২১:৫৯, ২৪ সেপ্টেম্বর ২০১৬ তারিখে সংশোধিত সংস্করণ
This template shows the age an links the date of birth.
Use it like that:
{{Date of birth|Year|Month|Day}}