Useful Code Snippets

First is a code snippet to add pictures with titles and captions:

[[include inc:picture |
pictureurl= |
heading=Example heading |
caption=Example caption |
float=right |
link= |
picresize= 150

If you uploaded the picture to the wiki, pictureurl is just the full name of the file you uploaded e.g. example-file.png

Second code snippet to add videos with titles, captions and text wrapping:

[[include inc:video |
videourl= |
heading=Example heading |
caption=Example caption |
float=right |
height= 500 |
width= 500 |

Notice that the url has to be the embed url (for youtube it's the url that has "/embed/" in the address.)

The third snippet is in case you'd like to cite multiple articles in a single in text citation you can use the following piece of code:

[[#bibitem-3 3-4]]

Where the number after "#bibitem-" corresponds to the number of the first reference you'd like to cite (in this case, number 3) and the following is simply what would be displayed as the link.
The example above would yield:

Add a New Comment

Edit | Files | Tags | Source | Print

rating: 0+x

Recent chatter

Resizing Content Around Pictures/Videos
When you put a picture or video on your page by either using the code snippet I've provided or by selecting one of the "float" position options from the image wizard, you may have run into a scenario such as the following:

In order to link your wiki page to any page outside of this Neurowiki, position your cursor to the location in the text where you would like to place your link then click the "URL link wizard" button in the editor GUI (located in the middle row, 6th button from the right).
You will then be presented with a pop up prompting you to enter some information.
In the "URL" field place the url of the desired webpage (e.g.
Next in the "Anchor text" field enter the text you would like the hyperlink to have (e.g. Google example).
Finally, click the "insert code" button and your link will be generated.

Useful Code Snippets
First is a code snippet to add pictures with titles and captions:

Neurowiki created
I am happy to announce that the 2014 Neurowiki has been created and set up!

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