Шаблон:Датум смрти — разлика између измена

С Википедије, слободне енциклопедије
Садржај обрисан Садржај додат
Нема описа измене
ознаке: враћена измена мобилна измена мобилно веб-уређивање
м Враћене измене корисника 109.163.169.33 (разговор) на последњу измену корисника Ђидо
ознаке: враћање враћена измена
Ред 3: Ред 3:
--><!--{{#if:{{NAMESPACE}}||{{#ifeq:{{lc:{{{кат|}}}}}|не||[[Категорија:Умрли {{{1|{{{year}}}}}}.]]}}}}--><!--
--><!--{{#if:{{NAMESPACE}}||{{#ifeq:{{lc:{{{кат|}}}}}|не||[[Категорија:Умрли {{{1|{{{year}}}}}}.]]}}}}--><!--


-->{{#ifeq: {{NAMESPACENUMBER}} | 0
-->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if:{{#invoke:wd|label|raw}}|{{#if:{{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}}|{{#if:{{#invoke:wd|properties|raw|P570}}||[[Категорија:Датум смрти не постоји на Википодацима]]}}}}|[[Категорија:Чланци без података на Википодацима]]}}}}<!--
| {{#if: {{#invoke:wd|label|raw}}
| {{#if: {{#invoke:String|match|{{#invoke:wd|properties|raw|P31}},|Q5,|1|1|true|}}
| {{#if: {{#invoke:wd|properties|raw|P570}}
|
| [[Категорија:Датум смрти не постоји на Википодацима]]
}}
}}
| [[Категорија:Чланци без података на Википодацима]]
}}
}}<!--


--><span<!-- style="white-space:nowrap;"-->><!-- start of "if all" >>>
--><span style="white-space:nowrap;"><!-- start of "if all" >>>
-->{{if all|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=4|then={{#expr:{{{3}}}}}. {{MONTHNAME|{{{2}}}}}&nbsp;|else={{if all|{{{1|}}}|{{{2|}}}|{{{4|}}}|n=3|then={{MONTHNAME|{{{2}}}}}&nbsp;|else=<!-- start of "if both" >>>
-->{{if all|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=4|then={{#expr:{{{3}}}}}. {{MONTHNAME|{{{2}}}}}&nbsp;|else={{if all|{{{1|}}}|{{{2|}}}|{{{4|}}}|n=3|then={{MONTHNAME|{{{2}}}}}&nbsp;|else=<!-- start of "if both" >>>
-->{{resize|85%|2={{if both|{{{1|}}}|{{{4|}}}||{{#if:{{{1|}}}|<!-- if 1 and not 4 >>>>>>>>>>
--><small>{{if both|{{{1|}}}|{{{4|}}}||{{#if:{{{1|}}}|<!-- if 1 and not 4 >>>>>>>>>>
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}<!-- <<<<<<<<<< if 1 and not 4 -->|{{#if:{{{4|}}}|<!-- if 4 and not 1 >>>>>>>>>>
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Недостаје година или потпун датум рођења.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}<!-- <<<<<<<<<< if 1 and not 4 -->|{{#if:{{{4|}}}|<!-- if 4 and not 1 >>>>>>>>>>
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}<!-- <<<<<<<<<< if 4 and not 1 -->|<!-- if both 1 and 4 are empty >>>>>>>>>>
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Недостаје година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}<!-- <<<<<<<<<< if 4 and not 1 -->|<!-- if both 1 and 4 are empty >>>>>>>>>>
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум<br />рођења ''и'' година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}||{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или датум рођења<br />''и'' година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}{{#if:{{{2|}}}{{{3|}}}||{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум<br />рођења ''и'' година или датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}{{#if:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Шаблон је потпуно празан!}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}<!-- <<<<<<<<<< if both 1 and 4 are empty -->}}}}}}<!-- <<< end of "if both"
-->{{if both|{{{2|}}}{{{3|}}}|{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум<br />рођења ''и'' година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}|{{#if:{{{5|}}}{{{6|}}}||{{#if:{{{2|}}}{{{3|}}}|{{error|Грешка: Недостаје година или датум рођења<br />''и'' година или потпун датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}{{#if:{{{2|}}}{{{3|}}}||{{#if:{{{5|}}}{{{6|}}}|{{error|Грешка: Недостаје година или потпун датум<br />рођења ''и'' година или датум смрти.}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}{{#if:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}||{{error|Грешка: Шаблон је потпуно празан!}}{{main other|[[Категорија:Странице које користе шаблон за датум смрти са невалидним датумом]]}}}}}}}}<!-- <<<<<<<<<< if both 1 and 4 are empty -->}}}}</small><!-- <<< end of "if both"
-->}}}}<!-- <<< end of "if all"
-->}}}}<!-- <<< end of "if all"
-->{{if both|{{{1|}}}|{{{4|}}}|{{{1}}}.}}<span style="display:none">(<span class="dday deathdate">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span><small>{{resize|85%|2=<!--BEGIN!!!-->{{#if:{{{1|}}}<!--begin#1-->
-->{{if both|{{{1|}}}|{{{4|}}}|{{{1}}}.}}<span style="display:none">(<span class="dday deathdate">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span><small><!--BEGIN!!!-->{{#if:{{{1|}}}<!--begin#1-->
|{{#if:{{{5|}}}<!--begin#2-->
|{{#if:{{{5|}}}<!--begin#2-->
|{{#if:{{{6|}}}<!--begin#3-->
|{{#if:{{{6|}}}<!--begin#3-->
|{{if all<!--begin#4-->|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=3|then=<!-- if all values are specified -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|{{{2}}}|{{{3}}}}}{{Nbsp}}год.</span>)|else={{if both<!--begin#5-->|{{{2|}}}|{{{4|}}}|<!-- if all values except death day are specified
|{{if all<!--begin#4-->|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=3|then=<!-- if all values are specified -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|{{{2}}}|{{{3}}}}} год.</span>)|else={{if both<!--begin#5-->|{{{2|}}}|{{{4|}}}|<!-- if all values except death day are specified
-->{{#ifexpr:{{{2}}}>{{{5}}}<!--begin#6-->
-->{{#ifexpr:{{{2}}}>{{{5}}}<!--begin#6-->
|<!-- if all values except death day are specified and birth month did not reach death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}}{{Nbsp}}год.</span>)
|<!-- if all values except death day are specified and birth month did not reach death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}} год.</span>)
|{{#ifexpr:{{{2}}}<{{{5}}}<!--begin#7--><!-- if all values except death day are specified and birth month did reach death month -->
|{{#ifexpr:{{{2}}}<{{{5}}}<!--begin#7--><!-- if all values except death day are specified and birth month did reach death month -->
|&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}}{{Nbsp}}год.</span>)
|&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}} год.</span>)
|<!-- if all values except death day are specified and birth month is death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}}/{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}}{{Nbsp}}год.</span>)}}<!--end#7-->}}<!--end#6-->
|<!-- if all values except death day are specified and birth month is death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}}/{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}} год.</span>)}}<!--end#7-->}}<!--end#6-->
|<!--else#5-->{{#if:<!--begin#6-->{{{4|}}}|<!-- if all values except death month or both death month and death day are specified
|<!--else#5-->{{#if:<!--begin#6-->{{{4|}}}|<!-- if all values except death month or both death month and death day are specified
-->{{#ifexpr:{{{1}}}>{{{4}}}<!--begin#7-->
-->{{#ifexpr:{{{1}}}>{{{4}}}<!--begin#7-->
|<!-- if all values except death month or both death month and death day are specified and birth year did not reach death year -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}}/{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}}{{Nbsp}}год.</span>)
|<!-- if all values except death month or both death month and death day are specified and birth year did not reach death year -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|1|1}}/{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|12|31}} год.</span>)
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#8--><!-- if all values except death month or both death month and death day are specified and birth year did reach death year... -->
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#8--><!-- if all values except death month or both death month and death day are specified and birth year did reach death year... -->
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
-->|<!-- if all values except death month or both death month and death day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0{{Nbsp}}год.</span>)}}<!--end#8-->}}<!--end#7-->}}<!--end#6-->}}<!--end#5-->}}<!--end#4-->
-->|<!-- if all values except death month or both death month and death day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0 год.</span>)}}<!--end#8-->}}<!--end#7-->}}<!--end#6-->}}<!--end#5-->}}<!--end#4-->
|<!--else#3-->{{if both<!--begin#4-->|{{{2|}}}{{{3|}}}{{{5|}}}|{{{4|}}}|{{#ifexpr:{{#if:{{{2|}}}|{{{2|}}}|0}}>{{{5}}}<!--begin#5-->
|<!--else#3-->{{if both<!--begin#4-->|{{{2|}}}{{{3|}}}{{{5|}}}|{{{4|}}}|{{#ifexpr:{{#if:{{{2|}}}|{{{2|}}}|0}}>{{{5}}}<!--begin#5-->
|<!-- if all values except birth day or both birth and death day are specified and birth month did not reach death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|1|1|{{{1}}}|{{{2}}}|{{#if:{{{3|}}}|{{{3|}}}|31}}}}{{Nbsp}}год.</span>)
|<!-- if all values except birth day or both birth and death day are specified and birth month did not reach death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|1|1|{{{1}}}|{{{2}}}|{{#if:{{{3|}}}|{{{3|}}}|31}}}} год.</span>)
|{{#ifexpr:{{#if:{{{2|}}}|{{{2|}}}|13}}<{{{5}}}<!--begin#6--><!-- if all values except birth day or both birth and death day are specified and birth month did reach death month -->
|{{#ifexpr:{{#if:{{{2|}}}|{{{2|}}}|13}}<{{{5}}}<!--begin#6--><!-- if all values except birth day or both birth and death day are specified and birth month did reach death month -->
|&ensp;(<span title="смртна доб">{{age|{{{4}}}|12|31|{{{1}}}|{{{2}}}|{{#if:{{{3|}}}|{{{3|}}}|1}}}}{{Nbsp}}год.</span>)
|&ensp;(<span title="смртна доб">{{age|{{{4}}}|12|31|{{{1}}}|{{{2}}}|{{#if:{{{3|}}}|{{{3|}}}|1}}}} год.</span>)
|<!-- if all values except birth day or both birth and death day are specified and birth month is death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|31|{{{1}}}|{{{5}}}|{{#if:{{{3|}}}|{{{3|}}}|1}}}}/{{age|{{{4}}}|{{{5}}}|1|{{{1}}}|{{{5}}}|{{#if:{{{3|}}}|{{{3|}}}|31}}}}{{Nbsp}}год.</span>)}}<!--end#6-->}}<!--end#5-->}}<!--end#4-->}}<!--end#3-->
|<!-- if all values except birth day or both birth and death day are specified and birth month is death month -->&ensp;(<span title="смртна доб">{{age|{{{4}}}|{{{5}}}|31|{{{1}}}|{{{5}}}|{{#if:{{{3|}}}|{{{3|}}}|1}}}}/{{age|{{{4}}}|{{{5}}}|1|{{{1}}}|{{{5}}}|{{#if:{{{3|}}}|{{{3|}}}|31}}}} год.</span>)}}<!--end#6-->}}<!--end#5-->}}<!--end#4-->}}<!--end#3-->
|<!--else#2-->{{if all|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|n=6|then=|else=<!--BEGIN CONDITION TO DECIDE WHETHER TO DO else#2 OR NOT...-->{{if all<!--begin#3-->|{{{2|}}}{{{3|}}}{{{4|}}}|{{{6|}}}{{{3|}}}|{{{4|}}}|n=3|then={{#ifexpr:{{{1}}}>{{{4}}}<!--begin#4-->
|<!--else#2-->{{if all|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|n=6|then=|else=<!--BEGIN CONDITION TO DECIDE WHETHER TO DO else#2 OR NOT...-->{{if all<!--begin#3-->|{{{2|}}}{{{3|}}}{{{4|}}}|{{{6|}}}{{{3|}}}|{{{4|}}}|n=3|then={{#ifexpr:{{{1}}}>{{{4}}}<!--begin#4-->
|<!-- if two years and either death month or death day or birth day are specified and birth year did not reach death year -->&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}}{{Nbsp}}год.</span><!--Белешка 1, не брисати.-->)
|<!-- if two years and either death month or death day or birth day are specified and birth year did not reach death year -->&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}} год.</span><!--Белешка 1, не брисати.-->)
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#5--><!-- if two years and either death month or death day or birth day are specified and birth year did reach death year -->
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#5--><!-- if two years and either death month or death day or birth day are specified and birth year did reach death year -->
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
-->|<!-- if two years and either death month or death day or birth day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0{{Nbsp}}год.</span>)}}<!--end#5-->}}<!--end#4-->}}<!--end#3-->{{if both<!--begin#3-->|{{{1|}}}|{{{4|}}}|{{#if:{{{2|}}}{{{3|}}}{{{6|}}}<!--begin#4-->||&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}}{{Nbsp}}год.</span>)}}<!--end#4-->}}<!--end#3-->}}<!--end#2-->{{#if:<!--begin#2-->{{{4|}}}|{{if both|{{{2|}}}|{{{6|}}}||<!-- if all values except both birth and death month or both birth and death month and death day are specified
-->|<!-- if two years and either death month or death day or birth day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0 год.</span>)}}<!--end#5-->}}<!--end#4-->}}<!--end#3-->{{if both<!--begin#3-->|{{{1|}}}|{{{4|}}}|{{#if:{{{2|}}}{{{3|}}}{{{6|}}}<!--begin#4-->||&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}} год.</span>)}}<!--end#4-->}}<!--end#3-->}}<!--end#2-->{{#if:<!--begin#2-->{{{4|}}}|{{if both|{{{2|}}}|{{{6|}}}||<!-- if all values except both birth and death month or both birth and death month and death day are specified
-->{{#ifexpr:{{{1}}}>{{{4}}}<!--begin#3-->
-->{{#ifexpr:{{{1}}}>{{{4}}}<!--begin#3-->
|<!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year did not reach death year -->{{if both|{{{3|}}}|{{{6|}}}||{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}|||{{if both|{{#ifeq:{{{5|}}}{{{6|}}}||*}}|{{if all|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=3|then=*}}||{{if both|{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}||*}}|{{#if:{{{6|}}}|*}}||{{if both|{{#ifeq:{{{2|}}}{{{5|}}}{{{6|}}}||*}}|{{#if:{{{3|}}}|*}}||&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}}{{Nbsp}}год.</span><!--Белешка 2, не брисати.-->)}}}}}}}}}}
|<!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year did not reach death year -->{{if both|{{{3|}}}|{{{6|}}}||{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}{{{6|}}}|||{{if both|{{#ifeq:{{{5|}}}{{{6|}}}||*}}|{{if all|{{{2|}}}|{{{3|}}}|{{{4|}}}|n=3|then=*}}||{{if both|{{#ifeq:{{{2|}}}{{{3|}}}{{{5|}}}||*}}|{{#if:{{{6|}}}|*}}||{{if both|{{#ifeq:{{{2|}}}{{{5|}}}{{{6|}}}||*}}|{{#if:{{{3|}}}|*}}||&ensp;(<span title="смртна доб">{{replace|{{Age in years|{{{4}}}|{{{1}}}}}|—|/}} год.</span><!--Белешка 2, не брисати.-->)}}}}}}}}}}
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#4--><!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year did reach death year... -->
|{{#ifexpr:{{{1}}}<{{{4}}}<!--begin#4--><!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year did reach death year... -->
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
|<!-- ...then it is an error as birth year must be smaller than or equal to death year
-->|<!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0{{Nbsp}}год.</span>)}}<!--end#4-->}}}}<!--end#3-->}}<!--end#2-->}}<!--END CONDITION TO DECIDE WHETHER TO DO else#2 OR NOT...-->}}<!--end#1--><!--END!!!-->}}<!--
-->|<!-- if all values except both birth and death month or both birth and death month and death day are specified and birth year is death year -->&ensp;(<span title="смртна доб">0 год.</span>)}}<!--end#4-->}}}}<!--end#3-->}}<!--end#2-->}}<!--END CONDITION TO DECIDE WHETHER TO DO else#2 OR NOT...-->}}<!--end#1--><!--END!!!--></small><!--
-- Error checks --
-- Error checks --
--><small>{{if both|{{{1|}}}|{{{4|}}}|{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{{1|}}} ) OR ( {{{1|}}} - {{{4|}}} > 168 )
--><small>{{if both|{{{1|}}}|{{{4|}}}|{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{CURRENTYEAR}} ) OR ( {{{4|}}} > {{{1|}}} ) OR ( {{{1|}}} - {{{4|}}} > 168 )

Верзија на датум 25. јануар 2024. у 10:15

Документација шаблона[прикажи] [уреди] [историја] [освежи]

Употреба

{{датум смрти|година_смрти|месец_смрти|дан_смрти|година_рођења|месец_рођења|дан_рођења}}

Пример

{{датум смрти|2001|12|30|2000|12|30}}30. децембар 2001.(2001-12-30) (1 год.)

Категорија за праћење

Види још