Difference between revisions of "Wiki syntax"

From Inkscape Wiki
Jump to navigation Jump to search
 
m
 
(27 intermediate revisions by 10 users not shown)
Line 1: Line 1:
You might want to learn simply [[how to start a page]]. If you want the details about how to edit a Wikipedia page, though, you've come to the right place.
Inkscape's wiki uses the MediaWiki software, well known from Wikipedia.
A quick look at the MediaWiki syntax is [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet available on Wikipedia,] along with [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page a more comprehensive overview.]


It's very easy to edit a Wiki page.  Simply click on the "edit this page right now!" link at the top or bottom of a Wiki page.  This will bring you to a page with a text box containing the text of that Wiki page.  Then type away, and press "Save" when finished(You can also preview your changes before saving if you like.)
To edit a page, click on the "Edit" link on the side menu (you must be logged in in order for it to become visible).  This will bring you to a page with a text box containing the text of that Wiki page.  Then type away, and press "Save page" when finished (You can also preview your changes before saving if you like.)
http://buy-cheap-lisinopril.qn.com
http://buy-cheap-lotensin.qn.com
http://buy-cheap-meclizine.qn.com
http://buy-cheap-levaquin.qn.com
http://buy-cheap-plavix.qn.com
http://buy-nortriptyline.qn.com
http://buy-penicillin-vk.qn.com
http://buy-cheap-norvasc.qn.com
http://buy-cheap-nifedipine.qn.com
http://buy-cheap-naproxen.qn.com
http://buy-cheap-monopril.qn.com
http://buy-cheap-minocycline.qn.com
http://buy-cheap-metoprolol.qn.com
http://buy-cheap-metformin.qn.com
http://cheap-spironolactone.uni.cc
http://buy-cheap-trazodone.uni.cc
http://buy-cheap-tiazac.uni.cc
http://cheap-tetracycline.uni.cc
http://buy-cheap-terazosin.uni.cc
http://buy-cheap-seroquel.uni.cc
http://buy-cheap-remeron.uni.cc
http://cheap-propranolol.uni.cc
http://cheap-promethazine.uni.cc
http://buy-cheap-prinivil.uni.cc
http://cheap-prevacid.boom.ru
http://buy-cheap-pravachol.fromru.com
http://buy-cheap-ativan.uni.cc
http://cheap-diazepam.uni.cc
http://buy-cheap-androgel.uni.cc
http://buy-cheap-alprazolam.uni.cc
http://cheap-xanax.uni.cc
http://cheap-acetaminophen.uni.cc
http://buy-cheap-zyprexa.uni.cc
http://buy-cheap-zestril.uni.cc
http://buy-cheap-zestoretic.uni.cc
http://buy-cheap-trimox.uni.cc
http://buy-cheap-motrin.uni.cc
http://buy-cheap-ibuprofen.uni.cc
http://buy-cheap-lorcet.uni.cc
http://cheap-vicodin.uni.cc
http://cheap-hydrocodone.uni.cc
http://buy-cheap-fiorinal.uni.cc
http://cheap-valium.uni.cc
http://buy-cheap-tramadol.uni.cc
http://buy-cheap-zydone.uni.cc
http://buy-imitrex-oral.uni.cc
http://buy-cheap-furosemide.uni.cc
http://buy-cheap-vicoprofen.uni.cc
http://buy-cheap-restoril.uni.cc
http://buy-cheap-temazepam.uni.cc
http://darvocet-n-100.uni.cc
http://cheap-propoxyphene.uni.cc
http://cheap-talwin-nx.uni.cc
http://buy-cheap-lortab.boom.ru
http://cheap-lortab.fromru.com
http://buy-cheap-norflex.uni.cc
http://buy-cheap-lortab.uni.cc
http://buy-cheap-lorazepam.uni.cc


