Help Wikitravel grow by contributing to an article! Learn how.

Wikitravel:Wiki markup

From Wikitravel
Revision as of 15:31, 13 February 2004 by Pontauxchats (Talk | contribs)

Jump to: navigation, search

Wikitravel uses a special code called Wiki markup for formatting the text and images in an article. The Wiki markup used while editing a page will determine how the text looks and what links and images are in the page.

When editing Wikitravel articles, try to follow the conventions in the Manual of style. These are guidelines for making a "good" Wikitravel article; if you don't quite get all of them, then just do what you can, and someone else will come through and clean up your work after you're done.

Making links

To get this output... ...use this markup.

You can link to an article like Main Page by adding the article title with two square brackets around it.

You can link to an article like [[Main Page]] by adding the article title with two square brackets around it.

You can give the link alternate text, like go to the main page, by adding a vertical bar after the title, and then the text you want to use.

You can give the link alternate text, like [[Main Page|go to the main page]], by adding a vertical bar after the title, and then the text you want to use.

Links in different namespaces, like Wikitravel:FAQ or User:Evan, work the same way.

Links in different namespaces, like [[Wikitravel:FAQ]] or [[User:Evan]], work the same way.

Using a vertical bar at the end of the link (but before the closing brackets) will hide the namespace, like FAQ or Evan.

Using a vertical bar at the end of the link (but before the closing brackets) will hide the namespace, like [[Wikitravel:FAQ|]] or [[User:Evan|]].

It's OK to put in links to a page that doesn't exist yet.

It's OK to put in links to [[a page that doesn't exist yet]].

Putting an URL like http://www.wikipedia.org/ into text makes it into an external link automatically.

Putting an URL like http://www.wikipedia.org/ into text makes it into an external link automatically.

You can give an external link more readable text, like Wikipedia, by using a single square bracket, the URL, a space, the title you want to use, and a closing square bracket.

You can give an external link more readable text, like [http://www.wikipedia.org/ Wikipedia], by using a single square bracket, the URL, a space, the title you want to use, and a closing square bracket.

Text formatting

To get this output... ...use this markup.

Bold text is surrounded by three apostrophes.

'''Bold text''' is surrounded by three apostrophes.

Italic text is surrounded by two apostrophes.

''Italic text''  is surrounded by two apostrophes.

For a bullet-point list, put each list item on its own line, with a star in front of it:

  • Winken
  • Blinken
  • Nod
For a bullet-point list, put each list item on its own line, with a star in front of it:

*Winken
*Blinken
*Nod

A numbered list is similar to a bullet-point list, but each item starts with a pound sign instead:

  1. Tinkers
  2. Evers
  3. Chance
A numbered list is similar to a bullet-point list, but each item starts with a pound sign instead:

#Tinkers
#Evers
#Chance


See Also

Variants

Actions

Destination Docents

In other languages