Zum Inhalt springen

Vorlage:Tweet/Doku: Unterschied zwischen den Versionen

add example
(add alias language for lag)
(add example)
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 of the tweet if non-English]
|lang =          [optional: language code (en, la, de, etc.) 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 103: Zeile 104:
|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}}