Help:Social widgets: Difference between revisions

m
Text replacement - "#widget:Twitter|id=" to "#widget:Twitter|user="
m (Text replacement - "#widget:Twitter|id=" to "#widget:Twitter|user=")
Line 33: Line 33:
To add your Twitter to you [[Special:MyPage|user page]], use the following code:
To add your Twitter to you [[Special:MyPage|user page]], use the following code:


<pre>{{#widget:Twitter|id=TWITTERNAME}}</pre>
<pre>{{#widget:Twitter|user=TWITTERNAME}}</pre>


And make sure to replace TWITTERNAME with your Twitter handle.
And make sure to replace TWITTERNAME with your Twitter handle.
Line 42: Line 42:
For example, here's how to display Halopedia's Twitter:
For example, here's how to display Halopedia's Twitter:


<pre>{{#widget:Twitter|id=Halopedia}}</pre>
<pre>{{#widget:Twitter|user=Halopedia}}</pre>


{{#widget:Twitter|id=Halopedia}}
{{#widget:Twitter|user=Halopedia}}


----
----
If you want your twitter floated to the right, use this code on your user page:
If you want your twitter floated to the right, use this code on your user page:


<pre>{{Right|{{#widget:Twitter|id=TWITTERNAME}}}}</pre>
<pre>{{Right|{{#widget:Twitter|user=TWITTERNAME}}}}</pre>


----
----
If you want your twitter widget to be a certain size and use a dark theme you can use the following:
If you want your twitter widget to be a certain size and use a dark theme you can use the following:


<pre>{{#widget:Twitter|id=TWITTERNAME|width=350|height=500|theme=dark}}</pre>
<pre>{{#widget:Twitter|user=TWITTERNAME|width=350|height=500|theme=dark}}</pre>


Changing the "width" and "height" to whatever you want.
Changing the "width" and "height" to whatever you want.