http://www.ask-about-that.com http://adipex.uni.cc http://adipex-online.6x.to http://adipex-online-order.6x.to http://butalbital.uni.cc http://buy-alprazolam.uni.cc http://buy-carisoprodol.uni.cc http://buy-cheap-accupril.uni.cc http://buy-cheap-aciphex.uni.cc http://buy-cheap-actonel.uni.cc http://buy-cheap-actos.uni.cc http://buy-cheap-adipex.uni.cc http://buy-cheap-aldara.uni.cc http://buy-cheap-alprazolam.uni.cc http://buy-cheap-altace.uni.cc http://buy-cheap-amaryl.uni.cc http://buy-cheap-ambien.uni.cc http://buy-cheap-amoxil.uni.cc http://buy-cheap-androgel.uni.cc http://buy-cheap-atenolol.uni.cc http://buy-cheap-ativan.uni.cc http://buy-cheap-avandia.uni.cc http://buy-cheap-avapro.uni.cc http://buy-cheap-bextra.uni.cc http://buy-cheap-biaxin.uni.cc http://buy-cheap-bontril.uni.cc http://buy-cheap-buspar.uni.cc http://buy-cheap-captopril.uni.cc http://buy-cheap-cartia.uni.cc http://buy-cheap-cefzil.uni.cc http://buy-cheap-celebrex.uni.cc http://buy-cheap-celexa.uni.cc http://buy-cheap-cialis.uni.cc http://buy-cheap-cipro.uni.cc http://buy-cheap-claritin-d.uni.cc http://buy-cheap-clonazepam.uni.cc http://buy-cheap-clonidine.uni.cc http://buy-cheap-codeine.uni.cc http://buy-cheap-coreg.uni.cc http://buy-cheap-cozaar.uni.cc http://buy-cheap-denavir.uni.cc http://buy-cheap-diazepam.6x.to http://buy-cheap-diazepam.uni.cc http://buy-cheap-didrex.uni.cc http://buy-cheap-diflucan.uni.cc http://buy-cheap-effexor.uni.cc http://buy-cheap-estradiol.uni.cc http://buy-cheap-evista.uni.cc http://buy-cheap-fioricet.uni.cc http://buy-cheap-fiorinal.uni.cc http://buy-cheap-flexeril.uni.cc http://buy-cheap-flonase.uni.cc http://buy-cheap-fosamax.uni.cc http://buy-cheap-furosemide.uni.cc http://buy-cheap-ibuprofen.uni.cc http://buy-cheap-imitrex.uni.cc http://buy-cheap-ionamin.uni.cc http://buy-cheap-levaquin.qn.com http://buy-cheap-levitra.uni.cc http://buy-cheap-lexapro.uni.cc http://buy-cheap-lisinopril.qn.com http://buy-cheap-lorazepam.uni.cc http://buy-cheap-lorcet.uni.cc http://buy-cheap-lortab.boom.ru http://buy-cheap-lortab.uni.cc http://buy-cheap-lotensin.qn.com http://buy-cheap-meclizine.qn.com http://buy-cheap-meridia.uni.cc http://buy-cheap-metformin.qn.com http://buy-cheap-metoprolol.qn.com http://buy-cheap-minocycline.qn.com http://buy-cheap-mobic.uni.cc http://buy-cheap-monopril.qn.com http://buy-cheap-motrin.uni.cc http://buy-cheap-naproxen.qn.com http://buy-cheap-nasacort.uni.cc http://buy-cheap-nasonex.uni.cc http://buy-cheap-neurontin.uni.cc http://buy-cheap-nexium.uni.cc http://buy-cheap-nifedipine.qn.com http://buy-cheap-norflex.uni.cc http://buy-cheap-norvasc.qn.com http://buy-cheap-ortho-evra.uni.cc http://buy-cheap-paxil.uni.cc http://buy-cheap-phentermine.6x.to http://buy-cheap-plavix.qn.com http://buy-cheap-pravachol.fromru.com http://buy-cheap-prilosec.uni.cc http://buy-cheap-prinivil.uni.cc http://buy-cheap-propecia.uni.cc http://buy-cheap-protonix.uni.cc http://buy-cheap-prozac.uni.cc http://buy-cheap-remeron.uni.cc http://buy-cheap-renova.uni.cc http://buy-cheap-restoril.uni.cc http://buy-cheap-retin-a.uni.cc http://buy-cheap-seroquel.uni.cc http://buy-cheap-skelaxin.uni.cc http://buy-cheap-soma.uni.cc http://buy-cheap-sonata.uni.cc http://buy-cheap-temazepam.uni.cc http://buy-cheap-tenuate.uni.cc http://buy-cheap-terazosin.uni.cc http://buy-cheap-tiazac.uni.cc http://buy-cheap-tramadol.uni.cc http://buy-cheap-trazodone.uni.cc http://buy-cheap-tricyclen.uni.cc http://buy-cheap-trimox.uni.cc http://buy-cheap-ultram.6x.to http://buy-cheap-ultram.uni.cc http://buy-cheap-valium.uni.cc http://buy-cheap-valtrex.uni.cc http://buy-cheap-vaniqa.uni.cc http://buy-cheap-viagra.uni.cc http://buy-cheap-vicodin.6x.to http://buy-cheap-vicodin.uni.cc http://buy-cheap-vicoprofen.uni.cc http://buy-cheap-vioxx.uni.cc http://buy-cheap-wellbutrin.uni.cc http://buy-cheap-xanax.6x.to http://buy-cheap-xanax.uni.cc http://buy-cheap-xenical.uni.cc http://buy-cheap-yasmin.uni.cc http://buy-cheap-zanaflex.uni.cc http://buy-cheap-zestoretic.uni.cc http://buy-cheap-zestril.uni.cc http://buy-cheap-zithromax.uni.cc http://buy-cheap-zoloft.uni.cc http://buy-cheap-zovirax.uni.cc http://buy-cheap-zyban.uni.cc http://buy-cheap-zydone.uni.cc http://buy-cheap-zyprexa.uni.cc http://buy-cheap-zyrtec.uni.cc http://buy-hydrocodone.6x.to http://buy-hydrocodone.uni.cc http://buy-imitrex-oral.uni.cc http://buy-lorazepam.uni.cc http://buy-nortriptyline.qn.com http://buy-penicillin-vk.qn.com http://buy-phendimetrazine.uni.cc http://buy-phentermine.uni.cc http://buy-tramadol.6x.to http://buy-ultram.6x.to http://cheap-acetaminophen.uni.cc http://cheap-adipex.6x.to http://cheap-alprazolam.6x.to http://cheap-celebrex.6x.to http://cheap-diazepam.uni.cc http://cheap-hydrocodone.6x.to http://cheap-hydrocodone.uni.cc http://cheap-lortab.6x.to http://cheap-lortab.fromru.com http://cheap-oxycontin.6x.to http://cheap-prevacid.boom.ru http://cheap-promethazine.uni.cc http://cheap-propoxyphene.uni.cc http://cheap-propranolol.uni.cc http://cheap-spironolactone.uni.cc http://cheap-talwin-nx.uni.cc http://cheap-tetracycline.uni.cc http://cheap-tramadol.6x.to http://cheap-ultram.6x.to http://cheap-valium.6x.to http://cheap-valium.uni.cc http://cheap-vicodin.6x.to http://cheap-vicodin.uni.cc http://cheap-vicodin-online.6x.to http://cheap-xanax.uni.cc http://cheap-zolpidem.6x.to http://darvocet-n-100.uni.cc http://diazepam.uni.cc http://discount-phentermine.6x.to http://fioricet.uni.cc http://hydrocodone.uni.cc http://hydrocodone-online.6x.to http://online-cheap-diazepam.6x.to http://online-valium.6x.to http://order-phentermine.6x.to http://order-tramadol.6x.to http://order-ultram.6x.to http://order-vicodin.6x.to http://oxycontin.uni.cc http://phentermine.uni.cc http://purchase-phentermine.6x.to http://tramadol-online.6x.to http://ultram.uni.cc http://valium.uni.cc http://valium-tablet.6x.to http://vicodin.uni.cc http://vicodin-online.6x.to http://xanax.uni.cc http://xanax-tablet.6x.to
To make a link to another wiki page, type double square brackets around it <nowiki>[[like this]]</nowiki> and continue editing. That's it!  If the page already exists, a link will be made to it. If the page doesn't exist, a link will be made that allows someone to create it.


What you see in the text box will be mostly plain text, but you will see some special things the Wiki software uses to create links, lists, and other effects.  The rest of this page is a demonstration of how to use these features.  After the first few sections, you will have to "teach yourself" by pressing the "edit" link (above or below) to see for yourself how various effects were achieved!  You can practice editing in the [[SandBox]] before taking on other pages if you like.
The Wiki software will link to a page title that is the same as the text of your link, except that the first letter will be uppercased.  For example, if you type <nowiki>[[card game]]</nowiki>, it will be linked to a page entitled "Card game".


Let's say that you're editing a page about sports, and you mention soccer.  Well, there's probably a Wiki page about soccer (and if there isn't, there should be) and you want to make the word a link to that articleSimple: type double square brackets around it <code>[[like this]]</code> and continue editing.  That's it! If the page already exists, a link will be made to it.  If the page doesn't already exist, a link will be made that allows someone to create it.
Older versions of the Wiki software only made one-word links LikeThis, and didn't require the brackets to make them linksYou can still do that, but it's generally discouraged because it LooksFunny. It is handy to use singular words like "game" rather than "games", because that makes it easier to create links in other pages.


There are a few rules about making these links that you might run into.  Foreign characters and punctuation cannot be used in the text of a link, so if you want to make a link to "John's Dog", you'll have to leave out the apostrophe.  Also, the Wiki software will link to a page title that is the same as the text of your link, except that the first letter will be uppercased, and spaces may be condensed.  For example, if you type <code>[[card game]]</code>, <br>it will be linked to a page entitled "Card game".
Finally, sometimes the text you would like to make into a link just doesn't make a good page title.  In that case, you can specify both inside the brackets separated by a vertical bar like this: <nowiki>[[Page link|text of link]]</nowiki>.  This will appear as "text of link", but will link to a page entitled "Page link".


