Vorlage:Tweet/Doku: Unterschied zwischen den Versionen

(add example)
(Undid revision 830219411 by Anne drew Andrew and Drew (talk))
Zeile 21: Zeile 21:
|width =          [optional: custom tweet width]
|width =          [optional: custom tweet width]
|reference =      [optional: {{tweet}} automatically creates a reference, but one can be provided to use instead. See 2nd example.]
|reference =      [optional: {{tweet}} automatically creates a reference, but one can be provided to use instead. See 2nd example.]
|lang =          [optional: language code (en, la, de, etc.) of the tweet if non-English]
|lang =          [optional: language of the tweet if non-English]
|rtl =            [optional: any value displays original tweet text as right-to-left.
|translation =    [optional: English translation of tweet if original tweet non-English]
|translation =    [optional: English translation of tweet if original tweet non-English]
}}
}}
Zeile 104: Zeile 103:
|ref=<ref>example</ref>
|ref=<ref>example</ref>
|date=Jan 1 1637
|date=Jan 1 1637
}}
{{clear}}
<pre><nowiki>
{{tweet
|lang=ar
|text=أول الشجرة بذرة
|translation=A tree begins with a seed
|rtl=yes
|name=Example
|username=example
|ref=<ref>example</ref>
|date=Jan 1 1200
}}
</nowiki></pre>
{{tweet
|lang=ar
|text=أول الشجرة بذرة
|translation=A tree begins with a seed
|rtl=yes
|name=Example
|username=example
|ref=<ref>example</ref>
|date=Jan 1 1200
}}
}}
{{clear}}
{{clear}}