~~NOTOC~~ ===== 1-2 Layout:WRAP ===== * [[wiki:dokuwiki|DokuWiki]]與語法[[wiki:syntax|Syntax]]{{fa>flask&align=right}} * 展示本站使用到的[[https://www.dokuwiki.org/plugins|Dokuwiki Plugins]]((Dokuwiki主程式為了維護其完整性,透過外掛Plugins與[[https://www.dokuwiki.org/template|模板Templates]]兩大類作為拓展功能用的Extensions,使用上依功能需要與喜愛的外觀來選擇,但須注意版本的相容性及延伸性。)) ==== Wrap ==== ===自動分欄=== [[https://www.dokuwiki.org/plugin:wrap|plugin:wrap]] 版面的相關功能,如多欄、文字框...這是一個必選必用的Plugin因為它涵蓋的功能眾多甚至包含其他單一Plugin(例如#anchor#錨點,有單獨Plugin的Anchor與Bookmark,但若能概括其他plugin的功能,對使用plugin的設計者何樂不為呢??),建議詳看原始文件與demo頁。 ===自動按鈕=== 與自動標籤(tab)相似,將連結以按鈕呈現(PS.經測試按鈕中文字無法換/多行) [[https://demo.selfthinker.org/plugin:wrap#language_and_text_direction|Demo網頁]] [[http://mcloud-doc.lonxun.com/wiki/playground/wrap|另一個中文CN Demo]] ===文字區塊=== 原本dokuwiki會將首以兩個空白後文字視為文字區塊,CODE標籤相對會將文字自動換行。 Inside this code block the words will wrap to a new line although they are all in one line. ===圖文區塊=== 相當好用的可以將圖文以顏色與框線,自訂寬度或排列,也可以使用如tip/info等附帶圖示的區塊。 Learn about the special kinds of content on this site. wrap info\\ wrap tip\\ help\\ important\\ todo\\ danger warning caution notice safety 類似Q&A上下放在一起,用在whereis找台南. //**__Outer green box floats right__**// Inner nested box floats left and is partly __em__phasized and __hi__ghlighted with nested __bigger__ text inside. Text inside outer right box, but beneath inner left box. Round tip box underneath, after a ''clear''. === anchor錨點 === * 連結到較長頁面中的特定點,[[gallery:streetart#anchor|範例]] 連結到streetart頁的code插入點。 * cf. dokuwiki預設標題會是anchor錨點 === button連結按鈕 === 針對wiki內部連結WRAP plugin可以轉成按鈕方式表現,更可以套用在整個<>區段的所有連結。適用的場合反倒是在版面中連結不多的時候,理由一是太長的連結會被換行切斷,理由二是按鈕化後的文字列高變高,可能會影響版面編排。 [[:link|內部連結]] [[:link2|連結2]] 應用範例: [[centerwest:biz|CenterWest:Biz]] {{gallery>:centerwest:biz?&200x200&random&=2}} === HTML5 CSS分段 === 在頁面編輯的工具列中,WRAP工具歸在一個黃色盒子圖示,其中有個箭頭退除符號,作用是產生下面的功能碼,在HTML5 CSS中,可以協助(強制)分段(section),有時候因為不同Plugin的使用使得版面出現不如預期的錯亂時,推薦使用看看,即便沒有作用也不會造成贅餘或混亂。 * An uppercase WRAP (or alternatively or
) creates a div * A lowercase wrap (or alternatively or ) creates a span === User define CSS === 針對default theme修改,所以同樣效果在writr theme無效,詳見[[playground:pg5_userdefine|etc. User Define CSS]] [<10>]