Text
From Wikigogy
How to edit wiki markup
Contents |
[edit] Basic
You might
like to
open this help page
in a separate tab
of your browser
[edit] Text formatting
| What it looks like | What you type |
|---|---|
|
itallic bold both | ''itallic'' '''bold''' '''''both''''' |
|
Single line break is generally ignored An empty line starts a new paragraph | Single line break is generally ignored An empty line starts a new paragraph |
|
You can use HTML | You can use HTML<br/> to break lines.<br/> Use sparingly. |
|
Sign your comments on talk pages with 4 tildes: --Roger 06:02, 14 May 2006 (UTC) | Sign your comments on talk pages with 4 tildes: --~~~~ |
|
Use HTML tags sparingly. Some ways to use HTML: Put text in a typewriter font. The same
font is generally used for
Superscripts and subscripts: X2, X2 Invisible comments that only appear while editing the page. Comments should usually go on the talk page, though. | Use <b>HTML tags</b> sparingly. Some ways to use HTML: Put text in a <tt>typewriter font</tt>. The same font is generally used for <code>computer code</code>. <strike>Strike out</strike> or <u>underline</u> text, or write it <span style="font-variant:small-caps"> in small caps</span>. Superscripts and subscripts: X<sup>2</sup>, X<sub>2</sub> Invisible comments that only appear while editing the page. <!-- Note to editors: blah blah blah. --> Comments should usually go on the talk page, though. |
- For a list of HTML tags that are allowed, see http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext However, you should avoid HTML in favor of Wiki markup whenever possible.
[edit] Heading
| What it looks like | What you type |
|---|---|
|
Level 1
Headings create editable sections and page table of contents links Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. Level 2
Using more equals signs creates a subsection. Level 3
Don't skip levels, like from two to four equals signs. | == Level 1 == Headings create editable sections and page table of contents links Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. === Level 2 === Using more equals signs creates a subsection. ==== Level 3 ==== Don't skip levels, like from two to four equals signs. |
[edit] Link
You will often want to make clickable links to other pages.
| What it looks like | What you type |
|---|---|
|
Here's a link to a page named Form. You can even say forms or forming and the link will show up correctly. | Here's a link to a page named [[Form]]. You can even say [[form]]s or [[form]]ing and the link will show up correctly. |
|
You can put formatting around a link. Example: About. | You can put formatting around a link. Example: ''[[About]]''. |
|
The first letter of articles is automatically capitalized, so about goes to the same place as About. Capitalization matters after the first letter. | The ''first letter'' of articles is automatically capitalized, so [[About]] goes to the same place as [[About]]. Capitalization matters after the first letter. |
|
The quick brown fox is a page that doesn't exist yet. You could create it by clicking on the link. | [[The quick brown fox]] is a page that doesn't exist yet. You could create it by clicking on the link. |
|
You can link to a page section by its title: If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section". | You can link to a page section by its title: *[[Somepage#Example section]]. If multiple sections have the same title, add a number. [[#Example section 3]] goes to the third section named "Example section". |
|
You can make a link point to a different place with a piped link. Put the link target first, then the pipe character "|", then the link text. | You can make a link point to a different place with a piped link. Put the link target first, then the pipe character "|", then the link text. *[[Form|About Wikigogy page formats]] *[[Text#Link| How to create links]] |
|
You can make an external link just by typing a URL: http://www.apple.com You can give it a title: Apple Or leave the title blank: [1] |
You can make an external link just by typing a URL: http://www.apple.com You can give it a title: [http://www.apple.com Apple] Or leave the title blank: [http://www.apple.com] |
|
You can redirect the user to another page. | #redirect[[Official position]] |
|
Category links do not show up in line but instead at page bottom and cause the page to be listed in the category. Add an extra colon to link to a category in line without causing the page to be listed in the category: Category:Teach | [[Category]] links do not show up in line but instead at page bottom ''and cause the page to be listed in the category.'' [[Category:Help]] Add an extra colon to ''link'' to a category in line without causing the page to be listed in the category: [[:Category:Teach]] |
[edit] Image
First upload the image to Wikigogy -- click Upload file in toolbox in left sidebar, unless the image is already on Wikigogy.
Then display it on a Wikigogy page using this wiki markup syntax with or without options:
[[Image:Imagename | option | option ]]
zero or more of the following options may be declared in any order: frame | left | center | right | <width>px | thumb | border | some caption (anything not matching an option is used as alt/hover text and, with frame option, also as a caption which can contain wiki markup such as links)
| What it looks like | What you type |
|---|---|
|
Frame (it automatically floats to right) with a caption: | Frame (it automatically floats to right) with a caption: [[Image:Apple.gif|frame|Crunchy apple]] |
|
Frame, left, with a caption: | Frame, left, with a caption: [[Image:Apple.gif|frame|Crunchy apple|left]] |
|
With alt/hover text: | With alt/hover text: [[Image:Apple.gif|Crunchy apple]] |
[[Image:Apple.gif|300px]] | |
[[Image:Apple.gif|20px]] | |
[[Image:Apple.gif]] | |
[[Image:Apple.gif|left]] | |
[[Image:Apple.gif|center]] | |
[[Image:Apple.gif|right]] | |
|
To link to the image's page add a colon: Image:Apple.gif | To link to the image's page add a colon: [[:Image:Apple.gif]] |
[edit] Video
|
Video or sound: Email Roger if you want to upload video or sound files. He must enable it first. Use media: links to link directly to sounds or videos: A sound file | Use '''media:''' links to link directly to sounds or videos: [[media:Sg_mrob.ogg|A sound file]] |
[edit] Sound
|
Video or sound: Email Roger if you want to upload video or sound files. He must enable it first. Use media: links to link directly to sounds or videos: A sound file | Use '''media:''' links to link directly to sounds or videos: [[media:Sg_mrob.ogg|A sound file]] |
[edit] Table
Don't use a table unless you need to; tables make editing harder.
- See also MediaWiki's Table Help page
[edit] Table with 3 rows and 2 collumns
| What it looks like | What you type | ||||||
|---|---|---|---|---|---|---|---|
|
{| width="70%" border="1" cellpadding="10px" cellspacing="0"
| A
| Table
|-
| with 2 rows
| and 2 collumns
|-
| like
| this
|}
|
[edit] Table with 3 rows, 2 collumns and collumn titles
| What it looks like | What you type | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
{| width="70%" border="1" cellpadding="10px" cellspacing="0"
!Collumn 1 title here
!Collumn 2 title here
|-
| A
| Table
|-
| with 2 rows
| and 2 collumns
|-
| like
| this
|}
|
[edit] Advanced
Don't use advanced wiki markup unless you need it; keep pages easy to edit.
[edit] var
- {{PAGENAME}} page name -- gives you the page name.
- {{NAMESPACE}} namespace -- gives you the page's namespace.
[edit] toggle
- __NOTOC__ turns off the page's table of contents
- __NOEDITSECTION__ removes a page's section header Edit links
[edit] template
- {{hi|Rich}} inserts Template hi with Rich as parameter 1. The hi template can insert that parameter with {{{1}}}. Example bar.
- {{hii|Jennifer|bicycle|new}} inserts Template hi with Jennifer as parameter 1, bicycle as parameter 2 and new as parameter 3... Example bar.
[edit] CSS
Cascading Style Sheet declarations can be added to the MediaWiki:Monobook.css page if needed. Explain your need on its talk page if you do so. Generally it is best to use the default style of the site.
See Talk:Form/Card medium#css for some style classes available for displaying and printing similar cards. If you use those say so there
[edit] See also
- MediaWiki Help http://mediawiki.org/wiki/Help:Contents


