diff --git a/templates/_macros/vf_tiered-list.jinja b/templates/_macros/vf_tiered-list.jinja index ea4dbabb9..c68b2e3f8 100644 --- a/templates/_macros/vf_tiered-list.jinja +++ b/templates/_macros/vf_tiered-list.jinja @@ -62,6 +62,8 @@ {%- set list_item_description_content = caller('list_item_description_' + number|string) -%} {%- set has_description_content = list_item_description_content|trim|length > 0 -%} + {#- Check to see if title/description content exist, since we're + iterating through 25 potential list items -#} {%- if has_title_content and has_description_content -%} {%- if is_list_full_width_on_tablet == true %}
Name | -Is required | -Type | -Default | -Description | +Name | +Required? | +Type | +Default | +Description |
---|---|---|---|---|---|---|---|---|---|
layout |
- Yes | -
- One of:
- '50/50' ,
- '50/50-full-width-image' ,
- '75/25' ,
- '25/75' ,
- 'fallback'
- |
- 'fallback' |
- Choice of hero layout. | +
+ layout
+ |
+ + Yes + | +
+ One of: + '50/50' ,+ '50/50-full-width-image' ,+ '75/25' ,+ '25/75' ,+ 'fallback'
+ |
+
+ 'fallback'
+ |
+ + Choice of hero layout + |
title_text |
- Yes | -string |
- N/A |
- h1 title text |
+
+ title_text
+ |
+ + Yes + | +
+ string
+ |
+
+ N/A
+ |
+
+ h1 title text
+ |
subtitle_text |
- No | -string |
- N/A |
- h2 subtitle text |
+
+ subtitle_text
+ |
+ + No + | +
+ string
+ |
+
+ N/A
+ |
+
+ h2 subtitle text
+ |
is_split_on_medium |
- Yes | -boolean |
- false |
- Whether the layout is split on tablet-sized devices. | +
+ is_split_on_medium
+ |
+ + Yes + | +
+ boolean
+ |
+
+ false
+ |
+ + Whether the layout is split on tablet-sized devices + |
Name | -Is required | -Description | +Name | +Required? | +Description |
---|---|---|---|---|---|
description |
- No | -Paragraph-style content below the title and subtitle. | +
+ description
+ |
+ + No + | ++ Paragraph-style content below the title and subtitle + |
cta |
- Yes | -Contents of a Call to action block beneath the title and description. | +
+ cta
+ |
+ + Yes + | ++ Contents of a CTA block beneath + the title and description + |
image |
- Yes, when layout='50/50-full-width-image' |
- Image content. | +
+ image
+ |
+
+ Yes, when layout='50/50-full-width-image'
+ |
+ + Image content + |
signpost_image |
- Yes, when layout='25/75' |
- Small image (such as a logo) to place in the left column of the 25/75 Hero. | +
+ signpost_image
+ |
+
+ Yes, when layout='25/75'
+ |
+ + Small image (such as a logo) to place in the left column of the + 25/75 Hero + |
Name | +Required? | +Type | +Default | +Description | +
---|---|---|---|---|
+ is_description_full_width_on_desktop
+ |
+ + Yes + | +
+ boolean
+ |
+
+ true
+ |
+ + Whether the description element should be full-width on desktop + | +
+ is_list_full_width_on_tablet
+ |
+ + Yes + | +
+ boolean
+ |
+
+ true
+ |
+ + Whether the list element should be full-width on tablet + | +
Name | +Required? | +Description | +
---|---|---|
+ title
+ |
+ + Yes + | ++ Title sentence displayed at the top of the pattern + | +
+ description
+ |
+ + No + | ++ Description paragraph displayed below the title + | +
+ list_item_title_[1-25]
+ |
+ + Yes, at least 1 + | ++ Title element of each child list item; max of 25 + | +
+ list_item_description_[1-25]
+ |
+ + Yes, at least 1 + | ++ Description element of each child list item; max of 25 + | +
+ cta
+ |
+ + No + | ++ Contents of a CTA block at the + bottom of the pattern + | +