DokuWiki

It's better when it's simple

User Tools

Site Tools


template:starter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
template:starter [2021-01-12 20:14] – added compatible with greebo desbesttemplate:starter [2024-01-21 14:21] (current) – template updated ach
Line 5: Line 5:
 author        : Anika Henke author        : Anika Henke
 email         : anika@selfthinker.org email         : anika@selfthinker.org
-lastupdate    : 2017-01-15 +lastupdate    : 2024-01-21 
-compatible    : Frusterick Manners, Elenor of Tsort, Detritus, "Ponder Stibbons", Hrun, Greebo+compatible    : Frusterick Manners, Elenor of Tsort, Detritus, "Ponder Stibbons", Hrun, Greebo, Hogfather, 2023-04-04
 depends       :  depends       : 
 conflicts     :  conflicts     : 
 similar       :  similar       : 
 screenshot_img: :template:starter_template.png screenshot_img: :template:starter_template.png
-tags          : start, discussion, simple, sidebar, userpage+tags          : start, simple, sidebar
  
-downloadurl   : https://github.com/selfthinker/dokuwiki_template_starter/archive/stable.zip+downloadurl   : https://github.com/selfthinker/dokuwiki_template_starter/zipball/master
 bugtracker    : https://github.com/selfthinker/dokuwiki_template_starter/issues bugtracker    : https://github.com/selfthinker/dokuwiki_template_starter/issues
 sourcerepo    : https://github.com/selfthinker/dokuwiki_template_starter sourcerepo    : https://github.com/selfthinker/dokuwiki_template_starter
 donationurl   : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728 donationurl   : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728
 ----  ---- 
- 
  
 The **Starter Template** is designed to be the starting point of your custom template. It has a lot of inline comments in the code which should explain many things. It focuses less on design, but more on maintainability. The **Starter Template** is designed to be the starting point of your custom template. It has a lot of inline comments in the code which should explain many things. It focuses less on design, but more on maintainability.
Line 47: Line 46:
  
 ^config option         ^description                                                         ^default value   ^ ^config option         ^description                                                         ^default value   ^
-^ ''userPage''         | User page (''@USER@'' is replace by the corresponding user name)   | ''user:@USER@'' | 
-^ ''discussionPage''   | Discussion page (''@ID@'' is replaced by the corresponding page ID)| ''discussion:@ID@'' | 
 ^ ''hideTools''        | hide editing and other tools when not logged in                    | ''0''          | ^ ''hideTools''        | hide editing and other tools when not logged in                    | ''0''          |
 +^ ''sidebarIsNav''     | use a ''nav'' element around the sidebar if it's mainly used for navigation, otherwise use an ''aside'' element (new since version 2021-01-25) | ''1''          |
  
-===== Event hooks =====+Config options in previous versions (removed in version 2021-01-25):
  
-Since 2013-11-18 the following three event hooks are supported:+  * ''discussionPage'': Discussion page functionality was removed and can be replaced by using the [[:plugin:talkpage|Talkpage Plugin]]; just change the ''talkns'' option from 'talk' to 'discussion' to use the same namespace as before 
 +  * ''userPage'': User page functionality was removed and can be replaced by using the [[:plugin:userpage|Userpage Plugin]]
  
-  * ''[[devel:event:TEMPLATE_USERTOOLS_DISPLAY]]'': for changing or adding to items in the user tools (login, admin, etc) 
-  * ''[[devel:event:TEMPLATE_SITETOOLS_DISPLAY]]'': for changing or adding to items in the site tools (recent changes, sitemap, etc) 
-  * ''[[devel:event:TEMPLATE_PAGETOOLS_DISPLAY]]'': for changing or adding to items in the user tools (edit page, old revisions, etc) 
- 
-The items can be accessed via ''%%$event->data['items']%%''. 
  
 ===== More Info ====== ===== More Info ======
- 
-==== To Do ===== 
- 
-  * improve print styles 
  
 ==== Credits ===== ==== Credits =====
Line 94: Line 84:
   * [[zenlike|Zenlike]]   * [[zenlike|Zenlike]]
   * [[benjamin|Benjamin]]   * [[benjamin|Benjamin]]
 +  * [[template:stm|STM]]
  
 ===== Comments ===== ===== Comments =====
template/starter.1610478895.txt.gz · Last modified: 2021-01-12 20:14 by desbest

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki