Template:Start date and age: Difference between revisions
use Template:Trim on month to avoid #time error if caller has leading or trailing whitespace |
imported>Wbm1058 editors are pulling Wikidata to use for this template's parameters and often there is no date in Wikidata. This is considered "normal" so just return a blank when parameters 1, 2 and 3 are missing rather than an error. See Template:Start date and age/testcases#Empty/Missing parameters |
||
(One intermediate revision by one other user not shown) | |||
Line 28: | Line 28: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | -->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | ||
-->|{{Error|Error: first parameter is missing.|tag=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}} }} }}<!-- | |||
-->}}<!-- | -->}}<!-- | ||