New "live templates" could be done with original templates
Forum » Help / Managing the site » New "live templates" could be done with original templates
started by: OliOli
on: 1211541933|%e %b %Y, %H:%M %Z|agohover
number of posts: 2
rss icon RSS: new posts
New "live templates" could be done with original templates
OliOli 1211541933|%e %b %Y, %H:%M %Z|agohover

The new live templates feature allows you to update pages with the template on.

However, you could have done it with the original template system, using the [[include]] syntax.

To do so, create a template, and assign it to a category.

Edit the template page, and add the following:

[[include template-content]]

Now go to http://your-site.wikidot.com/template-content. Create the page, and add all the content you want to have in the template. Save the page and it will update all pages you have used the template on.

If you have any problems, use the new system as it's simpler. :-)

unfold New "live templates" could be done with original templates by OliOli, 1211541933|%e %b %Y, %H:%M %Z|agohover
Re: New "live templates" could be done with original templates
SocksSocks 1212262430|%e %b %Y, %H:%M %Z|agohover

Except with that, you couldn't edit parts in (I.E. a table in the template couldn't have its content changed on the child page.

new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.