Difference between revisions of "Wiki Program Playground"

From Philosophy of Biology Graduate Programs
Jump to: navigation, search
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
  
<span class="wikicode"><nowiki>[[File:filename.extension|options|caption]]</nowiki></span>.
+
<span class="wikicode"><nowiki>[[File:filename.extension|options|caption]]</nowiki></span>
  
 +
This image
  
 +
[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]
 +
 +
is produced with this markup:
 +
 +
<span class="wikicode"><nowiki>[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></span>
  
 
=== Adding YouTube Videos ===
 
=== Adding YouTube Videos ===

Revision as of 02:04, 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

Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.

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.