DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:pagetemplate

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
plugin:pagetemplate [2010-10-10 07:05] – downloadurl Aleksandrplugin:pagetemplate [2023-12-21 16:17] (current) – new download url Aleksandr
Line 1: Line 1:
-====== Pagetemplate Plugin ======+====== pagetemplate Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Link syntax copies existing page to new page at creation.+description: Link syntax copies existing page to new page at creation
 author     : Luke Howson author     : Luke Howson
 email      : mail@lukehowson.com email      : mail@lukehowson.com
 type       : action, syntax type       : action, syntax
-lastupdate :+lastupdate : 2007-08-23
 compatible : 2006-11-06 compatible : 2006-11-06
 depends    : depends    :
 conflicts  : conflicts  :
 similar    : similar    :
-tags       : editing, template, links, !experimental+tags       : !discontinued, editing, template, links, !experimental
  
-downloadurl: http://wiki.architecture.rmit.edu.au/lib/exe/fetch.php?id=wiki%3Aplugins&media=wiki:plugins:pagetemplate.zip?nocache|pagetemplate.zip +downloadurl: https://trello.com/1/cards/5d500efcd67eaa60c57f9ed0/attachments/5d500f33e586372877e1ce8e/download/pagetemplate.zip 
-----+bugtracker :  
 +sourcerepo : 
  
 +screenshot_img: 
  
-^   Version|0.2 alpha | +securitywarningPlugin is installed in the directory “cache” instead of “pagetemplateNeeds manually renaming. 
-^    Status|[[:experimental]] | +----
-^  Download| {{http://wiki.architecture.rmit.edu.au/lib/exe/fetch.php?id=wiki%3Aplugins&media=wiki:plugins:pagetemplate.zip?nocache|pagetemplate.zip}} |+
  
 +^   Version|0.2 alpha  |
 +^    Status|[[:experimental]]  |
 +^  Download|[[https://trello.com/1/cards/5d500efcd67eaa60c57f9ed0/attachments/5d500f33e586372877e1ce8e/download/pagetemplate.zip|pagetemplate.zip]]  |
  
 ===== Description ===== ===== Description =====
  
-The Pagetemplate [[plugins|Plugin]] is a new link syntax.  If the page does not yet exist, it will create the page in the normal fashion.  The new page, however, will not be empty ,but will contain the content copied from another page in the wiki.  Once the page has been created, the pagetemplate link functions like any other internal link.+The Pagetemplate Plugin is a new link syntax.  If the page does not yet exist, it will create the page in the normal fashion.  The new page, however, will not be empty ,but will contain the content copied from another page in the wiki.  Once the page has been created, the pagetemplate link functions like any other internal link.
  
 The intended purpose is to create a simple template system for semi-standard oft repeated page types.  Because the template page itself may contain further relative pagetemplate links, structures of pages can be created. The intended purpose is to create a simple template system for semi-standard oft repeated page types.  Because the template page itself may contain further relative pagetemplate links, structures of pages can be created.
- 
  
 ===== Syntax ===== ===== Syntax =====
 +
   [[[newpagename?templatepagename|Display Name]]]   [[[newpagename?templatepagename|Display Name]]]
  
Line 37: Line 41:
 ^templatepagename|An existing wiki page|optional| ^templatepagename|An existing wiki page|optional|
 ^Display Name|the display name for the page|optional| ^Display Name|the display name for the page|optional|
- 
- 
  
 ===== Example Usage ===== ===== Example Usage =====
Line 49: Line 51:
  
 __Don't install in the usual way__ : the above archive sets an empty "cache" directory that leads you to a "cache" plugin that does nothing. You'd rather refer to [[plugin:pagetemplate:listing|Code Listing]] for manual installation. __Don't install in the usual way__ : the above archive sets an empty "cache" directory that leads you to a "cache" plugin that does nothing. You'd rather refer to [[plugin:pagetemplate:listing|Code Listing]] for manual installation.
 +
 +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 =====  Code Listing ===== =====  Code Listing =====
  
-see: [[plugin:pagetemplate:listing|Code Listing]]+See: [[plugin:pagetemplate:listing|Code Listing]]
  
 ===== To Do ===== ===== To Do =====
 +
   * Correct the archive (suppress "cache" folder)   * Correct the archive (suppress "cache" folder)
   * make it work with last DokuWiki version   * make it work with last DokuWiki version
- 
  
 ===== Bugs ===== ===== Bugs =====
Line 70: Line 74:
  
 > Actually manual install works better : triple brackets are recognized, but the template isn't loaded though... --- //[[hugoborrell@gmail.com|NewMorning]] 2008/08/07 15:01// > Actually manual install works better : triple brackets are recognized, but the template isn't loaded though... --- //[[hugoborrell@gmail.com|NewMorning]] 2008/08/07 15:01//
 +
 +> Is there any way to get this plugin working on newer versions of dokuwiki? --- //[[tezmanian@gmail.com|tezmanian]] 2011/03/28 15:44//
  
 ===== Comments ===== ===== Comments =====
  
 == Old wine in new bottles? == == Old wine in new bottles? ==
 +
 Dokuwiki offers you the possibility to define templates:  Dokuwiki offers you the possibility to define templates: 
   * create a file called **"_template.txt"** (in UTF-8) on your hard disk,    * create a file called **"_template.txt"** (in UTF-8) on your hard disk, 
plugin/pagetemplate.1286687112.txt.gz · Last modified: 2010-10-10 07:05 by Aleksandr

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