个人工具

UbuntuHelp:WikiGuide/Formatting

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(WikiGuide/Toolkit/MenuBar)>> The wiki can often seem like a scary thing to start editing, but this is in fact NOT the case! It is easy to start editing and contribute. The best way to start is to look at the formatting which is employed on various pages (you can see the code of a page by logging in and selecting "Show raw text" from the drop down menu).

The basics

  • Paragraphs should be separated by a blank line.
  • To make a list, use a white space at the beginning of a line, followed by either an asterisk (for bullet points), a number, letter etc.
  • To make a heading, use = Title = for a level one heading, == Title == for a level 2 heading, and so on.
  • Placing '' around words or phrases will make them italics, and ''' will make them bold.
  • To quote a block of code, wrap paragraphs in ` `.

An example page might look like this:

= Title of Page =
== Subtitle ==
This page is going to explain how to write a guide on the wiki. The following things are important:
 * Read the docteam Styleguide
 * Make sure you are not reproducing material already on the wiki
 * Ask the Documentation Team to check the guide afterwards and tag it appropriately

The following paragraph is a lettered list:
 a. this is the ''first'' item
 a. this is the ''second'' item
 a. this is the ''third'' item

{{{
this is a block of code
} }} (the space should not be in your version)

It is that easy! For more help about this wiki, see the page HelpContents

Advanced Features

As you edit the wiki you will learn how to use the power of the wiki software to do even more clever things! Here are some examples:

  • To see almost all the wiki's formatting in action, have a look at the SyntaxReference page.
  • Inserting Icons - see IconsPage
  • Inserting a table of contents such as what you see at the top of this page:

<<Include(HelpOnEditing)>>


Go back to WikiGuide