个人工具

“UbuntuHelp:WikiGuide/Formatting”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第5行: 第5行:
 
* Paragraphs should be separated by a blank line.
 
* 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 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 <code><nowiki>== Title ==</nowiki></code> for a level one heading, <code><nowiki>=== Title ===</nowiki></code> for a level 2 heading, and so on.
+
* To make a heading, use <code><nowiki>= Title =</nowiki></code> for a level one heading, <code><nowiki>== Title ==</nowiki></code> for a level 2 heading, and so on.
 
* Placing <code><nowiki>''</nowiki></code> around words or phrases will make them italics, and <code><nowiki>'''</nowiki></code> will make them bold.
 
* Placing <code><nowiki>''</nowiki></code> around words or phrases will make them italics, and <code><nowiki>'''</nowiki></code> will make them bold.
* To quote a block of code, wrap paragraphs in <code><nowiki>  
+
* To quote a block of code, wrap paragraphs in <code><nowiki> {{{ </nowiki></code> }}}.
<pre><nowiki> </nowiki></code> </nowiki></pre>.
+
 
An example page might look like this:
 
An example page might look like this:
 
<pre><nowiki>
 
<pre><nowiki>
== Title of Page ==
+
= Title of Page =
=== Subtitle ===
+
== Subtitle ==
 
This page is going to explain how to write a guide on the wiki. The following things are important:
 
This page is going to explain how to write a guide on the wiki. The following things are important:
* Read the docteam Styleguide
+
* Read the docteam Styleguide
* Make sure you are not reproducing material already on the wiki
+
* Make sure you are not reproducing material already on the wiki
* ask the Documentation Team to check the guide afterwards and place it in [[category:CategoryCleanup]]
+
* Ask the Documentation Team to check the guide afterwards and place it in CategoryCleanup
 +
 
 
The following paragraph is a lettered list:
 
The following paragraph is a lettered list:
# this is the ''first'' item
+
a. this is the ''first'' item
# this is the ''second'' item
+
a. this is the ''second'' item
# this is the ''third'' item
+
a. this is the ''third'' item
<pre><nowiki>
+
 
 +
{{{
 
this is a block of code
 
this is a block of code
 
} }} (the space should not be in your version)
 
} }} (the space should not be in your version)
第33行: 第34行:
 
* Inserting a table of contents such as what you see at the top of this page:
 
* Inserting a table of contents such as what you see at the top of this page:
 
<pre><nowiki>
 
<pre><nowiki>
 +
 
</nowiki></pre>
 
</nowiki></pre>
 +
<<Include(HelpOnEditing)>>
 
----
 
----
 
Go back to [[UbuntuHelp:WikiGuide|WikiGuide]]
 
Go back to [[UbuntuHelp:WikiGuide|WikiGuide]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 19:48的版本

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 place it in CategoryCleanup

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