Editing Code

From Kanwiki
Jump to: navigation, search

From KanWiki Jump to: navigation, search Here are some common editing codes that will help you make your article look like it fits into the KanWiki style. This code only works in the "edit" view of an article. The "article" view can not be edited.

Text

Headings

For a top-level heading, put it on a separate line surrounded by two equal signs '=='. For example, typing ==Introduction== will appear as a main heading with a line.

Sub-headings =

Surrounding text with three equal signs '===' will create a sub-heading without a line.

Bold

Surrounding text with with three apostraphes like this text, will create bold text.

Italicized Text

Surrounding text with two apostraphes like this text, will create italicized test.

Italicized & Bold Text

Surrounding text with five apostraphes like this text, will create bold and italicized test.

Links

Links Within KanWiki

To link to another article within KanWiki, use brackets surrounding the exact title of the article like this: Kankakee Public Library, which will appear in the article like this: Kankakee Public Library.

Links Within KanWiki With Alternate Text

To link to another article within KanWiki but with alternate text appearing in your article, use brackets surrounding the exact title of the article with the desired text after a pipe like this: Here is our Library, which will appear in the article like this: Here is our Library.

Links To Wikipedia Articles

To link to a Wikipedia article, use brackets surrounding the exact title of the article preceided by "Wikipedia: "like this: Wikipedia: Kankakee, which will appear in the article like this: Wikipedia: Kankakee.

Links To Wikipedia Articles With Alternate Text

To link to a Wikipedia article but with alternate text appearing in your article, use brackets surrounding the exact title of the article preceided by "Wikipedia: " with the desired text after a pipe like this: This is what Wikipedia says about our town., which will appear in the article like this:This is what Wikipedia says about our town.

Links To Outside Websites

To link to an outside webpage, surround the URL with two brackets like this: [[1]]. The link will appear as a small box and a number like this [[1]]. This format is not recommended accept as a footnote.

Links To Outside Websites With Text

To link to an outside webpage with text, surround the URL and a site description with a single set of brackets like this: This is our Library web site. It will appear like this in your article: This is our Library web site.

Images

All images that appear in KanWiki must be uploaded to our server first. In the tool box on the left side of the Main Page click "upload file". Make a note of the exact name of your image file. You will use it to embed the image into your article. Follow the directions there for uploading. Be sure your image is at least 300px in its largest dimension. Any image that is deemed inappropriate for our website will be deleted.

Embedded Images

To embed an image, surround the image name in double brackets in this format: Image:Policedpt.jpg. The image will appear in its full size like this:
Policedpt.jpg

Embedded Image at Reduced Size

To embed an image at reduced size, surround the image name in double brackets follow by the desired image size in this format: Image:Policedpt.jpg|100px. If you reduce your image size, clicking on it will take you to the full-size image. The image will appear like this:
Policedpt.jpg

Embedded Image With Border and Caption

To embed an image with a border and a caption, surround the image name in double brackets follow by the desired image size, thumb and caption in this format: Image:Policedpt.jpg|200px|thumb|left|The Kankakee Police Logo. The image will appear like this:

The Kankakee Police Logo













Moving an Embedded Image to the Right or Center

To move an image to the right or center, indicate the position in the code like this: Image:Policedpt.jpg|200px|thumb|center|The Kankakee Police Logo The centered image will appear like this:

The Kankakee Police Logo

The image on the right will appear like this:








The Kankakee Police Logo










Lists and Outlines

Bulleted Lists

To make a bulleted list, put an asterisk * before each list item on a line of its own. Add additional astersiks to create sub-items or sub-sub-items like this:


  • Item number 1
  • Item number 2
  • Item number 3
    • Sub-Item 1
      • Sub-Sub-Item 1

Numbered Lists

To make a numbered list, put a number sign # before each list item on a line of its own. Add additional number signs to create sub-items or sub-sub-items like this:


  1. Item number 1
  2. Item number 2
  3. Item number 3
    1. Sub-Item 1
      1. Sub-Sub-Item 1