Vorlage:Start date and age: Unterschied zwischen den Versionen
Aus Kryptowiki - Die freie Enzyklopädie der Kryptowährungen
C1ph4 (Diskussion | Beiträge) K (1 Version importiert) |
(use Template:Trim on month to avoid #time error if caller has leading or trailing whitespace) |
||
Zeile 20: | Zeile 20: | ||
-->|{{#if: {{{3|}}}<!-- | -->|{{#if: {{{3|}}}<!-- | ||
-->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!-- | -->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!-- | ||
− | -->|{{years or months ago|{{{1}}}|{{#time:n|1-{{{2}}}-1}}}}<!-- | + | -->|{{years or months ago|{{{1}}}|{{#time:n|1-{{trim|{{{2}}}}}-1}}}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->|{{#iferror:{{#expr:{{{1}}}}}<!-- | -->|{{#iferror:{{#expr:{{{1}}}}}<!-- | ||
Zeile 28: | Zeile 28: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | -->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!-- | ||
− | -->| | + | -->|{{Error|Error: first parameter is missing.|tag=span}}<!-- |
-->}}<!-- | -->}}<!-- | ||
Zeile 37: | Zeile 37: | ||
-->|{{{1}}}<!-- | -->|{{{1}}}<!-- | ||
-->{{#if: {{{2|}}}<!-- | -->{{#if: {{{2|}}}<!-- | ||
− | -->| -{{#time:m|1-{{{2}}}-1}}<!-- | + | -->| -{{#time:m|1-{{trim|{{{2}}}}}-1}}<!-- |
-->{{#if: {{{3|}}}<!-- | -->{{#if: {{{3|}}}<!-- | ||
-->| -{{padleft:{{{3}}}|2|0}}<!-- | -->| -{{padleft:{{{3}}}|2|0}}<!-- |
Version vom 17. Oktober 2017, 19:54 Uhr
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Spenden-Adressen:
BTC: 1EoecgUZnAjamUYaKstqwbremQqbucTaoZ
ETH: 0x0D2Ab63dfe70a7fA12f9d66eCfEA9dDc8F5173A8
XEM: NBZPMU-XES6ST-ITEBR3-IHAPTR-APGI3Y-RAAMHV-VZFJ
XVG: DGYmzxoe3ryK6MnsR13GqR9r1NThpxPcKs