Older versions of the Wiki software only made one-word links <code>LikeThis</code>, and didn't require the brackets to make them links.  You can still do that, but it's generally discouraged because it LooksFunny.  It is handy to use singular words like "game" rather than "games", because that makes it easier to create links in other pages.
Examples of good links:
 
:<nowiki>Link to [[important tutorial]]</nowiki>
Finally, sometimes the text you would like to make into a link just doesn't make a good page title.  In that case, you can specify both inside the brackets separated by a vertical bar like this: <code>[[Page link|text of link]]</code>.  This will appear as "text of link", but will link to a page entitled "Page link".
:<nowiki>[[John Smith]]</nowiki>
 
:<nowiki>[[John's Dog]]</nowiki>
Examples of Good links:
:<code>[[my new page]]</code>
:<code>[[My new page]]</code>
:<code>JohnSmith</code>
:<code>[[Johns Dog]]</code>
:<code>[[Johns Dog|John's Dog]]</code>
Bad links:
Bad links:
:<code>[[my_new_page]]</code> (underscores not necessary)
:<nowiki>Link to [[important_tutorial]]</nowiki> (superfluous underscore)
:<code>[[My_new_page]]</code> (underscores not necessary)
:<nowiki>Link to [[Important tutorial]]</nowiki> (superfluous capitalization)
:<code>johnsmith</code> (needs two capital letters or brackets)
:<nowiki>[[Johns Dog|John's Dog]]</nowiki> (the apostrophe does not need to be left out)
:<code>[[John's Dog]]</code> (will not link to the page you want it to link to)
:<nowiki>[[JohnSmith]]</nowiki> (unnatural name)
See [[naming conventions]] when choosing names for pages!
 
<h2>Making a new page</h2>
 
There are two ways to make a new page:
 
# As mentioned above, while you're editing the text of an old page, you can just put something in brackets.  For example, you would type: <code>[[my page]]</code>.  When you save the page you're editing, if the link you included doesn't exist, you will see a question mark after the text.  Click on that question mark and you will be taken to a newly-created page that you can edit.  Replace "Describe the new page here." with whatever text you want to put on the page!
#Type the URL of the new page in the "address" line of your browser and hit return.  The URL of the new page will be the text of a link, with the first letter uppercased and spaces replaced by underscores (see [[Wiki Canonization]] for more details about this). For example, in the URL above, you would replace
<br><code>http://intranet.pdx.osdl.net/cgi-bin/wiki.pl?How_does_one_edit_a_page</code>
<br>with the new URL
<br><code>http://intranet.pdx.osdl.net/cgi-bin/wiki.pl?Name_of_your_new_page</code>
<br>and then hit return.
 
See also [[how to start a page]].
 
 
<h2>Demonstration area</h2>
 
*What follows is an area for demonstrating the various effects possible using Wiki, such as bold, italics, numbered lists, etc., etc.
*Click "edit" at the top or bottom of this page (i.e., the page you are now reading!) to see how these effects were achieved!!!
*<b>If you don't click "edit" now you won't understand what's going on!!!</b>
 
New paragraphs are made by simply pressing the "enter" or "return" key twice.  If you press it just once,
like this,
a new paragraph ''will not'' be made (as you can see).
 
Here is
<br>the proper way
<br>to make single-spaced lines.
 
:This line is indented.
::This line is indented even farther.
:::Who knows how far it can go?
 
This line is indented by using an initial space,
              but since I didn't use a colon ( : )
  at the beginning of the line, it appears as a monospace font such as "Courier". 
  In other words, if you begin a paragraph with spaces, that
      line will be both indented and in a monospace font.
This is very useful for importing monospace formatted tabular materials, especially source code. Also note that space-indented lines will not wrap!  They will simply increase the width of your window.
 
''This line is in italics.'' (Using double single quote marks!)
<br><i>And so is this one!</i> (Using good old html tags!)
<br><em>And this!</em> (Using still different code!  How versatile!  How confusing!  But any of them will do.)
 
'''This line is bold.''' (Using triple single quote marks!)
<br><b>So is this one!</b> (Using the standard html tag!)
 
Here is a new style link: [[Larry Sanger]] (see [[Free Links]])
<br>Here is an old style link: HomePage
<br>Consider not capitalizing your page names: [[definition of philosophy]]; see [[naming conventions]]
<br>[[HomePage|the text of this link is different from the name of the page it links to]]
<br>[[HomePage|it really doesn't MatterWhat youType in the...link description.  It's all link&eacute;d!]]
<br>An external link: http://www.nupedia.com/about.shtml
<br>Another external
link: [http://www.nupedia.com/about.shtml Nupedia about page]
 
If you type in the URL of a picture, it will be displayed rather than linked to:<br>http://www.wikipedia.com/wikia.gif
 
You don't have to create weird page titles, like [[Platos]], just to make the plural or possessive form of a name.  [[Plato's]] wouldn't work anyway.  You can write: [[Plato]]'s or (more cleverly) [[Plato|Plato's]].  In the old linking system you'd do it like this: JimboWales's homepage (using "").  (Just Say No to the old linking system; after all, you can now link to [[Jimbo Wales]]'s homepage!)  But it ''does'' look like you're stuck with [[Platos Republic]], because [[Plato's Republic]] doesn't work, as you can see, although if you want to type a bit more you can cleverly create [[Platos Republic|Plato's Republic]].
 
Here is a numbered list:
#Item 1
#Item 2
#Item 8
#Notice, this line isn't numbered because it is not flush left.
:#Neither is this line
 
Here is a bulleted list:
*Here's an item
* Here's another item
**We can do bullets within bullets, as it were
*** Pretty nifty, huh?
 
You can make a horizontal "rule" (line) on a page: ----
Or two, if you wish:
----
----
 
There are three ways to display, rather than parse, wiki code:
#<code>you can use the <code> tag</code>
#<pre>you can use the <pre> tag</pre>
#<nowiki>you can use the <nowiki> tag</nowiki>
The difference between <nowiki><code> and <pre></nowiki> is that the pre tag preserves line breaks, while the code tag does not.  The nowiki tag works like the <code><code></code> tag except that it doesn't use a monospace font.  (We made liberal use of the <code><code></code> tag on this page.)
 
Lines that \
end with backslashes \
will wrap if it is the *last* character on the line.
If there is trailing spaces, the backslash won't cause word wrapping.
 
You can create subpages: /Talk
<br>Sorry, but you cannot create sub-subpages: /Talk/TalkAboutTalk
<br>You can link to other subpages: [[Charlize Theron/Filmography]] or even [[charlize Theron/Filmography]].
 
We can do tables the old fashioned HTML way:
<table border=1>
<tr>
<td>Item one</td>
<td>Item two</td>
</tr>
<tr>
<td>Item three</td>
<td>Item four</td>
</tr>
</table>
 
The    preformatted  text    approach  might
be    a              better  way        to
do    columnar      types  of        tables.  ;-)
 
Sometimes you might need to use special characters, like these: ï¿?ï¿?&alpha;
 
You can make <sup>superscripts</sup> and <sub>subscripts</sub> and you can control the font <font size=+1>size</font> and <font color=blue>color</font>!
 
*f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub> + a<sub>2</sub>x<sub>2</sub><sup>2</sup> + a<sub>3</sub>x<sub>3</sub><sup>3</sup> + ...
 
*<font size=+2 color=red>f(x) = a<sub>0</sub> + a<sub>1</sub>x<sub>1</sub> + a<sub>2</sub>x<sub>2</sub><sup>2</sup> + a<sub>3</sub>x<sub>3</sub><sup>3</sup> + ...</font>
 
If you want to redirect traffic going to one page to another page (with a better title, for example), then use the command <code>#REDIRECT [[pagename]]</code> at the top of the page.  To look at the history of the old page, click on the "<code>(redirected from OldPageName)</code>" link at the top of the new page.
 
Practice editing pages in our SandBox!
 
Then, go forth and [[be bold in updating pages]]!


----
----
This page is borrowed & adapted from [http://www.wikipedia.com/ Wikipedia.com], and is reusable under the terms of the [http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License (FDL)].
This page is borrowed & adapted from [http://www.wikipedia.org/ Wikipedia.org], and is reusable under the terms of the [http://creativecommons.org/licenses/by-sa/3.0/deed Creative Commons Attribution Share-Alike (CC BY-SA)] license.

Latest revision as of 04:51, 28 March 2012

Inkscape's wiki uses the MediaWiki software, well known from Wikipedia. A quick look at the MediaWiki syntax is available on Wikipedia, along with a more comprehensive overview.

To edit a page, click on the "Edit" link on the side menu (you must be logged in in order for it to become visible). This will bring you to a page with a text box containing the text of that Wiki page. Then type away, and press "Save page" when finished (You can also preview your changes before saving if you like.)

To make a link to another wiki page, type double square brackets around it [[like this]] and continue editing. That's it! If the page already exists, a link will be made to it. If the page doesn't exist, a link will be made that allows someone to create it.

The Wiki software will link to a page title that is the same as the text of your link, except that the first letter will be uppercased. For example, if you type [[card game]], it will be linked to a page entitled "Card game".

Older versions of the Wiki software only made one-word links LikeThis, and didn't require the brackets to make them links. You can still do that, but it's generally discouraged because it LooksFunny. It is handy to use singular words like "game" rather than "games", because that makes it easier to create links in other pages.

Finally, sometimes the text you would like to make into a link just doesn't make a good page title. In that case, you can specify both inside the brackets separated by a vertical bar like this: [[Page link|text of link]]. This will appear as "text of link", but will link to a page entitled "Page link".

Examples of good links:

Link to [[important tutorial]]
[[John Smith]]
[[John's Dog]]

Bad links:

Link to [[important_tutorial]] (superfluous underscore)
Link to [[Important tutorial]] (superfluous capitalization)
[[Johns Dog|John's Dog]] (the apostrophe does not need to be left out)
[[JohnSmith]] (unnatural name)

This page is borrowed & adapted from Wikipedia.org, and is reusable under the terms of the Creative Commons Attribution Share-Alike (CC BY-SA) license.