Wiki Usage FAQ: Difference between revisions

74 bytes added ,  15 March 2021
no edit summary
No edit summary
Line 5: Line 5:
== How do I embed a Tweet? ==
== How do I embed a Tweet? ==
[[File:TweetEmbedExample.png|right|thumb|''A Tweet's id.'']]
[[File:TweetEmbedExample.png|right|thumb|''A Tweet's id.'']]
Inserting the following Widget code on a wiki page will embed a Tweet. The '''id''' parameter is the number after <code>/status/</code> in the Tweet's URL (see the image). You can find more detailed documentation on the [[Widget:Tweet|Widget's page]].
Inserting the following Widget code on a wiki page will embed a Tweet. The '''id''' parameter is the number after <code>/status/</code> in the Tweet's URL (see the image). You can find more detailed documentation on the [[Widget:Tweet|Widget's page]].
<syntaxhighlight lang="html+handlebars">{{#widget:Tweet|id=}}</syntaxhighlight>
<syntaxhighlight lang="html+handlebars">{{#widget:Tweet|id=}}</syntaxhighlight>


== How do I embed YouTube videos? ==
== How do I embed YouTube videos? ==
[[File:YouTube ID Example.jpg|right|thumb|''A YouTube video's id.'']]
Inserting the following Widget code on a wiki page will embed a YouTube video. The '''id''' parameter is the number after <code>?v=</code> in the video's URL (see the image). You can find more detailed documentation on the [[Widget:YouTube|Widget's page]].
Inserting the following Widget code on a wiki page will embed a YouTube video. The '''id''' parameter is the number after <code>?v=</code> in the video's URL (see the image). You can find more detailed documentation on the [[Widget:YouTube|Widget's page]].
<syntaxhighlight lang="html+handlebars">{{#widget:YouTube|id=}}</syntaxhighlight>
<syntaxhighlight lang="html+handlebars">{{#widget:YouTube|id=}}</syntaxhighlight>