Howto Edit
From MariachiWiki
Contents |
[edit]
How to edit an existing article
- Step 1 - Login: Click on the upper right corner "Create an account or log in" (create account is disabled, if you need an account you should contact Helio Takai)
- Step 2 - Find Page - Once you are logged in, you can browse web pages until you find a page that you want to edit. RED links means pages that don't exist yet - click on them will initiate the process of creating a new article.
- Step 3 - Edit - Find the edit tab (near to article, discussion). Click on it. Your screen will change to the edit page screen.
- Step 4 - Edit - You are ready to start editing. Plain text is easy to enter, as it requires you to just type in the window. However, there is a bit of syntax (in the next section) that you should now.
- Step 5 - Preview - if you want to see what you did, before saving, hit Show Preview.
- Step 6 - Save Page - when you're happy with what you have. That's it
- Note that there are icons just above the edit window that helps you with simple syntax.
[edit]
Simple Syntax
Here's few syntax that you should know:
- Sections:
- A section is started and ended with =. For example (=Introduction=) will create a section entitled Introduction. Such as "Simple Syntax" found on this page.
- If you want subsections use == instead of =
- Linking to a wiki article: Insert this in your text:
- [[Cosmic Ray]] - this will show a link to article Cosmic Ray in your text.
- Alternatively you can use this: [[Cosmic Ray|Introduction to Cosmic Rays]] to change the
text that appears instead of the article title. In this case the text Introduction to Cosmic Rays will be displayed in the text instead of Cosmic Ray.
- Linking to an external web site:
- The simplest way is just to type the web site, in square brackets [http://www.bnl.gov].
- Because it is not so convenient to have long names, you can use this instead: [http://www.bnl.gov Link to BNL], this will display Link to BNL instead of the entire web address.
- Bullet List - Start a paragraph with *. When using two stars, ** it means one level down. As shown by the lines above on this page. To number a List use # instead.
- To introduce text that will not be interpreted by the wiki, you should add <nowiki>blah</nowiki>
[edit]
Images
Dealing with images is simple.
- Step 1 Upload your image. For example a jpg or gif image. Graphs are clearest as PNG files. Make sure it is not a HUGE image, but reasonably sized (<1 Mbyte) - save using low resolution. To Upload look in the left hand side menu, and click on upload image. Follow instructions. Remember the name of the file you just have uploaded. If you forget, you can click on "Uploaded Files" to see a list of the most recent uploaded files.
- Step 2 To make the image appear in your text, use one of the following constructs:
- [[Image:Whatever.jpg|left|300px]], where Whatever.jpg is the name of the file you just uploaded, left means the image will float to the left, and 300px, is the horizontal size of the image.
- [[Image:Whatever.jpg|right|300px]], where Whatever.jpg is the name of the file you just uploaded, right means the image will float to the right, and 300px, is the horizontal size of the image.
- [[Image:Whatever.jpg|thumb|right|300px|This is a nice picture]]. Puts a frame around the picture and a caption.
[edit]
Graphs
Graphs can be uploaded as png (or jpg) files. To save the graphs in these formats you can do the following (at least in a Windows environment):
- Capture the graph to the clipboard using PrintScreen
- Paste the graph into Paint or another image editing program
- Crop the image to show just the graph
- Save as a .png file
Graphs saved in this manner as .png files can be uploaded to the wiki as described above under "Images".
[edit]
Other Resources
- Note: When on the editing page, look to the toolbar for help. As you hold the mouse over one of the icons it will show you how to create that entity. You may also click the icon to insert the default example and then change the contents to your own.
There are many other resources available on the internet on the syntax and editing. Here's few
