Excerpt | ||||||
---|---|---|---|---|---|---|
|
...
As tagboxes store multiple values (tags) you must use a liquid tag, the for loop:
{% for item in Data.SchemaIAm.FieldAffectedFromSchemaIAm %} {{ item.FieldnameFromReferencedSchema.Language}} {% endfor%}
Display Pattern Liquid Filters
...
Look here for more filters: https://github.com/Shopify/liquid/wiki/Liquid-for-Designers#standard-filters
{{data.schema.Textfield | truncate: 5, '' }}
truncates down to 5 characters
{{data.schema.Textfield | truncate: 5, '...' }}
truncates down to 5 characters and append three dots
{{data.schema.Textfield | upcase }}
converts the values to uppercase
{{data.schema.Textfield | append: ' VIT' }}
appends VIT to the values
{{data.fileMetadata.fileName | replace: data.imageMetadata.fileExtension , "" }}
replaces the file extionsion in the original file name with nothing aka removes the file extension
...
capitalizes every word
{{data.schema.Textfield | downcase }}
converts the values to lowercase
{{data.schema.Textfield | prepend: 'Picturepark' }}
...
Displays the date value in your computer's regional setting time zone.
Date Format Syntax
You can format the date to different formats, the syntax is like strf.
%m > month as 01..12
%b > month as Jan…Dec
%Y > year with century as 2021
%y > year without century as 21
Code Block |
---|
{{data.xmpMetadata.xmp.createDate | date: "%Y-%m"}}
Output: 2021-06
{{data.xmpMetadata.xmp.createDate | date: "%Y"}}
Output: 2021
{{data.xmpMetadata.xmp.createDate | date: "%m, %Y"}}
Output: 06, 2021 |