Editing Code
From KanWiki
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.
Contents |
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-hedings
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: [[Kankakee Public Library | 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: [[Wikipedia: Kankakee | 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: [[http://www.lions-online.org]]. 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: [http://www.lions-online.org 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: Kpl-police2.gif]]. The image will appear in its full size like this:
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: Kpl-police2.gif|100px]]. If you reduce your image size, clicking on it will take you to the full-size image. The image will appear like this:
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:Kpl-police2.gif|200px|thumb|left|These are Police Officers from early Kankakee history]]. The image will appear like this:
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:Kpl-police2.gif|200px|thumb|center|These are Police Officers from early Kankakee history.]] The centered image will appear like this:
The image on the right will appear like this:
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
- 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:
- Item number 1
- Item number 2
- Item number 3
- Sub-Item 1
- Sub-Sub-Item 1
- Sub-Item 1
