Dokuwiki for science

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

tabinclude_plugin [2016/10/30 08:24] (現在)
ライン 1: ライン 1:
  
 +====== Tabinclude plugin======
 +
 +This DokuWiki plugin creates a tab-control for selected wiki pages. By clicking a tab, an DokuWiki page appears on the site using AJAX.
 +
 +
 +|  [[https://​github.com/​iobataya/​dokuwiki-plugin-tabinclude|Repository at GitHUB]] ​ |  [[http://​github.com/​iobataya/​dokuwiki-plugin-tabinclude/​zipball/​master|Download]] ​ |
 +
 +
 +=====Example=====
 +%%{{tabinclude>​start,​*chem_plugin,​pubmed_plugin|Plugin for PubMed}}%%
 +
 +{{tabinclude>​start,​chem_plugin,​pubmed_plugin|Plugin for PubMed}}
 +
 +=====Syntax=====
 +You can specify tab pages separated by comma to show.
 +
 +<​code>​{{tabinclude>​page1,​page2,​page3,​ ...}}</​code>​
 +
 +==== Initial page ====
 +Initial page just after loading is the first page as default (page1 in the previous example). Also, the initial page can be defined prefix '​*'​. The following example will show page2 at first.
 +
 +<​code>​{{tabinclude>​page1,​*page2,​page3,​..}}</​code>​
 +
 +==== Tab name ====
 +As default, title in tabs are first heading of the page. If it is not found, ID would be shown. You can also set the specific title in tabs by splitting with '​|'​ (pipe). It is like standard DokuWiki syntax to define a title of link.
 +
 +<​code>​{{tabinclude>​page1|Top page,​page2|Second page,​page3,​..}}</​code>​
 +
 +
 +===== Appearance =====
 +The latest version is independent of jQuery tab UI. Colors of text and background in tab control is compliant with each template'​s colors written in style.ini. You can use almost templates without destroying look & feel. You can customize the lib/​tpl/​xxx/​style.ini file for entire style. For example, if you change %%__text__%% color for both contents and the tab control. Further detailed styles are defined in lib/​plugins/​tabinclude/​style.css.
 +
 +The tab control showed good appearance with the following popular templates. :)
 +  *dokuwiki/​default
 +  *monobook
 +  *arctic
 +  *arctic-mbo
 +  *roundbox
 +  *vector
 +
 +===== Installation & setting =====
 +
 +You can install this plugin with standard method in Admin->​Manage Plugins. If you want to install manually, rename extracted zip folder to '​tabinclude'​ to place in lib/​plugins/​ directory.
 +
 +
 +===== History =====
 +  *2013-02-05
 +    *Tab control become independent on jQuery UI.
 +    *Rewritten script.js converting from tw-sack to jQuery.
 +    *CSS is compliant to each templates'​ color.
 +    *localized to Japanese
 +  *2013-01-27
 +    *Supported only recent version using jQuery UI. (Angua, Adolla Belle)
 +  *2008-10-13
 +    *Vulnerability for XSS was fixed.
 +    *[[plugin:​odt|ODT export]] has been supported.
 +
 +
 +======Links======
 +<float icon(compass)>​
 +  *[[/​ja/​tabinclude_plugin|Tabincludeプラグイン]]
 +  *[[doku>​plugin:​tabinclude]]
 +  *[[doku>​plugin:​include]] - single page inclusion used by discussion plugin.
 +  *[[doku>​plugin:​display_wiki_page]] - single page inclusion used by monobook template.
 +</​float>​
 +
 +{{tag>​dokuwiki plugin AJAX}}