Difference between revisions of "Help:Wiki Editing"

From SDU
Jump to: navigation, search
m
 
(24 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide WikiMedia User's Guide]
 
* [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide WikiMedia User's Guide]
 
* [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki editing help].
 
* [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki editing help].
 
=BBCodes and emoticons=
 
You can make use of BBCode Syntax and emoticons to make up the text. Click [[Help:Editing_BBCode|here]] for a BBCode syntax overview.
 
  
 
=Word formatting=
 
=Word formatting=
Line 52: Line 49:
  
  
  <nowiki>[[Information|Infos!]]</nowiki>
+
  <nowiki>[[Home|Start Page]]</nowiki>
Becomes a link to the Information page but Infos! is written instead like this: [[Information|Infos!]]
+
Becomes a link to the Home page but Start Page is written instead like this: [[Home|Start Page]]
  
  
Line 65: Line 62:
 
  <nowiki>[[IpbWiki_Features#Parses_BBCode|Check out the BBCode]]</nowiki>
 
  <nowiki>[[IpbWiki_Features#Parses_BBCode|Check out the BBCode]]</nowiki>
 
Becomes: [[IpbWiki_Features#Parses_BBCode|Check out the BBCode]]
 
Becomes: [[IpbWiki_Features#Parses_BBCode|Check out the BBCode]]
 
  
 
=External linking=
 
=External linking=
Line 72: Line 68:
  
 
; Bare URL
 
; Bare URL
  <nowiki>http://www.servicedeskusers.com/</nowiki>
+
  <nowiki>http://www.servicedeskusers.com</nowiki>
Becomes http://www.servicedeskusers.com/
+
Becomes http://www.servicedeskusers.com
  
  
 
; Named link
 
; Named link
  <nowiki>[http://www.servicedeskusers.com/ ServiceDeskUsers: The Premier User Community for CA/Unicenter Service Desk]</nowiki>
+
  <nowiki>[http://www.servicedeskusers.com ServiceDeskUsers: User Community for CA/Unicenter Service Desk]</nowiki>
Becomes [http://www.servicedeskusers.com/ ServiceDeskUsers: The Premier User Community for CA/Unicenter Service Desk]
+
Becomes [http://www.servicedeskusers.com ServiceDeskUsers: User Community for CA/Unicenter Service Desk]
 +
 
 +
 
 +
=Email linking=
 +
<nowiki>[mailto:admins@servicedeskusers.com email me]</nowiki>
 +
Becomes [mailto:admins@servicedeskusers.com email me]
 +
 
 +
 
 +
<nowiki>[mailto:admins@servicedeskusers.com admins@servicedeskusers.com]</nowiki>
 +
Becomes [mailto:admins@servicedeskusers.com admins@servicedeskusers.com]
 +
 
  
 
=Lists=
 
=Lists=
Line 133: Line 139:
  
 
==Image without alt-text==
 
==Image without alt-text==
  <nowiki>[[Image:mediawiki.png]]</nowiki>
+
  <nowiki>[[Image:mediawiki.gif]]</nowiki>
[[Image:mediawiki.png]]
+
[[Image:mediawiki.gif]]
  
  
 
==Image with alt-text==
 
==Image with alt-text==
 
You add "|caption text" after the image link. This is the text most browsers will show when you hover over the image with the mouse.
 
You add "|caption text" after the image link. This is the text most browsers will show when you hover over the image with the mouse.
  <nowiki>[[Image:mediawiki.png|The MediaWiki logo]]</nowiki>
+
  <nowiki>[[Image:mediawiki.gif|The MediaWiki logo]]</nowiki>
[[Image:mediawiki.png|The MediaWiki logo]]
+
[[Image:mediawiki.gif|The MediaWiki logo]]
  
 
==Image options==
 
==Image options==
  
[[Image:mediawiki.png|thumb|The MediaWiki logo]]
+
[[Image:mediawiki.gif|thumb|The MediaWiki logo]]
 
; thumbnail, thumb
 
; thumbnail, thumb
 
: Generates an automatically resized thumbnail image (either reduced or enlarged).
 
: Generates an automatically resized thumbnail image (either reduced or enlarged).
Line 150: Line 156:
 
: If you do not specify where the image should be place it will be places to the right.
 
: If you do not specify where the image should be place it will be places to the right.
 
: Example to the right (in this example the image is enlarged because it is small):
 
: Example to the right (in this example the image is enlarged because it is small):
  <nowiki>[[Image:mediawiki.png|thumb|The MediaWiki logo]]</nowiki>
+
  <nowiki>[[Image:mediawiki.gif|thumb|The MediaWiki logo]]</nowiki>
  
  
Line 169: Line 175:
  
  
[[Image:mediawiki.png|frame|The MediaWiki logo]]
+
[[Image:mediawiki.gif|frame|The MediaWiki logo]]
 
; frame
 
; frame
 
: The image will have a frame, regardless of whether it is a thumb, and the caption text will be included as a visible caption.
 
: The image will have a frame, regardless of whether it is a thumb, and the caption text will be included as a visible caption.
Line 183: Line 189:
 
; Combining options
 
; Combining options
 
: You can combine the options as you like. Example (as you see below resizing is often not very good):
 
: You can combine the options as you like. Example (as you see below resizing is often not very good):
  <nowiki>[[Image:mediawiki.png|50px|left|none|The MediaWiki logo]]</nowiki>
+
  <nowiki>[[Image:mediawiki.gif|50px|left|none|The MediaWiki logo]]</nowiki>
[[Image:mediawiki.png|50px|left|none|The HA logo]]
+
[[Image:mediawiki.gif|50px|left|none|The HA logo]]
  
  
  <nowiki>[[Image:mediawiki.png|none|frame|The MediaWiki logo]]</nowiki>
+
  <nowiki>[[Image:mediawiki.gif|none|frame|The MediaWiki logo]]</nowiki>
[[Image:mediawiki.png|none|frame|The MediaWiki logo]]
+
[[Image:mediawiki.gif|none|frame|The MediaWiki logo]]
  
 
=Tables=
 
=Tables=
Line 208: Line 214:
 
See also [http://meta.wikimedia.org/wiki/Help:Table WikiMedia table guide]
 
See also [http://meta.wikimedia.org/wiki/Help:Table WikiMedia table guide]
  
 +
 +
=Attachments=
 +
You can reference an uploaded file using the syntax:
 +
<nowiki>[[Media:filename|caption text]]</nowiki>
 +
 +
 +
=Source Codes=
 +
<nowiki>To display code in the wiki, you can use the <source lang="xxx"></source> tags.</nowiki>
 +
{| border="1"
 +
|-
 +
! style="width:200px;" | Language or File Type
 +
! style="width:100px;" | lang reference
 +
|-
 +
| Command line
 +
| text
 +
|-
 +
| dat file
 +
| text
 +
|-
 +
| html
 +
| html4strict
 +
|-
 +
| htmpl
 +
| html4strict
 +
|-
 +
| javascript
 +
| javascript
 +
|-
 +
| schema change (mod file)
 +
| text
 +
|-
 +
| spel code
 +
| javascript
 +
|-
 +
| SQL
 +
| sql
 +
|-
 +
| txt file
 +
| text
 +
|-
 +
| XML
 +
| xml
 +
|-
 +
|}
 +
 +
 +
Here is an example using SQL :
 +
<source lang="sql">
 +
SELECT *
 +
FROM ca_contact
 +
WHERE last_name = 'Smith'
 +
</source>
  
 
=Additional hints=
 
=Additional hints=
Line 213: Line 271:
  
 
=Getting help=
 
=Getting help=
If you need help to work with the wiki then post a message in the [http://www.servicedesksuers.com/forums Wiki Forum] and we'll help you out... ;)
+
If you need help to work with the wiki then post a message in the [http://www.servicedeskusers.com/forum/index.php?showforum=25 Wiki Forum] and we'll help you out... __IPBWIKI_IMG_HTTP__www.servicedeskusers.com/forum/style_emoticons/default/wink.gif__IPBWIKI_IMG_HTTP_END__
 
+
<br><br>
[[Category:Site Help]]
+
A [[Help:Sandbox|Sandbox]] is available for you to practice utilizing the SDUwiki.
 +
<br>

Latest revision as of 18:50, 24 July 2008

Official Guides

Word formatting

Emphasize
''Emphasize'', '''strongly''', '''''very strongly'''''

Emphasize, strongly, very strongly


HTML tags you can use

Typewriter font for technical terms

<tt>monospace text</tt>

monospace text


Small text

<small>small text</small>

small text


Strikethru text

<s>strike out deleted material</s>

strike out deleted material


Headings

same as headlines/chapters/sections

First, second and third level headings

=New section=

==Subsection==

===Sub-subsection===

A first level heading is for example the "Word formatting" heading on this page. The "Bullet lists" heading on this page is an example of a 2rd level heading.

The "Table of contents" box you see at the top of this page will appear automatically when you have used 4 or more headings. First level headings are shown as x, 2rd level as x.x and so on.


Internal linking

[[Main Page]]

Becomes a link to the Main Page of this Wiki.


[[Home|Start Page]]

Becomes a link to the Home page but Start Page is written instead like this: Start Page


Linking to a headline at a wiki page.

You can link to a headline on another wiki page.

[[http://www.ipbwiki.com/IpbWiki_Features#Parses_BBCode]]

Becomes at link to the headline "Parses BBCode" at the Features page like this: IpbWiki_Features#Parses_BBCode


You can also replace the text written on the final page.

[[IpbWiki_Features#Parses_BBCode|Check out the BBCode]]

Becomes: Check out the BBCode

External linking

Remember to start with "http://".


Bare URL
http://www.servicedeskusers.com

Becomes http://www.servicedeskusers.com


Named link
[http://www.servicedeskusers.com ServiceDeskUsers: User Community for CA/Unicenter Service Desk]

Becomes ServiceDeskUsers: User Community for CA/Unicenter Service Desk


Email linking

[mailto:admins@servicedeskusers.com email me]

Becomes email me


[mailto:admins@servicedeskusers.com admins@servicedeskusers.com]

Becomes admins@servicedeskusers.com


Lists

Bullet lists

You can make bullet lists with "*".

* First level list object
** Second level list object
*** Third level list object
* Another first level list object
  • First level list object
    • Second level list object
      • Third level list object
  • Another first level list object


Numbered lists

You can make numbered lists with "#".

# First level list object
## Second level list object
### Third level list object
# Another first level list object
  1. First level list object
    1. Second level list object
      1. Third level list object
  2. Another first level list object


Mixed lists

You can even make mixed lists like this.

* You can even do mixed lists
*# and nest them
*#* like this
  • You can even do mixed lists
    1. and nest them
      • like this


Definition lists

;item
: the item's definition
item
the item's definition


Images

You can insert images using the syntax:

[[Image:filename|options|caption text]]

The last item added will always be considered the caption text.


Image without alt-text

[[Image:mediawiki.gif]]

Mediawiki.gif


Image with alt-text

You add "|caption text" after the image link. This is the text most browsers will show when you hover over the image with the mouse.

[[Image:mediawiki.gif|The MediaWiki logo]]

The MediaWiki logo

Image options

The MediaWiki logo
thumbnail, thumb
Generates an automatically resized thumbnail image (either reduced or enlarged).
Caption text is displayed directly underneath. An "enlarge"-icon is added.
If you do not specify where the image should be place it will be places to the right.
Example to the right (in this example the image is enlarged because it is small):
[[Image:mediawiki.gif|thumb|The MediaWiki logo]]


right
Makes the image right-aligned.


left
Same as above, but left aligned.


center
Same as above, but centered.


none
The image will be rendered inline, even if the thumbnail-option is set.


The MediaWiki logo
frame
The image will have a frame, regardless of whether it is a thumb, and the caption text will be included as a visible caption.
Example to the right:


sizepx
Renders a version of the image that's [size] pixels wide (e.g. '150px').
Height is computed to keep the aspect ratio (i.e. the shape of the image).
This allows both size reduction and enlargement.


Combining options
You can combine the options as you like. Example (as you see below resizing is often not very good):
[[Image:mediawiki.gif|50px|left|none|The MediaWiki logo]]
The HA logo


[[Image:mediawiki.gif|none|frame|The MediaWiki logo]]
The MediaWiki logo

Tables

{| border="1" cellpadding="5" cellspacing="3"
| 1 || 2
|-
| 3 || 4
|-
| 5 || 6
|}
1 2
3 4
5 6

See also WikiMedia table guide


Attachments

You can reference an uploaded file using the syntax:

[[Media:filename|caption text]]


Source Codes

To display code in the wiki, you can use the <source lang="xxx"></source> tags.

Language or File Type lang reference
Command line text
dat file text
html html4strict
htmpl html4strict
javascript javascript
schema change (mod file) text
spel code javascript
SQL sql
txt file text
XML xml


Here is an example using SQL : <source lang="sql"> SELECT * FROM ca_contact WHERE last_name = 'Smith' </source>

Additional hints

You can avoid that the wiki system proccessing the text (to avoid unwanted formatting) by putting <nowiki></nowiki> around the text you want to parse directly.

Getting help

If you need help to work with the wiki then post a message in the Wiki Forum and we'll help you out... __IPBWIKI_IMG_HTTP__www.servicedeskusers.com/forum/style_emoticons/default/wink.gif__IPBWIKI_IMG_HTTP_END__

A Sandbox is available for you to practice utilizing the SDUwiki.