Template:Death date: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough remove linear seperator. |
m 25 revisions imported |
||
| (13 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{df|}}}| | <includeonly><span style="display:none">(<span class="dday deathdate">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{#expr:{{{1}}}}}<!-- | ||
-- Error checks -- | |||
-->{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} ) | |||
|  {{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}} | |||
}}{{#if:{{{2|}}}|{{#ifexpr: ( {{{2|}}} > 12 ) OR ( {{{2|}}} < 1 ) | |||
: | |  {{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}|}} | ||
}}{{#if:{{{3|}}}|{{#ifexpr: ( {{{3|}}} > 31 ) OR ( {{{3|}}} < 1 ) | |||
; | |  {{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}|}} | ||
}}{{#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}} | |||
| | |||
| [[Category:Date of death not in Wikidata]] | |||
}} | |||
}} | |||
| [[Category:Articles without Wikidata item]] | |||
}} | |||
}}</includeonly><noinclude> | |||
[[ | {{Documentation}} | ||
[[Category: | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:17, 3 September 2020
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.