# NISER EduMaterials GuidelinesWikiEditing

(Difference between revisions)
[[Image:SOCR_081107_ID_Fig4.png|300px]]
+
[[Image:NISER_081107_ID_Fig4.png|300px]]
===Tables=== ===Tables===

## This is a brief outline of the most common NISER Wiki Resource Editing Tasks and should be used in addition to the MediaWiki Editing Tutorials

### Choose a (root) page to link your new document off of

• Go to the Main NISER Wiki (Main_Page), follow the hierarchy and start at the page which is the most natural parent of the material you are going to propose. You can also generate a stand-alone Wiki document, but you should avoid that. Always try to find where your future document belongs first. Then go to this page and edit this page (edit tab on top of page) to include a link to your new document.
• In the root page you may include a code like this to generate a link to your future NISER Wiki Page: [[NISER_MainTopic_SubTopic_SubSubTopic_NewTopic_Author_Date]]. This link should be properly placed in the parent (root) page (location, context, etc.)

### Naming of your new NISER Wiki documents

• We recommend the following naming-convention to avoid potential document confusions
• For more stable links: [[NISER_MainTopic_SubTopic_SubSubTopic_NewTopic]], e.g., [1]
• For more dynamic and frequently revised documents by many people: [[NISER_MainTopic_SubTopic_SubSubTopic_NewTopic_Author_Date_Version]]

### Saving New-Page-Link in Root Page

• Now save your link in the parent (root) page: click the save page button on the bottom of the editing-mode Wiki pages. This will show you the newly redesigned root page that contains an explicit link to your new page, e.g., [[NISER_MainTopic_SubTopic_SubSubTopic_NewTopic_Author_Date_Version]]

### Edit the new NISER Wiki document

• Click on the new link that you created in the root-page, [[NISER_MainTopic_SubTopic_SubSubTopic_NewTopic_Author_Date_Version]]. This should put you directly in editing-mode of your new NISER Wiki document (unless such a page already exists, then you will see this page, and you still can get in its editing mode by clicking the edit tab-pane on the top, as before).

### Images in NISER Wiki documents

• Before you include (JPG) images in your NISER Wiki pages you must save the images (use proper names, see below) on your client computer.
• Naming your NISER Wiki Images:
• Example: NISER_Activities_CardCoinSampling_Dinov_092206_Fig1.jpg
• General Image Naming Convention: NISER_MainTopic_SubTopic_SubSubTopic_Title_Author_Date_FigNo.jpg
• Include your Image in your new Wiki document: Go back in the editing mode of your new NISER Wiki page. A variant of this command [[Image:SOCR_Activities_CI_Dinov_092206_Fig1.jpg|300px]] will include your image as follows:

### Tables

• This code generates the table below (entered one-cell per line - e.g., | cell(2,2)): {| align="center" border="1" | colspan="5" align="center"| Common Top Row |- | rowspan="3"| Common First Column | cell(2,2) | cell(2,3) | cell(2,4) | cell(2,5) |- | cell(3,2) | cell(3,3) | cell(3,4) | cell(3,5) |- | cell(4,2) | cell(4,3) | cell(4,4) | cell(4,5) |}. You can copy, paste and revise this code according to your table needs in the editing mode of your new Wiki page (remember that each cell value must the entered on a new line!)
 Common Top Row Common First Column cell(2,2) cell(2,3) cell(2,4) cell(2,5) cell(3,2) cell(3,3) cell(3,4) cell(3,5) cell(4,2) cell(4,3) cell(4,4) cell(4,5)

### Math and LaTeX expressions

• You can use either
• The complete Math/LaTeX MediaWiki doc
• In editing-mode, enter your TeX/LaTeX math expression and bound it by: $\sqrt{n}$
• Or highlight any TeX/LaTeX expression and use the $\sqrt{n}$ tool on the top of any editing-mode Wiki page to mark it specifically as LaTeX-interpreted. Once you save your new Wiki page the math expression should appear correctly rendered on the new Wiki page.
• See examples here: http://wiki.stat.ucla.edu/niser/index.php/NISER_EduMaterials_Activities_CLT

### Wiki Page Internationalization

• Remember that all NISER Wiki pages should be made available in other languages using machine translations. This is accomplished via placing the following two lines at the bottom of your new document (you need to enter the new name of your NISER Wiki page, as indicated). See the translation buttons below for examples of other languages that NISER materials are automatically translated to: <hr>* NISER Home page: http://www.niser.ucla.edu<br> {{translate|pageName=http://wiki.stat.ucla.edu/niser/index.php?title=NEW_NISER_Page_MainTopic_SubTopic_SubSubTopic_NewTopic_Author_Date_Version}}. See the bottom of this page for example of how your language translation will look like.

### Hints

• Remember that the easiest way to construct a valid and well-designed NISER Wiki page is the generate the materials, first, outside the NISER Wiki. Make sure you are satisfied with the look-feel-content of your new materials, spell-ckeck the entire document (grammer, style, etc.) Finally, when you are happy with the content, you can quickly paste your text, figure, tables, links, expressions, diagrams, etc. in the NISER Wiki page and make them available online to the community!