Vorlage:Tweet/sandbox: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<includeonly>{{Quote box|style={{#if: {{{block|}}}|margin:1rem 40px;|}}|align={{#if: {{{left|}}}|left|{{#if: {{{block|}}}|none|right}}}}|width={{#if: {{{block|}}}|{{{width|500px}}}|{{{width|220px}}}}}|quote={{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | <includeonly>{{Quote box|style={{#if: {{{block|}}}|margin:1rem 40px;|}}|align={{#if: {{{left|}}}|left|{{#if: {{{block|}}}|none|right}}}}|width={{#if: {{{block|}}}|{{{width|500px}}}|{{{width|220px}}}}}|quote={{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | -->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | ||
-->{{#if: {{{date|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}||{{Formatting error|Empty <u>date | -->{{#if: {{{date|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}||{{Formatting error|Empty <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|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}|show=format}} | dmy | -->{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}|show=format}} | dmy | ||
||{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}|show=format}} | mdy | ||{{#ifeq: {{extract|{{{date|{{#if:{{{id|}}}|{{#invoke:TwitterSnowflake|snowflakeToDate|id_str={{{id}}}|format=%B %e, %Y}}}}}}}|show=format}} | mdy | ||
||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970'' | ||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970''<br>or removed.|nocategory={{{nocategory|}}}}} | ||
}} | }} | ||
}}<!-- | }}<!-- |