Difference between revisions of "Wiki Program Playground"
m (→Adding Images) |
m |
||
Line 3: | Line 3: | ||
Remember: You can see how to implement anything on this page by just looking at the wiki markup source and aping it. | 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 [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> | <code><nowiki>[[File:filename.extension|options|caption]]</nowiki></code> | ||
Line 15: | Line 15: | ||
<code><nowiki>[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></code> | <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 == | |
− | Embedding YouTube videos into pages—such as the one below—is straightforward. Just use the following | + | Embedding YouTube videos into pages—such as the one below—is straightforward. Just use the following format: |
<code><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></code> | <code><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></code> |
Revision as of 02:11, 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]]
The image above was produced with the following 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 format:
<embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo>
Other examples are here.