Tips/Wiki/Make New Page

From Drexel Smart House

Jump to: navigation, search

This page covers the basics. See the links at the bottom of the page for more advanced options.
Use the Cheatsheet as a reference for commonly used bits of code. If you have any questions you need answered fast, please ask them in the discussion tab of this page.

Contents

Create a new page

Come up with a descriptive name for your new page. Type the name of your new page into the search box on the left and hit enter. Click the red "create this page" link on the search results page.
Please don't plan on changing the name of this page in the future - pages that link to it will need to be updated manually.

Tagging on the Wiki

There are currenty two types of tags we are using on the wiki. Tags are bits of text that are added to flag a part of an article . When these notations are needed, just search for the tag. This is the current list of tags:
loose end - denotes an important goal oriented task that must receive more attention or be completed.
helpme - use this tag within your text when you need assistance editing or formatting your page.

Make a new section

Use equal signs on either side of your heading, one for the top most and two for the second section and so forth. the above heading looks like this in wikicode:

==How do I make a new section?== 

Your new section will appear in the table of contents and retains heading formatting. Cascading sections are formatted as follows:

==Top Most Section==
  ===Subsection===
   ====sub-subsection====


General Formatting

Occasionally, you may need to force the wiki to do a line break; especially when making a list of links. Use the break tag anywhere:

<br>

To apply paragraph formatting to your paragraphs, use the paragraph tags before and after each paragraph, as below:

<p>paragraph contents</p>

Bullets and Lists

Use a star before each line to add a bullet;

 *Energy
 *Health
 *Efficiency
 

Use the above text to create the following bulleted list:

  • Energy
  • Health
  • Efficiency

Specialized Formatting

Ignore wiki code

Use these tags to ignore wiki code; useful for creating help documents such as this page.

<nowiki>==This code '''will be ignored'''==</nowiki>

Preformating

Use preformatting for code (any language), or when you want to type out a quick diagram using characters and text.

To display text exactly as entered in the editing box (like it's shown here), just add a space at the
beginning of each line.

Linking

The following two subsections are the basics of linking on the wiki. Please see Help:Link for a complete list of all options concerning linking on the wiki.

Linking within the wiki - Internal Links

The wiki uses titles to describe every piece of content within it, whether it is an article, picture, or file. Knowing the title name is important for when you want to create a link.
To find the title of a file, such as a picture, that you uploaded, go to File List (which can be found on the special pages or upload file page). To find the title of a page, go to special pages> All Pages and copy the name of your page. Capitalization does not matter, but spaces must be replaced by underscores. The title of this page is How_to_make_pages_on_the_Wiki.
A simple link within the wiki uses the double bracket syntax:

[[Main_Page]]  

result: Main_Page

You can change the text within the link by adding a divider after the title:

[[Main_Page|Home]] 

result: Home

Linking outside the wiki

This link to google uses the following syntax:

[http://google.com google]

Notice that the full url, including http:// is included, and that the link text is seperated from the link itself by one space.

Add or remove the table of contents

A TOC is added automatically as soon as you have more than three headers. To add one with fewer than three headers, type __FORCETOC__ anywhere on the page or __TOC__ at the position where you want to have the TOC. To remove a table of contents from a page, add __NOTOC__ anywhere on the page. The __ character before the commands is two _ characters together See Help:Section for more information.

How do I add images?

There are a few simple rules to managing your photos. They are:
1. upload the full resolution photo
2. always thumbnail the photo in your wikicode
3. thumbnails must be right or left aligned and never larger than 400px

First, make sure you are logged in. Click Upload File, on the left hand side of the wiki. Choose a file to upload and give it a descriptive name with summary. MAKE SURE THE FILE NAME IS DESCRIPTIVE!

Once your files are uploaded, click the picture icon in your page editor; this will simply add the image syntax. The rest you will need to type in yourself:

The image to the right on this page uses the following syntax:
Mountain

[[Image:Mountain.JPG|thumb|200px|right|Mountain]]
Please notice the following:
-The the wiki makes a thumbnail using the syntax 'thumb'
-The thumbnail is sized to the specified size
-The thumbnail is aligned on the right hand side of the page
-There is a caption specified; it reads Mountain

For more advanced options and syntax, please read Extended Image Syntax on Wikipedia.

The list of Mediawiki links

Here's all of the resources that the rest of this page was written from. Some of the information on the following links does not pertain to basic page editing.

Personal tools