Data References

Data references provide a shorthand method for embedding properties of images and pages within page templates, placeholders and page content. The linked pages provide a list of properties available for use by data references.

Syntax:
{data:id#item}
Example:
To access data for a specific page
{data:start#Title}
Quick Start Guide
{data:start#TemplateId}
pageStaticT
{data:start#URL}
https://blueboxhosting.org/start
{data:start#User Defined Property}
Sample Data
{data:fontawesome-demo#PDateTime}
2021-02-12T14:48:00-07:00
Example:
To access data for the current page, the internal placeholder, %PageId% can be used as the id
{data:%PageId%#Title}
Data References
{data:%PageId%#Author}
Bob Bobson
{data:%PageId%#MediaId}
F9
Example:
You can also access the properties of an image using the image's id.
{data:M17#Caption}
{data:M1#Camera Type}
Canon EOS Rebel
Example:
You can also access the properties of the current page's assigned image, by substituting the page's media id for the data reference's id.
{data:{data:%PageId%#MediaId}#Small}
https://live.staticflickr.com/3120/3147387771_934b8f148d_n.jpg
Example:
You can also access the user data when it's defined. The following <UserData> definition has been added for this example. In the example, the current page's author's name is used as the user data id to access properties of the author.
{data:{data:%PageId%#Author}#Home Town}
Walthropshire, Mars
{data:{data:%PageId%#Author}#Ethnicity}
Martian
Example:
BlüeBox also defines placeholders to simplify some of the above examples.
<page:property>Title</page:property>
Data References
<page:image>Medium</page:image>
https://live.staticflickr.com/3120/3147387771_934b8f148d_z.jpg
<author:property>Ethnicity</author:property>
Martian
Example:
To access data for the "current" image, the internal placeholder, %MediaId% can be used as the id
{data:%MediaId%#Small}
[This can only be used in template during image display]
Example:
BlüeBox also defines a placeholder to simplify the above example.
<image:property>Small</image:property>
[This can only be used in template during image display]