Help:编辑章节

From ForexstarWiki

Jump to: navigation, search

Template:advtranslation

页面可以分成许多的段落使用段落标题语法进行编辑。

目录

产生段落

可以用标题来产生段落,请看下面的代码,另请参看help:如何编辑页面

==段落标题==
===子标题===
====子标题的子标题====


目录(TOC)

每篇文章只要段落标题超过三个,就会自动根据这些标题生成一个目录(table of contents)(TOC),下面的情况不会出现目录:

  • 用户在参数设置中关闭了相应的设置
  • 在文章中加入了__NOTOC__ 代码

使用__FORCETOC__ 或 __TOC__ 代码可以在少于四个段落标题的情况下强制显示目录。

目录会自动放在第一个标题的前面,或者放在 __TOC__代码的地方。 因此在目录前写一些介绍性的文字是一个好主意,这有助于“提前”了解相关主题。Although usually a header after the TOC is preferable, __TOC__ can be used to avoid being forced to insert a meaningless header just to position the TOC correctly, i.e., not too low.

在参数设置中可以设置对标题进行自动编号。

help:template名字空间中的段落标题不会出现在目录中。The automatic section numbering restarts with 1 at the beginning of a template, and continues with the section numbering of the referring page itself after the template.

简明目录

有时候你的文章有很多小的标题(比如字母表)这时候TOC可能会很长。你可以选择使用简明目录。插入以下文本可以得到简明目录:

{{compactTOC}}

看起来象这样:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

同样的也可以是年份或者数字象这样:

1900s - 1910s - 1920s - 1930s - 1940s - 1950s - 1960s - 1970s - 1980s - 1990s - 2000s

以上都使用了下面介绍的段落链接。

段落链接

在目录中的每个标题都有一个链接,可以直接跳转到相应的段落。

你可以在本页中使用[[ #标题名称 | 文字 ]], 或者链接其它页面[[ 页面名称#标题 | 文字 ]]。

你可以使用help:跨语言链接连接到其它语言的段落。也可以使用复位向功能。

段落的编辑

你可以多个别的段落使用“段落编辑功能”,在每个段落标题的右侧都有一个“[编辑]”链接。它可以用来只编辑当前这个段落的内容。

使用"__NOEDITSECTION__" 可以禁止段落编辑。

Opening a link in a header in a new window

When right click editing is enabled, you cannot right click a link in a header to open it in a new window, etc. However most browsers have an alternative way of doing that (Mozilla: middle click, ctrl+left click, type ahead find, TAB navigation; IE: shift+left click).

Horizontal dividing line

A horizontal dividing line as a division demarcation is not taken into account in the section numbering and TOC. Therefore it should not be used for dividing a page in sets of sections.

"See also" line or section

If a page consists of sections and a "see also" refers to the whole page, then make it a separate section. This is to avoid it becoming part of the prior section, to make it visible in the TOC, and to make it easily accessible through the TOC.

Alternatively, a "see also" line is sometimes put at the beginning.

A "see also" belonging to just one section can be put in that section: within a paragraph, as a separate paragraph, or as a subsection.

不要把章节标示用户大字体显示的标示

有不少新用户会把章节标示当作大字体显示的记号。这种用法其实不正当。正确的用法,应该是采用以下的记号:

<b><font style="font-size:120%"> 文本样例 </font></b>

结果是:

文本样例

 
关于我们 | 资讯中心 | 社区中心 | 服务中心 | 广告合作 | 网站地图 | 服务协议 | 免责条款 | 版权声明 | 人才招聘 | 帮助中心

Copyright ◎ 2005-2006 Forexstar.com.cn . ALL rights resserved. 嘉瑞基外汇之星 版权所有 京ICP证050832号.