差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
|
wiki:syntax [2026/01/27 11:55] 114.119.156.232 已恢复为旧版 (2025/01/03 01:51) |
wiki:syntax [2026/02/02 08:52] (当前版本) 216.73.216.13 已恢复为旧版 (2026/02/02 04:57) |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== | + | ====== |
| + | <WRAP center info 60%> | ||
| + | 此条目引用自DokuWiki官方:[[doku> | ||
| + | </ | ||
| - | [[doku> | + | [[doku> |
| - | ===== Basic Text Formatting | + | ===== 基本文字格式 |
| + | DokuWiki支持**粗体**,// | ||
| - | DokuWiki | + | |
| + | 当然,您可以**__//'' | ||
| - | DokuWiki supports **bold**, | + | 您也可以使用< |
| - | Of course you can **__//'' | + | |
| - | You can use <sub>subscript</ | + | 您也可以使用<sub>下标</ |
| - | You can use <sub>subscript</sub> and < | + | 同时也可以使用<del>删除线</del>标记某些信息。 |
| - | You can mark something as <del>deleted</ | + | 同时也可以使用<del>删除线</ |
| - | You can mark something as < | + | **段落**是由空行所建立的。如果您想**强制换行**而不建立段落,您可以使用两个连续的反斜杠接空格或回车作为标记。请看样例: |
| - | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | + | 这是一些有着换行标记的文字。\\ 请注意 |
| + | 双反斜杠只在回车符之前\\ | ||
| + | 或者接在\\ 一个空格之前的时候才有效。\\而这样就并不起作用。 | ||
| - | This is some text with some linebreaks\\ Note that the | + | 这是一些有着换行标记的文字。\\ 请注意 |
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | or followed by\\ a whitespace | + | |
| - | This is some text with some linebreaks\\ Note that the | + | 请仅在必须的时候使用强制换行标记。 |
| - | two backslashes are only recognized at the end of a line\\ | + | |
| - | or followed by\\ a whitespace \\this happens without it. | + | |
| - | You should use forced newlines only if really needed. | + | ===== 链接 ===== |
| - | ===== Links ===== | + | DokuWiki支持以多种形式创建链接。 |
| - | DokuWiki supports multiple ways of creating links. | + | ==== 外部链接 ==== |
| - | ==== External ==== | + | 外部链接会被自动地识别:http:// |
| - | External links are recognized automagically: | + | DokuWiki支持以多种形式创建链接。外部链接会被自动地识别: |
| + | | ||
| + | ——您也可以设置链接文本:[[http:// | ||
| + | 类似这样的电子邮件地址:< | ||
| - | DokuWiki supports multiple ways of creating links. External links are recognized | + | ==== 内部链接 ==== |
| - | automagically: | + | |
| - | link text as well: [[http:// | + | |
| - | addresses like this one: < | + | |
| - | ==== Internal ==== | + | 内部链接可以用方括号创建。您可以只给出[[页面名]],或附加[[页面名|链接文本]]。 |
| - | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional | + | 内部链接可以用方括号创建。您可以只给出 |
| + | | ||
| - | Internal links are created by using square brackets. You can either just give | + | [[doku>pagename|Wiki的页面名]]会被自动地转换为小写字母,并且不允许使用特殊字符。 |
| - | a [[pagename]] or use an additional | + | |
| - | [[doku> | + | 您可以通过在页面名中添加冒号的方式来使用[[某目录: |
| - | You can use [[some:namespaces]] by using a colon in the pagename. | + | 您可以通过在页面名中添加冒号的方式来使用[[某目录:命名空间]]。 |
| - | You can use [[some:namespaces]] | + | 如果您需要更多有关“命名空间(namespaces)”的详细信息,请参见[[doku>namespaces]]。 |
| - | For details about namespaces see [[doku> | + | 链接到一个特定章节也是可能的。只需要在# |
| - | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. | + | 这是一个指向[[syntax#内部链接|本节]]的链接。 |
| - | This links to [[syntax#internal|this Section]]. | + | 注意: |
| + | * 指向[[syntax|已存在页面]]的和[[nonexisting|不存在页面]]的链接,其外观是不同的。 | ||
| + | * 默认情况下,DokuWiki不使用[[wp> | ||
| + | * 当一节的标题改变时,它的书签也会改变。因此,请不要过于依赖章节链接。 | ||
| - | Notes: | + | ==== Wiki间链接 ==== |
| - | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | DokuWiki支持[[doku>Interwiki]](Wiki间链接)。他们是到其他Wiki的快速链接。例如,这是一个指向Wikipedia上Wiki条目的链接:[[wp>Wiki]]。 |
| - | * DokuWiki | + | |
| - | * When a section' | + | |
| - | ==== Interwiki | + | DokuWiki支持[[doku> |
| + | 例如,这是一个指向Wikipedia上Wiki条目的链接:[[wp> | ||
| + | ==== Windows共享文件夹 | ||
| - | DokuWiki supports | + | Windows共享文件夹,例如[[\\server\share|这个]]也可以被识别。请注意,这只在企业[[wp>Intranet|内部网]]等局域网环境中才有意义。 |
| - | | + | |
| - | For example this is a link to Wikipedia' | + | |
| - | ==== Windows Shares ==== | + | 注: |
| - | Windows | + | * 出于安全原因,只有在微软IE浏览器上才能够直接访问Windows共享文件夹(并且仅在“本地区域”)。 |
| + | * 对于Mozilla和Firefox可以通过[[http:// | ||
| - | | + | |
| + | ==== 图像链接 ==== | ||
| - | Notes: | + | 您也可以通过结合链接和[[# |
| - | | + | [[http://www.php.net|{{wiki: |
| - | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/ | + | |
| - | <?php | + | |
| - | /** | + | |
| - | * Customization of the english language file | + | |
| - | * Copy only the strings that needs to be modified | + | |
| - | */ | + | |
| - | $lang[' | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Image Links ==== | + | |
| - | + | ||
| - | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | + | |
| - | + | ||
| - | [[http://php.net|{{wiki: | + | |
| - | [[http:// | + | [[http://www.php.net|{{wiki: |
| - | Please note: The image formatting is the only formatting syntax accepted in link names. | + | 请注意:图像的格式化语法是链接文本唯一接受的格式化语法。 |
| - | The whole [[# | + | 所有的图像和链接语法都是支持的(包括图像大小调整、内部和外部的图像与链接以及wiki内链接)。 |
| - | ===== Footnotes | + | ===== 脚注 |
| - | You can add footnotes | + | 您可以使用两个连续小括号来添加脚注((这是一个脚注))。 |
| - | | + | |
| - | ===== Sectioning | + | ===== 分节 |
| - | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string | + | 您可以使用多达5层的标题来组织您的内容。如果您使用了三个以上的标题,将自动生成目录——这可以通过在页面加入''< |
| - | ==== Headline Level 3 ==== | + | ==== H3标题 |
| - | === Headline Level 4 === | + | === H4标题 |
| - | == Headline Level 5 == | + | == H5标题 |
| - | ==== Headline Level 3 ==== | + | ==== H3标题 |
| - | === Headline Level 4 === | + | === H4标题 |
| - | == Headline Level 5 == | + | == H5标题 |
| - | By using four or more dashes, you can make a horizontal line: | + | 您可以通过4个以上连续的“-”号来创建一条水平分割线: |
| ---- | ---- | ||
| - | ===== Media Files ===== | ||
| - | You can include external and internal [[doku> | + | ===== 图像和其它文件 ===== |
| - | Real size: {{wiki: | + | 您可以用两个大括号在页面中加入外部或内部的[[doku> |
| - | Resize to given width: | + | 原始大小: |
| - | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | 指定宽度: |
| - | Resized external image: {{https:// | + | 指定宽度和高度((当指定的长宽比与图像的不一致,在调整图像大小前,其将先被裁剪到新的比例)): |
| - | Real size: {{wiki: | + | 重新指定宽度和高度的外部图像: |
| - | Resize to given width: | + | |
| - | Resize to given width and height: {{wiki: | + | |
| - | Resized external image: {{https://secure.php.net/ | + | |
| + | 原始大小: | ||
| + | 指定宽度: | ||
| + | 指定宽度和高度((当指定的长宽比与图像的不一致,在调整图像大小前,其将先被裁剪到新的比例)): | ||
| + | 重新指定宽度和高度的外部图像: | ||
| - | By using left or right whitespaces you can choose the alignment. | + | 通过使用左空格或右空格,您可以选择对齐方式。 |
| {{ wiki: | {{ wiki: | ||
| 行 157: | 行 151: | ||
| {{ wiki: | {{ wiki: | ||
| - | Of course, you can add a title (displayed as a tooltip by most browsers), too. | + | 当然,您也可以指定一个标题(多数浏览器显示为提示文本((鼠标悬停可以看到)))。 |
| - | {{ wiki: | + | {{ wiki: |
| - | {{ wiki: | + | {{ wiki: |
| - | For linking an image to another page see [[#Image Links]] above. | + | 如果您指定的文件名(无论是外部的还是内部的)不是一个图像('' |
| - | ==== Supported Media Formats | + | 对于将图像链接到其他页面,参见上面的[[# |
| + | ===== 列表 ===== | ||
| - | DokuWiki | + | DokuWiki支持带编号或不带编号的列表。要创建列表,在文字前加入两个空格,然后使用'' |
| - | | Image | '' | + | * 这是一个列表 |
| - | | Video | '' | + | * 第二项 |
| - | | Audio | '' | + | * 您可以有不同的层次 |
| - | | Flash | '' | + | |
| - | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | + | |
| - | + | - 另一项 | |
| - | By adding ''? | + | - 用缩进表示更深的层 |
| - | + | - 就这样 | |
| - | {{wiki: | + | |
| - | + | ||
| - | {{wiki: | + | |
| - | + | ||
| - | ==== Fallback Formats ==== | + | |
| - | + | ||
| - | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | + | |
| - | + | ||
| - | For example consider this embedded mp4 video: | + | |
| - | + | ||
| - | {{video.mp4|A funny video}} | + | |
| - | + | ||
| - | When you upload a '' | + | |
| - | + | ||
| - | Additionally DokuWiki supports a " | + | |
| - | + | ||
| - | ===== Lists ===== | + | |
| - | + | ||
| - | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | |
| - | + | ||
| - | * This is a list | + | |
| - | * The second item | + | |
| - | * You may have different levels | + | |
| - | * Another item | + | |
| - | + | ||
| - | | + | |
| - | - Another item | + | |
| - | - Just use indention for deeper levels | + | |
| - | - That's it | + | |
| < | < | ||
| - | * This is a list | + | * 这是一个列表 |
| - | * The second item | + | * 第二项 |
| - | * You may have different levels | + | * 您可以有不同的层次 |
| - | * Another item | + | * 另一项 |
| - | - The same list but ordered | + | - 带编号的列表 |
| - | - Another item | + | - 另一项 |
| - | - Just use indention for deeper levels | + | - 用缩进表示更深的层 |
| - | - That's it | + | - 就这样 |
| </ | </ | ||
| - | Also take a look at the [[doku> | + | ===== 文本转换 |
| - | + | ||
| - | ===== Text Conversions | + | |
| - | + | ||
| - | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | + | |
| - | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | + | DokuWiki可以将预定义的字符或者字符串转换成图像、其他文本或HTML。 |
| - | ==== Text to Image Conversions | + | 文本转换为图像主要用于表情符号。文本到HTML的转换用于排版的字符替换,但也可以配置为使用其他HTML。 |
| + | ==== 文本到图像的转换 | ||
| - | DokuWiki | + | DokuWiki会将一些常用的 |
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| 行 253: | 行 216: | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| - | ==== Text to HTML Conversions ==== | ||
| - | Typography: | + | ==== 文本到HTML的转换 ==== |
| + | |||
| + | 印刷:[[DokuWiki]]可以将特定字符转换为印刷时所用的样式。这是可识别的字符示例。 | ||
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| 行 265: | 行 229: | ||
| </ | </ | ||
| - | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | + | 同样的做法可以产生任何类型的HTML,只需要添加到[[doku> |
| - | There are three exceptions which do not come from that pattern file: multiplication entity | + | 这里有三个例外,它们并非来自模式文件:乘号(640x480)、'单引号'和"双引号"。它们可以通过[[doku> |
| - | ===== Quoting | + | ===== 引用 |
| - | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | + | 有时您想将某些文本标记为回复或者评论。您可以使用下列语法: |
| < | < | ||
| - | I think we should do it | + | 我想我们应该做这件事 |
| - | > No we shouldn' | + | > 不,我们不应该 |
| - | >> | + | >> |
| - | > Really? | + | > 真的? |
| - | >> | + | >> |
| - | >>> | + | >>> |
| </ | </ | ||
| - | I think we should do it | + | 我想我们应该做这件事 |
| - | > No we shouldn' | + | > 不,我们不应该 |
| - | >> | + | >> |
| - | > Really? | + | > 真的? |
| - | >> | + | >> |
| - | >>> | + | >>> |
| - | ===== Tables | + | ===== 表格 |
| - | DokuWiki | + | DokuWiki支持用简单的语法创建表格。 |
| - | ^ Heading | + | ^ 标题1 ^ 标题2 |
| - | | Row 1 Col 1 | Row 1 Col 2 | + | | (1,1) |
| - | | Row 2 Col 1 | some colspan (note the double pipe) || | + | | (2,1) | 一些跨列合并(注意两条竖线) |
| - | | Row 3 Col 1 | Row 3 Col 2 | + | | (3,1) |
| - | Table rows have to start and end with a '' | + | 表格的每一行都以分隔符 |
| - | ^ Heading | + | ^ 标题1 ^ 标题2 |
| - | | Row 1 Col 1 | Row 1 Col 2 | + | | (1,1) |
| - | | Row 2 Col 1 | some colspan (note the double pipe) || | + | | (2,1) | 一些跨列合并(注意两条竖线) |
| - | | Row 3 Col 1 | Row 3 Col 2 | + | | (3,1) |
| - | To connect cells horizontally, | + | 要水平合并单元格,只需要将后一个单元格设置为空即可,如上面演示的一样。请确保每一行有相同数量的单元格分隔符! |
| - | Vertical tableheaders are possible, too. | + | 竖直的标题列也是可以实现的: |
| - | | ^ Heading | + | | ^ 标题1 ^ 标题2 ^ |
| - | ^ Heading | + | ^ 标题3 | (1,2) |
| - | ^ Heading | + | ^ 标题4 | 不再合并单元格 |
| - | ^ Heading | + | ^ 标题5 | (2,2) |
| - | As you can see, it's the cell separator before a cell which decides about the formatting: | + | 可以看到,单元格前面的分隔符决定了单元格的格式。 |
| - | | ^ Heading | + | | ^ 标题1 ^ 标题2 ^ |
| - | ^ Heading | + | ^ 标题3 | (1,2) |
| - | ^ Heading | + | ^ 标题4 | 不再合并单元格 |
| - | ^ Heading | + | ^ 标题5 | (2,2) |
| - | You can have rowspans | + | 跨行合并单元格(垂直合并单元格)也是可以实现的,通过在下面的相邻单元格输入'':::'' |
| - | ^ Heading | + | ^ 标题1 ^ 标题 |
| - | | Row 1 Col 1 | this cell spans vertically | + | |(1,1)| 对该单元垂直合并 |
| - | | Row 2 Col 1 | ::: | Row 2 Col 3 | | + | |(2,1)| ::: |(2,3)| |
| - | | Row 3 Col 1 | ::: | Row 2 Col 3 | | + | |(3,1)| ::: |(2,3)| |
| - | Apart from the rowspan syntax those cells should not contain anything else. | + | 除跨行合并语法外,单元格中不能包含其他任何内容。 |
| - | ^ Heading | + | ^ 标题1 ^ 标题 |
| - | | Row 1 Col 1 | this cell spans vertically | + | |(1,1)| 对该单元垂直合并 |
| - | | Row 2 Col 1 | ::: | Row 2 Col 3 | | + | |(2,1)| ::: |(2,3)| |
| - | | Row 3 Col 1 | ::: | Row 2 Col 3 | | + | |(3,1)| ::: |(2,3)| |
| - | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
| - | ^ Table with alignment | + | 您可以对齐表格的文字。只需在文本的相反方向添加至少两个空格:如果需要右对齐,在左边添加两个空格;反之,则在右边添加。在两边均添加空格可以实现居中对齐。 |
| - | | | + | |
| - | |left | | + | |
| - | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | + | |
| - | This is how it looks in the source: | + | ^ 有对齐的表格 |
| + | | | ||
| + | | 左对齐 | ||
| + | | xxxxxxxxxxxx | ||
| - | | + | 下面是源文件中的样子: |
| - | | right| | + | |
| - | |left | + | |
| + | | | ||
| + | |左对齐 | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Note: Vertical alignment is not supported. | + | 注意:不支持垂直对齐。 |
| - | ===== No Formatting | + | ===== 无格式化 |
| - | If you need to display text exactly like it is typed (without any formatting), | + | 如果您需要文本完全显示为它键入的样子(没有任何格式化),用'' |
| < | < | ||
| - | This is some text which contains addresses like this: http:// | + | 这是一些包含这样的地址:http:// |
| </ | </ | ||
| - | The same is true for %%//__this__ text// with a smiley ;-)%%. | + | 对于带有表情符号的%%;-)的//__这段__文本//%%也一样。 |
| < | < | ||
| - | | + | |
| </ | </ | ||
| - | | + | |
| - | + | ||
| - | ===== Code Blocks ===== | + | |
| - | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | + | ===== 代码块 ===== |
| + | 您可以将代码块包含到文档中,可以通过缩进两个空格(像前面例子中所用的)或者使用标签'' | ||
| - | | + | |
| < | < | ||
| - | This is preformatted code all spaces are preserved: like <-this | + | 这是预格式化的代码,所有空格都被保留:像 |
| </ | </ | ||
| < | < | ||
| - | This is pretty much the same, but you could use it to show that you quoted a file. | + | 这非常相似,但您可以用它来表明您引用了一个文件。 |
| </ | </ | ||
| - | Those blocks were created by this source: | + | 这些区块由下面的源码创建: |
| - | | + | |
| < | < | ||
| - | | + | |
| </ | </ | ||
| < | < | ||
| - | | + | |
| </ | </ | ||
| + | | ||
| + | ==== 语法高亮 ==== | ||
| - | ==== Syntax Highlighting ==== | + | [[wiki: |
| - | + | ||
| - | [[wiki: | + | |
| <code java> | <code java> | ||
| 行 417: | 行 381: | ||
| </ | </ | ||
| - | The following language strings are currently recognized: | + | 当前可以识别下列语言字符串://4cs, abap, actionscript-french, actionscript, |
| - | There are additional [[doku> | + | ==== 可下载的代码块 ==== |
| - | ==== Downloadable Code Blocks ==== | + | 当您使用上面的'' |
| - | When you use the '' | ||
| < | < | ||
| 行 435: | 行 398: | ||
| </ | </ | ||
| - | If you don't want any highlighting but want a downloadable file, specify a dash ('' | + | 如果您不想要任何高亮,但想要一个可下载的文件,指定破折号('' |
| + | ===== 嵌入HTML和PHP ===== | ||
| - | ===== Embedding | + | 您可以嵌入原始HTML或PHP代码到文件中,通过使用'' |
| - | You can embed raw HTML or PHP code into your documents by using the '' | + | HTML例子: |
| - | + | ||
| - | HTML example: | + | |
| < | < | ||
| < | < | ||
| - | This is some <span style=" | + | 这是一些<span style=" |
| </ | </ | ||
| < | < | ||
| - | <p style=" | + | <p style=" |
| </ | </ | ||
| </ | </ | ||
| < | < | ||
| - | This is some <span style=" | + | 这是一些<span style=" |
| </ | </ | ||
| < | < | ||
| - | <p style=" | + | <p style=" |
| </ | </ | ||
| - | PHP example: | + | PHP例子: |
| < | < | ||
| <php> | <php> | ||
| - | echo 'The PHP version: | + | echo 'PHP生成的标志:'; |
| - | echo phpversion(); | + | echo '< |
| - | echo ' (generated inline | + | echo '(生成行内HTML)'; |
| </ | </ | ||
| <PHP> | <PHP> | ||
| - | echo '< | + | echo '< |
| - | echo '< | + | echo '< |
| echo '</ | echo '</ | ||
| </ | </ | ||
| 行 476: | 行 438: | ||
| <php> | <php> | ||
| - | echo 'The PHP version: | + | echo 'PHP生成的标志:'; |
| - | echo phpversion(); | + | echo '< |
| - | echo ' (inline | + | echo '(生成行内HTML)'; |
| </ | </ | ||
| <PHP> | <PHP> | ||
| - | echo '< | + | echo '< |
| - | echo '< | + | echo '< |
| echo '</ | echo '</ | ||
| </ | </ | ||
| - | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | + | **请注意**:HTML和PHP嵌入默认在配置中被禁用。如果禁用,代码被显示出来而不是执行。 |
| - | ===== RSS/ATOM Feed Aggregation | + | ===== RSS/ATOM Feed聚合===== |
| - | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | + | |
| - | ^ Parameter | + | [[DokuWiki]]能够从外部的XML feed中聚合数据。为了解析这些XML |
| - | | any number | will be used as maximum number items to show, defaults to 8 | | + | |
| - | | reverse | + | |
| - | | author | + | |
| - | | date | show item dates | | + | |
| - | | description| show the item description. If [[doku> | + | |
| - | | nosort | + | |
| - | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | + | |
| - | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. | + | ^ 参数 |
| + | | any number | ||
| + | | reverse | ||
| + | | author | ||
| + | | date | 显示条目日期 | ||
| + | | description | ||
| + | | //n//[dhm] | 刷新周期,其中,d=天数,h=小时数,m=分。例如,12h=12个小时。 | ||
| - | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | 刷新周期默认是4小时。小于或者等于10分钟均视为10分钟。[[wiki: |
| - | **Example:** | + | **范例:** |
| {{rss> | {{rss> | ||
| 行 510: | 行 470: | ||
| {{rss> | {{rss> | ||
| + | ===== 控制宏 ===== | ||
| - | ===== Control Macros ===== | + | 一些语法会影响DokuWiki对页面的解释,而自身不输出任何内容。可用的控制宏如下: |
| - | + | ||
| - | Some syntax influences how DokuWiki | + | |
| - | + | ||
| - | ^ Macro ^ Description | | + | |
| - | | %%~~NOTOC~~%% | + | |
| - | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | |
| - | + | ||
| - | ===== Syntax Plugins ===== | + | |
| - | + | ||
| - | DokuWiki' | + | |
| - | ~~INFO: | + | ^ 宏 ^ 描述| |
| + | | %%~~NOTOC~~%% | 如果页面出现该控制宏,将不会创建目录| | ||
| + | | %%~~NOCACHE~~%% | DokuWiki默认会缓存所有的输出。有时并不希望这样(例如,当使用了上面的%%< | ||
| + | ===== 语法插件 ===== | ||