Skip to content

Navigation Menu

Sign up
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

Chunk Parameters

Deesen edited this page Feb 9, 2017 · 2 revisions

Chunk-calls can handle custom placeholders. This allows for example to use chunks in row-templates of snippets like Wayfinder or a Ditto-listing, to replace custom placeholders inside of chunks.

Chunk "chunkName"

<div>
 <h3>[+title+]</h3>
 <p>[+body+]</p>
</div>

Calling {{chunkName}}

{{chunkName?title='First post'&body='Hello World!'}}

Other Examples

{{buttons?
 &pagetitle='[+pagetitle+]'
 &id='[+id+]'
 &url='[~[+id+]~]'
}}

References

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /