用户工具

站点工具


wiki:syntax

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
wiki:syntax [2023/07/06 06:29] – [RSS/ATOM源聚合] obwiki:syntax [2023/08/04 14:46] (当前版本) – 已恢复为旧版 (2023/07/06 06:52) 弘毅
行 503: 行 503:
 | //n//[dhm] | 刷新周期,其中 d=天,h=小时,m=分钟。(例如 12 小时 = 12 小时). | | //n//[dhm] | 刷新周期,其中 d=天,h=小时,m=分钟。(例如 12 小时 = 12 小时). |
  
-刷新周期默认为 4 小时,任何低于 10 分钟的值都将被视为 10 分钟。 [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered.+刷新周期默认为 4 小时,任何低于 10 分钟的值都将被视为 10 分钟。 [[wiki:DokuWiki]] 常会尝试提供页面的缓存版本,显然当页面包含动态外部内容时,这是不合适的。该参数告诉 [[wiki:DokuWiki]] 如果渲染页面的时间超过了刷新周期,则会重新渲染页面。 
 +默认情况下,Feed 将按日期排序,最新项目排在最前面。 你可以使用''reverse''参数按照最旧排序或者使用''nosort''按原样显示。
  
-By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''+**例子:**
- +
-**Example:**+
  
   {{rss>http://slashdot.org/index.rss 5 author date 1h }}   {{rss>http://slashdot.org/index.rss 5 author date 1h }}
行 514: 行 513:
  
  
-===== 宏 =====+===== 控制宏 =====
  
 部分宏可以影响 DokuWiki 在页面中的渲染。例如: 部分宏可以影响 DokuWiki 在页面中的渲染。例如:
  
-Macro           ^ Description |+宏           ^ 描述 |
 | %%~~NOTOC~~%%   | 禁用表格 | | %%~~NOTOC~~%%   | 禁用表格 |
 | %%~~NOCACHE~~%% | 默认 DokuWiki 会缓存所有的页面输出。但有时候你可能并不想要这个特性(例如使用了%%<php>%%语法),引用此宏可以强制让 DokuWiki 在每次被调用时重新渲染页面 | | %%~~NOCACHE~~%% | 默认 DokuWiki 会缓存所有的页面输出。但有时候你可能并不想要这个特性(例如使用了%%<php>%%语法),引用此宏可以强制让 DokuWiki 在每次被调用时重新渲染页面 |
wiki/syntax.1688624974.txt · 最后更改: 2023/07/06 06:29 由 ob