How to Edit and Create Pages on the NAPwiki
Adding to a wiki is easy. Use the following hints to help you create and edit pages. If you ever run into trouble, look at other pages that have already been created to help troubleshoot. In some cases, these directions will only be clear if you enter the editing view of this page. This allows you to see how the code is written, and to copy/paste it for yourself. Please be careful when you enter the editing view so as not to mistakenly delete anything. It is safest to enter the editing view only for the topic that you are interested. This can be done by clicking edit in the upper right corner of the section you are ready.
Creating a New Page
1. Search for title of the new page that you would like to create in the search bar on the left side of the screen. The following message will pop up on the screen...
There is no page titled "Miscellaneous Ship". You can create this page
Click on the red create this page.
Editing a Page
To edit an existing page, click on the edit tab at the top of the page. Use the buttons at the top row to format or create internal and external links. If you prefer, you can memorize the simple code for different commands in order to change formating, or you can use the buttons to make things faster.
Linking a New Page to a Category
New pages should be linked to a category, such as Ships, Treatises, Documents, etc., so that they appear on that category's page and are easy to find. Create an internal link at the top of your page with the following text...
The word "Ships" can be replaced with Treatises, Documents, etc. in order to link to the correct page.
Note: An internal link has two brackets on either side of the link title. [[ ]] In this case, the bracket's would surround the entire phrase category: Ships. Look out an existing page in the editing format to get an idea of what this formatting should look like.
Deleting a Page
Deleting a page can only be done by administrators. If you have made a mistake on the page title, it cannot be changed. If you would like that page to be deleted, contact and administrator (emails are listed on the home page) and they will delete the page for you.
Changing the Title of a Page
It is not possible to change the title of a page. Simply create a new page with the proper title and ask an administrator to delete the old page.
Adding a Table
The code to add a table is listed below. Copying and pasting this code is the easiest way to add a table. Enter the editing view of this page and copy/paste the code to your page. You can change the column and row titles, as well as fill in the boxes. Please be careful not to delete anything on this page while you are in the editing format.
|Column Title||Column Title||Column Title|
|Row Title 1||example data||example data|
|Row Title 2|
|Row Title 3|
|Row Title 4|
|Row Title 5|
|Row Title 6|
How to Add a Picture Gallery
Below is an example of a gallery. There are several ways to make galleries, the easiest may be to enter this page in editing format and copy/paste the code for the gallery below. You can change the gallery title, the number of images per row, the image labels, and the size that the image thumbnails appear.
Directions: (These will only make sense if you look at the code itself)
1. Type the title of the image immediately after Image:
2. If you want to add a thumbnail title, type a vertical line | after the image title and add a thumbnail title.
3. The thumbnail titles can be formatted by using the buttons.
4. Change the gallery title, thumbnail sizes, and images per row by editing the information in the top row of the gallery code.
There are many ways to edit a wiki and add interesting features to your page. Just because the formatting button doesn't exist doesn't mean that you can't create color or add a gallery by typing in the appropriate code. The following links are helpful.
Though this link provides information on how to add new short-cut formatting buttons, you can just use the code in the right hand column to change the formating on your page without creating an entire new button. Please don't try to create new buttons unless you are a formatting wizard, it can cause the current NAPwiki formating buttons to fail.