WikiGuide/Formatting:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: 要开始编辑浩如烟海的wiki似乎像一件吓人的事情,但事实并非如此!它很容易编辑和提交。刚开始最好的方法是先看看不同页面上所采用的...
 
(没有差异)

2007年5月30日 (三) 18:09的最新版本


要开始编辑浩如烟海的wiki似乎像一件吓人的事情,但事实并非如此!它很容易编辑和提交。刚开始最好的方法是先看看不同页面上所采用的格式(您可以登录后从下拉菜单选择“显示源代码”,查看该页的代码)。

基本格式

  • 段落间以空行分隔。
  • 要写列表项目,在行首留一个空格,后面跟一个星号(圆点样式),数字,字母等等。
  • 要写标题,一级标题使用 == 标题名 == ,二级标题使用 === Title === ,以此类推。
  • 给单词或短语加两重单引号'' 是斜体效果,三重 ''' 是粗体效果。
  • 引用代码块使用 <pre><nowiki> </nowiki>。

一个范例页看起来是这样的:

== 页标题 ==
=== 子标题 ===
本页将解释如何在维基上写指南。下列内容很重要:
* 阅读文档小组之风格指南
* 确保您没在维基上拾人牙慧
* 之后要求文档小组检查指南并把它放到 [[category:CategoryCleanup]]

下面的段落是字母编号:
a. 这是第一项
a. 这是第二项
a. 这是第三项
<pre><nowiki>
这是代码块
} }}  <===在您的文档中不要出现这样的空格

一点也不难嘛!

关于此维基的更多帮助,参考HelpContents页。

高级特征

在您编辑维基时,您将学到如何使用维基软件的能力做更巧妙的作品!这里是一些例子:

  • 在参考所有起作用的维基格式,请浏览SyntaxReference 页.
  • 插入图标 -参见 IconsPage
  • 插入类似本页顶部的表格目录:

</nowiki>


返回 WikiGuide

<tablewidth="100%" #FF8080>英文原文

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 <pre><nowiki> </nowiki>.

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 [[category: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
<pre><nowiki>
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:



Go back to WikiGuide



原文出处:https://help.ubuntu.com/community/WikiGuide/Formatting

原文作者:

授权许可:创作共用协议Attribution-ShareAlike 2.0 GNU自由文档许可证

翻译人员:spider5

校对人员:

贡献者:

适用版本: 文章状态:等待校正