Difference between revisions of "Wiki Program Playground"
m |
m |
||
Line 7: | Line 7: | ||
Registered users can upload images to the site via the 'Upload file' link on the left-hand toolbar. Documentation on how to then embed these images into the page can be found [http://www.mediawiki.org/wiki/Help:Images here]. The general syntax is | Registered users can upload images to the site via the 'Upload file' link on the left-hand toolbar. Documentation on how to then embed these images into the page can be found [http://www.mediawiki.org/wiki/Help:Images here]. The general syntax is | ||
− | < | + | <code><nowiki>[[File:filename.extension|options|caption]]</nowiki></code> |
This image | This image | ||
− | [[File:Cropped-Lab-Fall-2014-799.jpg | + | [[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]] |
is produced with this markup: | is produced with this markup: | ||
− | < | + | <code><nowiki>[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></code> |
=== Adding YouTube Videos === | === Adding YouTube Videos === | ||
Line 21: | Line 21: | ||
Embedding YouTube videos into pages—such as the one below—is straightforward. Just use the following tags: | Embedding YouTube videos into pages—such as the one below—is straightforward. Just use the following tags: | ||
− | < | + | <code><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></code> |
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here]. | Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here]. | ||
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo> | <embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo> |
Revision as of 02:07, 11 January 2015
This page is for demonstrating and experimenting with features that can be put to use on Wiki Program Pages. It is for anyone to use. The idea is that this is a playground where things can be tried out without worry.
Remember: You can see how to implement anything on this page by just looking at the wiki markup source and aping it.
Adding Images
Registered users can upload images to the site via the 'Upload file' link on the left-hand toolbar. Documentation on how to then embed these images into the page can be found here. The general syntax is
[[File:filename.extension|options|caption]]
This image
is produced with this markup:
[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]
Adding YouTube Videos
Embedding YouTube videos into pages—such as the one below—is straightforward. Just use the following tags:
<embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo>
Other examples are here.