From The Peopling of New York City

Contents

Formatting text

There are many conventions for text formatting. Some of the most useful ones, including how to add an email link, can be found here.

There are also more detailed formatting guidelines, including subsection, lists, and link-making here.

How to upload a music file

1. Click on "Upload file" in the toolbox in the lower left corner of the main page.
2. In the new window that pops up, click "Browse" to locate the file on your computer you want to upload.
3. In the "Destination filename" field, name the file whatever you'd like
4. In the summary, you can provide a brief description of the file
5. Click "upload"
6. If the file is above a certain size, you may see a warning message, but you can disregard it and click "save" anyway.
7. Once the file is uploaded, it is basically saved to the server, but to make it visible/audible, you'll need to create a link to it on whichever page of the wiki you choose.
8. Navigate to (or create) the page where you'd like the link to your file to appear.
9. Edit that page and click on the 7th button from the left on the toolbar ("Media file link"). Inside the double brackets that appear, and after the word "Media:" enter your filename.extension--eg., for an mp3 of the song "Yesterday," inside the double brackets should look like this: Media:Yesterday.mp3

How to upload an image

1. Decide first if you want the image to be embedded (immediately visible online) or linked to (you must click on the link to view the image)
2. Follow steps 1 through 8 above for uploading a music file
3. (You are now at "step 9") Edit that page and click on either the 6th ("Embedded image file") or 7th ("Media file link") buttons from the left, depending on whether you want your image to be linked to or embedded.
4. For an embedded image, after the word "Image:" in the double brackets, type the name of your image and make sure the extension is correct. The image will appear where the link is.
5. For a linked image, after the word "Media" inside the double brackets, type the name of your image and make sure the extension is correct.
6. An embedded image will appear as below. (Thumbnails are possible and pixel size can be specified.)

TEST.IMAGE.jpg


7. A linked image will appear as follows. Click on the link to view.

Media:TEST.IMAGE.jpg

8. A 100-pixel thumbnail image will appear as below. To create a thumbnail, click edit to view the code. You merely insert the exact name of the image after the colon, then specify it's location, size, and visible name after each pipe.
city scene


How to link to a section within a page (anchors)

1. In the page edit mode, at the point where you want the link to appear, click on the "Internal link" button on the toolbar.
2. In the double brackets, your anchor should look like this: [[page_name#section_name|anchor_name]]. (the line between section_name and anchor_name is called a "pipe," and is obtained by pressing shift-back slash.) For example, edit this page to view how I made this word link to the above section, "How to upload an image."
3. To link to an arbitrary place within a page (not necessarily at the beginning of a section) you need to create an anchor target. I placed an anchor target on this page just after instruction number 5 in the "How to upload a music file" section. The target will only be visible in the Edit mode, and appears in between two <span.../span> tags. After inserting the anchor target, follow step 2 above, using the name of your newly created anchor target instead of the section name in the double brackets. Click on this anchor to see how it works.

How to insert a flash file

1. Upload your flash file to the wiki.
2. Go to the page where you want to insert the file, in edit mode, type "<flash>file=filename.swf|attribute=value|...</flash>", inserting the exact name of your filename where indicated. There are a variety of attributes you can specify, such as the width, height, image quality, etc.. See here for a complete list of these attributes.

How to embed a YouTube video

1. Edit the page in which you want to insert the video
2. Type your YouTube video's number surrounded by an opening and closing tag as follows:
"<videoflash>(YourVideoNumber)</videoflash>."
That's it. Edit this page to see how easy it was to embed this video.

How to embed a GoogleMap

Type your googlemap coordinates in between an opening and closing tag: "<googlemap lat=(some lattitude degree) lon=(some longitudinal degree)</googlemap>."

For detailed instructions on how how to add pointers, annotations, etc. to your googlemaps, see this page


How to embed a flash video

1. Convert any m4a or mp4 podcast files to flash (swf or flv), and then upload the file to the wiki.
2. Edit the page where the video will be and type the following: "<flash>file=(your file name)</flash>
3. For more details about formatting your video, see this page