====== 语法插件 ====== 本站使用dokuwiki,dokuwiki基本语法见[[wiki:syntax|Dokuwiki基本语法]]\\ 未来也许会使用 * [[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]] 自定义目录样式 下面列出本百科使用的语法扩展插件的简单使用说明: ===== 重定向 ===== 语法详见[[doku>plugin:pageredirect]] ~~REDIRECT>namespace:page~~ ~~REDIRECT>http://example.com~~ ===== HtmlMetaTags ===== 语法详见[[doku>plugin:htmlmetatags]] {{htmlmetatags>metatag-robots=(index,follow) metatag-keywords=(apfel,bananne,birne) metatag-description=(Allgemeiner Obstbauer) }} 效果: ===== 图像弹出 ===== {{popup>%IMAGE/PAGE%?[%SIZE%]&[keepOpen]|[%TEXT/IMAGE%]}} Note: [?%SIZE%] and [%TEXT/IMAGE%] are optional parameters. ^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. /* JavaScript */ ===== 时间线 ===== 语法详见[[doku>plugin:csstimeline]] date: 04.12.2014 title: My first timeline entry description: Within the description, you can even use Wiki markup date: 06.01.2015 title: My second timeline entry description: This one is rendered at the other side of the timeline date: 04.12.2014 title: My first timeline entry description: Within the description, you can even use Wiki markup date: 06.01.2015 title: My second timeline entry description: This one is rendered at the other side of the timeline