bwanders / dokuwiki-plugin-stratatemplatery Goto Github PK
View Code? Open in Web Editor NEWCombining Templatery with Strata
Combining Templatery with Strata
I'm using Strata to create structured data, and I'm also using templates to easily include reusable text in pages. Strata does not work with standard template plugins, and I discovered yours. The Templatery plugin actually works better (as it ignores any content placed outside the tags), so I'm using that one for standard templates. Now, you've created this plugin so Strata works with templatery. I've been able to use it by reading through the code and by trial-and-error. However, some things are not clear to me, so if possible, can you explain what is possible?
I've been using the standard @@Fieldname@@ tags together with the tags. This allows me to create a layout of the fields freely, however, the fields remain visible, even if left blank, or omitted. I've discovered that I can also use @@->fields|only=fieldName,fieldName@@ to create fields, which work just like the standard entry and will not display if left blank or omitted. However, I cannot change the display name of the field, and I prefer using shorthand field names as they're easier to type. Is it possible to change that? I do understand part of the code (and a bit of PHP), so if you can explain what the code exactly does, I may also be able to modify it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.