显示页面讨论修订记录反向链接回到顶部 本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。关注首页公众号留言或者到建议留言! ====== 语法插件 ====== 本站使用dokuwiki,dokuwiki基本语法见[[wiki:syntax|Dokuwiki基本语法]]\\ <WRAP center round box 90%> 未来也许会使用 * [[doku>plugin:medialist]] * [[doku>plugin:svgpureinsert]] * [[doku>plugin:photogallery]] * [[doku>plugin:nspages]] * [[doku>plugin:snippeter]] * [[doku>plugin:include]] * [[doku>plugin:tablewidth]] * [[doku>plugin:exttab3]] * **[[doku>plugin:tablelayout]]** * [[doku>plugin:cellbg]] * [[doku>plugin:dirpictures]] * [[doku>plugin:toctweak]] 自定义目录样式 </WRAP> 下面列出本百科使用的语法扩展插件的简单使用说明: ===== 重定向 ===== 语法详见[[doku>plugin:pageredirect]] <code>~~REDIRECT>namespace:page~~ ~~REDIRECT>http://example.com~~</code> ===== HtmlMetaTags ===== 语法详见[[doku>plugin:htmlmetatags]] <code>{{htmlmetatags>metatag-robots=(index,follow) metatag-keywords=(apfel,bananne,birne) metatag-description=(Allgemeiner Obstbauer) }}</code> 效果: <code html> <meta name="robots" content="index,follow"/> <meta name="keywords" content="apfel,bananne,birne"/> <meta name="description" content="Allgemeiner Obstbauer"/> </code> ===== 图像弹出 ===== <code>{{popup>%IMAGE/PAGE%?[%SIZE%]&[keepOpen]|[%TEXT/IMAGE%]}} Note: [?%SIZE%] and [%TEXT/IMAGE%] are optional parameters.</code> ^Option ^Description^ |%IMAGE/PAGE%| an image or a page as you know it from DokuWiki| |%SIZE% (optional)| Width and height (optional) in px. Example: 200×300| |keepOpen (optional)| All links in a page opened via a popup will also open in a popup.| |%TEXT/IMAGE% (optional)| Here you can set the name or an additional image. This will be displayed to the user as link to click on for the popup| Hints: * ? is required when using either %SIZE%or keepOpen * &is required in between when using both options. * ''keepOpen''only has an effect when using a page id, never with an image. ##Extra JavaScript for loaded pages You can add JavaScript that is being executed for pages that load in a popup. The script has to be placed in the page to load. it will not get executed anywhere else. You have to enable this. <code> <popupscript> /* JavaScript */ </popupscript> </code> ===== 时间线 ===== 语法详见[[doku>plugin:csstimeline]] <code> <csstimeline> <entry> date: 04.12.2014 title: My first timeline entry description: Within the description, you can even use Wiki markup </entry> <entry> date: 06.01.2015 title: My second timeline entry description: This one is rendered at the other side of the timeline </entry> </csstimeline></code> <csstimeline> <entry> date: 04.12.2014 title: My first timeline entry description: Within the description, you can even use Wiki markup </entry> <entry> date: 06.01.2015 title: My second timeline entry description: This one is rendered at the other side of the timeline </entry> </csstimeline> wiki/语法插件.txt 最后更改: 6年前由 showzonezhu 登录