Vorlage:Tweet: Unterschied zwischen den Versionen
add date checking
K (fix) |
(add date checking) |
||
| Zeile 11: | Zeile 11: | ||
-->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | -->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | -->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy | |||
||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy | |||
||{{Formatting error|<u>Date</u> parameter [[MOS:DATE|improperly formatted]] or missing information.<br>|nocategory={{{nocategory|}}}}} | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}} | -->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}} | ||
||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}} | ||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}} | ||