Both sides previous revision
前次修改
下次修改
|
前次修改
|
dokuwiki:syntax [2018/03/13 15:55] ghsrobert iframe |
dokuwiki:syntax [2019/04/03 10:19] (目前版本) ghsrobert [DokuWiki 語法大全] 補充圖片 caption |
* ''style'' 是設定在自訂 CSS 中,class 必須為 ''.tooltip_xxx'' | * ''style'' 是設定在自訂 CSS 中,class 必須為 ''.tooltip_xxx'' |
</div> | [[doku>plugin:tooltip|tooltip]] | | </div> | [[doku>plugin:tooltip|tooltip]] | |
| ^ ::: | <div> |
| - <code><abbr>縮寫/基底文字 [原文或註解內容]</abbr></code> |
| - <code><abbr>原文或註解內容 (縮寫/基底文字)</abbr></code> |
| </div> | | [[doku>plugin:abbr|abbr]] | |
| ^ ::: | <code><anno:1>縮寫/基底文字</anno> <@anno:1>原文或註解內容</@anno></code> | |[[doku>plugin:annotate|annotate]] | |
| ^ ::: | <code><autott><content>縮寫/基底文字</content><tip>原文或註解內容</tip><title>(非必要)註解標題</title></autott></code> | | [[doku>plugin:autotooltip|autotooltip]] | |
| ^ ruby | <code>{{ruby|主文字|ruby 文字}}</code> | 主文字數無限 | [[doku>plugin:ruby|ruby]] | |
| ^ anchor | anchor 處:<code>{{anchor:該_anchor_的名稱(:網頁文字,非必要)}}</code> | 之後,就可以用 ''#該_anchor_的名稱'' 加在頁面網址後面來連到該 anchor 囉;另外,DokuWiki 內部頁面連結或是頁內連結也可以用哦,<span ex>''[[#該_anchor_的名稱|傳送門]]''</span> | [[doku>plugin:anchor|anchor]] | |
^ 表格 ^^^^ | ^ 表格 ^^^^ |
^ 儲存格背景顏色 | <code>| @<色碼>:<內容> |</code> | <div> | ^ 儲存格背景顏色 | <code>| @<色碼>:<內容> |</code> | <div> |
* <span alert>只能用在一般儲存格,不能用在表頭儲存格上!</span> | * <span alert>只能用在一般儲存格,不能用在表頭儲存格上!</span> |
</div> | [[doku>plugin:cellbg|cellbg]] | | </div> | [[doku>plugin:cellbg|cellbg]] | |
| ^ 圖片 ^^^^ |
| ^ 圖片標題(caption) | <code>[{{<圖片位址、大小等>|<caption>}}]</code> | 真的頗簡單,就只在一般圖片語法 ''%%{{%%...%%}}%%'' 外加 ''[''、'']'' 而已 | [[doku>plugin:imagebox|imagebox]] | |
^ 引用 ^^^^ | ^ 引用 ^^^^ |
^ 本站其他頁面 | <code>{{page>xx:yy&...}}</code> FIXME | <div> | ^ 本站其他頁面 | <code>{{page>xx:yy&...}}</code> FIXME | <div> |
* 可用 ''#'' 引入單一段落 | * 可用 ''#'' 引入單一段落 |
</div> | [[doku>plugin:include|include]] | | </div> | [[doku>plugin:include|include]] | |
| ^ 本站其他頁面/圖片(popup) | <code>{{popup>%IMAGE/PAGE%?[%SIZE%]&[keepOpen]|[%TEXT/IMAGE%]}}</code> | <div> |
| ^ 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 | |
| </div> | [[doku>plugin:popupviewer|popupviewer]] | |
^ 外部網頁 | <code>{{url>http(s)://... width,height noscroll noborder alignment|alternate-text}}</code> | <div>(待翻譯 FIXME) | ^ 外部網頁 | <code>{{url>http(s)://... width,height noscroll noborder alignment|alternate-text}}</code> | <div>(待翻譯 FIXME) |
* //width// and //height// are optional. When only one value is given it is assumed to be the height. Otherwise the first value is width and the second value is height. You can give the values in ''px'', ''em'', ''pt'' or ''%''. When no unit is given ''px'' <del>is</del> is NOT assumed (you have to give the value). Defaults values are: width - 98%, height - 400px. | * //width// and //height// are optional. When only one value is given it is assumed to be the height. Otherwise the first value is width and the second value is height. You can give the values in ''px'', ''em'', ''pt'' or ''%''. When no unit is given ''px'' <del>is</del> is NOT assumed (you have to give the value). Defaults values are: width - 98%, height - 400px. |