1-4 Layout:頁尾與分隔
- 展示本站使用到的Dokuwiki Plugins1)
diveder
- 作為分隔線(divider)(BR)目的就是要區分段落區塊,例如本站有使用Adsense,把個段落明顯分開,應該更方便Adsense插入廣告
- K-GLOBE為台南人網站最早的logo,作為分隔線可以強化使用者的識別度
- 相較圖檔的Divider,用Icon/Font可以節省資源(如:減少網路重複傳輸量)
- divider與footer的使用相似,所以一起放在edithtm中表列,搭配include方式使用
- header由divider再演繹,作用仍為divider,但增加簡單的意涵,希望讓人一目了然。
footer
- 橫條式的圖檔作為頁尾或較多不同內容的頁面內分隔
- 作為頁尾(footer)或分隔線(divider)用,後來因頁尾使用了自動分頁(navi),為簡化版面與避免焦點混淆,把原第一層與第二層的footer移除改做為長頁面的分隔線與分段用。
- 目前因為台南內容多用NAVI(或section include)作為頁尾,以Simple故不放置footer
- 使用www.tainan.com.tw根目錄的images:
- plugin:footer 透過創建__footer.txt與plugin可以讓namespace中所有頁面都套用該頁尾,可用於贊助商頁面或是如whereis等主題頁面
- cf. spot@/biz@/design@/flower@透過include方式嵌入edithtm
- 114.6 為新版Librian相容性 移除whereis及farmer的footer.txt
To avoid a certain page from the footer template (e.g. the start page) you can insert this special command
~~NOFOOTER~~
to the content of this page.
第一層的分頁使用footer [[:domain:start|{{ https://tainan.com.tw/images/footer.gif?nolink |}}]]
第二層的內容使用footer [[:start|{{ https://www.tainan.com.tw/images/globe_footer.GIF?nolink }}]]
divider {{https://www.tainan.com.tw/images/wall.gif?nolink}}
1)
Dokuwiki主程式為了維護其完整性,透過外掛Plugins與模板Templates兩大類作為拓展功能用的Extensions,使用上依功能需要與喜愛的外觀來選擇,但須注意版本的相容性及延伸性。