Help:Video
From Bugwoodwiki
Author: Bugwood Network Staff
Adding videos from Bugwood Video
This command is a custom extension of MediaWiki that will talk to our video database and retrieve the video and the video citation and display it at the size you indicate. The full command to insert a video for Bugwood Video is:
<bvideo>VIDEO NUMBER|SIZE|ALIGNMENT|CAPTION</bvideo>
Pipes (vertical lines) are used to seperate the options when they are used. The options are:
- IMAGE NUMBER
- This is the 8-digit number given to the image in Bugwood Video. It is on the video detail page, search pages, and anywhere else you find the video.
- SIZE
- Your choices for this are S, M, or L. Intuitavely, these stand for Small, Medium, and Large. The Small video is 192x128, the Medium is 384x256, and the Large is 768x512. When nothing is entered, the default is S.
- ALIGNMENT
- This is the horizontal alignment of the video. The choices are right or left. The default is right.
- CAPTION
- This is whatever text you would like to be displayed below the video. The video citation is automatically displayed for each video. The caption text you enter will appear below the video but above the video citation.
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
Examples of videos inserted from Bugwood Video
| The minimum WikiText you can enter is: | |
| <bvideo>00000048</bvideo> | |
| Here are some other examples: | |
| <bvideo>00000401|left</bvideo> | |
| <bvideo>00000424|m|right|Children attending a petting zoo</bvideo> | Children attending a petting zoo |
| <bvideo>00000175|Left|L|Herding cattle using a helicopter in Texas.</bvideo> | Herding cattle using a helicopter in Texas. |