Help:Detailed formatting tips

This page provides detailed wiki formatting tips.

In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column. (You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the Sandbox.)

Links and URLs


Videos
YouTube videos can be added to SourceWatch articles using tags,

Video from YouTube can be shown on any SourceWatch page using simple code. The video is not uploaded to SourceWatch, but embedded, meaning it is stored on YouTube, then called from there to be viewed on SourceWatch.

To add a YouTube video, you need the id code for the video. The easiest way to find this is to look at the URL of the You Tube page for the video. The string of letters and numbers after "v=" in the URL is the id code. So for the URL:  http://www.youtube.com/watch?v=CCz1kmfqL7g  the id code would be CCz1kmfqL7g.

YouTube videos are embedded with the code:

Character formatting

 * Note that any characters can be added inside of < / nowiki>.  Following a instruction, any characters including a left angle bracket '<' will not be interpreted as instructions and will appear on the page in the browser.  (Except, of course, the nowiki instruction.  Remove the space before and after the slash in the < / nowiki> example cited here.)

Tables
If your table doesn't look right, make sure that all &lt;tr&gt; and &lt;td&gt; tags are closed with corresponding &lt;/tr&gt; and &lt;/td&gt; tags. Do not indent lines, and do not include empty lines within a table. Otherwise, you will get spurious space above the table or even a browser crash.

Here's a more advanced example, showing some more options available for making up tables. You can play with these settings in your own table to see what effect they have. Keep in mind that though colors are possible, it's best to use them sparingly. Check the above tables to see what can be done to the text inside the cells.

Acknowledgement: the content of many of the help pages in SourceWatch have been adapted from Wikipedia.