Image Include

Every time you want to recall an image or picture, rather than using the standard [[image]] syntax, use the following code and fill in the appropriate information:

[[include picture
|pictureurl=
|heading=
|caption=
|float=
|link=
|picresize=
]]

* After |pictureurl, put the source of the image. If left blank, then an "Image Unavailable" will appear.
* After |heading, put what heading you want. If you do not want a heading, leave it blank.
* After |caption, put whatever caption you want the image to have. If you leave it blank, nothing will show.
* After |float, define either "left" (the image goes to the left) or "right" (the image goes to the right). If you leave this one blank, the image will automatically center. DO NOT define "center", or it will go to the left. Just leave it blank.
* After |link, put the URL of where you want the image to take the user when clicked on. If you leave it blank, the link will automatically be the source of the image.
* After |picresize, define how large you want the image in pixels. Default size is 195px.

For example, the following code generates the image on the bottom:

[[include picture
|pictureurl=http://www.ee.columbia.edu/~shane/img/hst_galaxy.jpg
|heading=Galaxy
|caption=I do not know what galaxy this is exactly.
|float=left
|link=
|picresize=230px
]]

You can change the colors of the heading and caption area if you wish. Just alter the background-color styling in the cells.

You could also put the vertical bars ( | ) at the end of each line rather than before. This allows special syntax better than the former.

[[include picture |
pictureurl= |
heading= |
caption= |
float= |
link= |
picresize= |
]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License