Help:How to edit a page/The rich editor

Sections and subsections
To begin a new section on the page, select the line of text you want as the heading. Then, in the drop down box for "Format" choose "Heading 2."

Make sure to "nest" your sections accordingly -- that is, wiki pages are written in the form of an outline, with related information in subsections,

Links and URLs
&lt;span id="anchor_name" /&gt;

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:

The id code for the video you want to show goes between the two tags:

"id code" is the code from the URL. So in our example, you would use:

Video display options
CCz1kmfqL7g You can enter parameters along with the tag to change the size of the video, to make it align left or right on the page, to include a caption, and to draw a border around the video.


 * 1) To specify how big you want the video to appear on the page, use the "size" parameter, which can have values of "tiny", "small", "normal", or "big".
 * 2) To specify that you want the video to float left on the page or right, use the "align" parameter.
 * 3) To include a caption, use the "caption" parameter.
 * 4) To put a border around the video, use the "border" parameter and specify the border's color by name (options are black, silver, gray, maroon, red, purple, fuchsia, green, lime, olive, yellow, navy, blue, teal and aqua).

Example: The video at right was inserted using the following code:

For examples on real SourceWatch pages, visit the article on Coronet Instructional Films, the Coal Issues portal or Al Franken.

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
&lt;table border="1"&gt; &lt;caption&gt;An example table&lt;/caption&gt; &lt;tr&gt; &lt;th&gt;First header&lt;/th&gt; &lt;th&gt;Second header&lt;/th&gt; &lt;th&gt;Third header&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;upper left&lt;/td&gt; &lt;td&gt;upper middle&lt;/td&gt; &lt;td rowspan=2&gt;right side&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;lower left&lt;/td&gt; &lt;td&gt;lower middle&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="3" align="center"&gt;bottom row&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; 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.

&lt;table border="1" cellpadding="5" cellspacing="0" align="center"&gt; &lt;caption&gt;An example table&lt;/caption&gt; &lt;tr&gt; &lt;th style="background:#efefef;"&gt;First header&lt;/th&gt; &lt;th colspan="2" style="background:#ffdead;"&gt;Second header&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;upper left&lt;/td&gt; &lt;td&gt; &lt;/td&gt; &lt;td rowspan=2 style="border-bottom:3px solid grey;" valign="top"&gt;right side&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="border-bottom:3px solid grey;"&gt;lower left&lt;/td&gt; &lt;td style="border-bottom:3px solid grey;"&gt;lower middle&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="3" align="center"&gt; &lt;table border="0"&gt; &lt;caption&gt;A table in a table&lt;/caption&gt; &lt;tr&gt; &lt;td align="center" width="150px"&gt;&lt;/td&gt; &lt;td align="center" width="150px"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align="center" colspan="2" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;"&gt;Two book covers&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; Acknowledgement: the content of many of the help pages in OpenCongress have been adapted from Wikipedia and SourceWatch.