You are an anonymous user who can't edit RoboWiki.
Log in if you already have an account. If you would like to become an editor for the wiki, request an account.

Difference between revisions of "Template:Images"

From RoboWiki
Jump to navigation Jump to search
m (going to be adding more images this weekend hopefully.)
Line 16: Line 16:
 
<option>[[File:Avinand.jpg|300px|center]]<br><div style = "text-align:center">[[Avinash Sivakumar]] and his squad.</div></option>
 
<option>[[File:Avinand.jpg|300px|center]]<br><div style = "text-align:center">[[Avinash Sivakumar]] and his squad.</div></option>
 
<option>[[File:RekitRutland.png|150px|center]]<br><div style = "text-align:center">In honor of [[Mary Rutland]]'s sick roasts.</div></option>
 
<option>[[File:RekitRutland.png|150px|center]]<br><div style = "text-align:center">In honor of [[Mary Rutland]]'s sick roasts.</div></option>
<option>[[File:MarkVEXRobot.jpg|150px|center]]<br><div style = "text-align:center">[[Mark Kim]] working on a VEX Robot.</div></option>
+
<option>[[File:MarkVEXRobot.JPG|150px|center]]<br><div style = "text-align:center">[[Mark Kim]] working on a VEX Robot.</div></option>
 
</choose><noinclude>
 
</choose><noinclude>
 
==Usage==
 
==Usage==

Revision as of 22:18, 29 January 2016

MarkVEXRobot.JPG


Mark Kim working on a VEX Robot.

Usage

This is the random image selector that is shown on the main page. Every time you refresh a page with this template a different photo will show up.

Adding Images

Before you add images, please make sure they are school appropriate.

To add your favorite images, click the edit button on the top toolbar (Make sure the image in question has been uploaded to the wiki). From there, add the image in <option></option> tags. From there, add a <br>, which skips a line. Now enter your desired caption, but make sure it is inside this div tag: <div style = "text-align:center"></div>. It's probably better for you to just see how to add it.

Alternatively, send photos to poojan.r@prhsrobotics.com and they will be added eventually.

Example

 <option>[[File:ImageName.png|300px|center]]<br><div style = "text-align:center">Caption relating to image.</div></option>

Add that code under all the existing images inside the <choose></choose> tags, but replace any placeholder info with your image info.