====== HTML_PAGE_FROMTEMPLATE ======
---- dataentry event ----
Description: replace namespace templates functionality
DefaultAction: load an existing namespace template, replace some variables and return it to the edit box
Preventable: yes
Added_dt: 2006-09-16
Removed_dt: 2010-03-10
----
**This event got replaced by**
* [[devel:event:common_page_fromtemplate|COMMON_PAGE_FROMTEMPLATE]] **on 2010-03-10,**
* **which got replaced by [[devel:event:common_pagetpl_load|COMMON_PAGETPL_LOAD]] on 2011-02-03**
**and is not available in subsequent stable releases.**
This event is signalled by [[xref>html_edit()]] in [[xref>inc/html.php]] when a new page is to be created (loaded into the editor), handlers can use it to load their own [[:namespace templates]].
===== Passed Data =====
* $data[0] - ID of the page to be created
===== See also =====
* [[codesearch>HTML_PAGE_FROMTEMPLATE|Code related to this event]] used in any DokuWiki's files, plugins and templates
* [[devel:Action Plugins]]
* [[devel:Events]]
* [[:namespace templates]]