Useful Wiki Commands

From Bilbcraft Wiki
Revision as of 23:27, 4 September 2020 by Danni (talk | contribs) (Created page with YouTube extension information.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The wiki has a couple of useful extensions designed to make creating pages a bit easier. For normal formatting, you can use WikiEditor, which should be a bar above the create page. Within that is a help page with the most common formatting commands. A more complete list is at https://www.mediawiki.org/wiki/Help:Formatting

YouTube

To embed YouTube videos, use the command

<youtube>ID of the video here</youtube>

You can find the ID of the video by going into the YouTube page of it. An example URL for a YouTube video might be https://www.youtube.com/watch?v=87Wic25LxSA - the part after v= (87Wic25LxSA) is the ID.

This means <youtube>87Wic25LxSA</youtube> produces:

Width and Height

You can change the width and height of the video box.

  • Width is controlled with width="xxx", where xxx is the number of pixels. The default is 640 pixels.
  • Height is controlled in the same way with height="xxx". The default is 385 pixels.

So the example from above could be:

<youtube width="200" height="120">87Wic25LxSA</youtube>

This produces: