টেমপ্লেট:জন্ম তারিখ: সংশোধিত সংস্করণের মধ্যে পার্থক্য
সম্পাদনা সারাংশ নেই |
সম্পাদনা সারাংশ নেই |
||
১৪ নং লাইন: | ১৪ নং লাইন: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{{#ifeq: {{{3|}}} | Day | | [[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}{{#invoke:ডিজিটরূপান্তর|main|{{padleft:{{#invoke:সময়রূপান্তর|main|{{{3|{{{day}}}}}}}}|3|0}}}}]], }} {{#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}}} | 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}}} | 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}}} | 3 | {{#ifexpr: {{{3}}}<=20 | [[File:Pisces.png|13px|Pisces|class=noviewer]] [[Category:Pisces]] | [[File:Aries.png|13px|Aries|class=noviewer]] [[Category:Aries]] }} | }} | ||
২৭ নং লাইন: | ২৬ নং লাইন: | ||
{{#ifeq: {{{2}}} | 11 | {{#ifexpr: {{{3}}}<=22 | [[File:Scorpio.png|13px|Scorpio|class=noviewer]] [[Category:Scorpio]] | [[File:Sagittarius.png|13px|Sagittarius|class=noviewer]] [[Category:Sagittarius]] }} | }} | {{#ifeq: {{{2}}} | 11 | {{#ifexpr: {{{3}}}<=22 | [[File:Scorpio.png|13px|Scorpio|class=noviewer]] [[Category:Scorpio]] | [[File:Sagittarius.png|13px|Sagittarius|class=noviewer]] [[Category:Sagittarius]] }} | }} | ||
{{#ifeq: {{{2}}} | 12 | {{#ifexpr: {{{3}}}<=21 | [[File:Sagittarius.png|13px|Sagittarius|class=noviewer]] [[Category:Sagittarius]] | ([[File:Capricorn.png|13px|Capricorn|class=noviewer]] [[Category:Capricorn]] }} | }} }} | {{#ifeq: {{{2}}} | 12 | {{#ifexpr: {{{3}}}<=21 | [[File:Sagittarius.png|13px|Sagittarius|class=noviewer]] [[Category:Sagittarius]] | ([[File:Capricorn.png|13px|Capricorn|class=noviewer]] [[Category:Capricorn]] }} | }} }} | ||
{{#ifeq: {{{3|}}} | Day | [[Category:Born unknown]] | [[Category:Born {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]]}}{{#ifeq: {{{1|}}} | Year | [[Category:Born unknown]] | [[Category:Born {{{1}}}]] }}</includeonly> | {{#ifeq: {{{3|}}} | Day | [[Category:Born unknown]] | [[Category:Born {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}]]}}{{#ifeq: {{{1|}}} | Year | [[Category:Born unknown]] | [[Category:Born {{{1}}}]] }}</includeonly><noinclude> | ||
This template shows the age an links the date of birth. | |||
Use it like that: | |||
<code><nowiki>{{Date of birth|Year|Month|Day}}</nowiki></code> | |||
[[Category:Template]] | |||
[[de:Vorlage:Geburtsdatum]] | [[de:Vorlage:Geburtsdatum]] | ||
</noinclude> | </noinclude> |
২১:৩৭, ২৪ সেপ্টেম্বর ২০১৬ তারিখে সংশোধিত সংস্করণ
লুয়া ত্রুটি মডিউল:নথি এর 5 নং লাইনে: Please use mw.html instead of Module:HtmlBuilder।
জানুয়ারি ১, ১৯০০
This template shows the age an links the date of birth.
Use it like that:
{{Date of birth|Year|Month|Day}}