Does wackowiki allow users to use templates
I know that "templates" already have a specific meaning and object on wackowiki. But forgive me, because I can't find any other exact word to describe it. Does wackowiki have a feature that allows users to easily call a template when creating an article? Just like Wikipedia's. I mean they have many kinds of templates that can be invoked to create things like people, countries, flora and fauna, wars, etc. Is there any way to implement these features on wackowiki?
Thanks a lot.
Comments
Log in or create an account to post a comment.
Re: Does wackowiki allow users to use templates
It is possible to implement content templates via action or handler. The example above can be improved, I only added the template.
This can be realized eighter via regex or page import, e.g. you have a template cluster you define and select then via drop-down the content template you wanna use - or you have predefined.
We can realize a simple solution.
Beyond that it is possible to create content boxes, e.g. for books. Here is the question if this box should be dynamic (action) or static (formatter).
Can you add a few samples we can work with for a show case.
回复: Does wackowiki allow users to use templates
Here is a link of how the template looks like in Wikipedia.https://en.wikipedia.org/wiki/Template:Infobox_language
Re: Does wackowiki allow users to use templates
Then it is better to have a meta page about the template, where users can suggest improvements.
The equvivalent in WackoWiki is the action. Additionally you can include other pages. In a action you can combine all aspects of the WackoWiki engine.
You might create a
{{tpl name="river"}}
meta action and include other actions and asociated templates, e.g.tpl_river.php
+tpl_river.tpl
.The rest is PHP and HTML, optionally JavaScript.
Re: Does wackowiki allow users to use templates
We already discussed the issue in late June this year in the team regarding data objects. I suggest to work out a guide how to create content templates including some good simple and advanced examples.
回复: Does wackowiki allow users to use templates
Thank you @WikiAdmin. I appreciate your keep updatding. I am very pleased to try this new action: Template examples. However, these days my server broken and lead all my wiki sites invaluable😭,I need to reinstall the wackowiki software, rebuild the database and recreation an admin account. I will try it when I setup all and let you know if.I can work well with it.
Thank you very much.