Commit 68559105 authored by NickWilde's avatar NickWilde

Task: Issue #2824504 by NickWilde: Document Templates

parent 0a69579a
{#
/**
* @file
* Default theme implementation for an item on a views slideshow cycle slide.
*
* Available variables:
* - classes: Classes to apply to the element.
* - count: The slide number.
* - item: Rendeder field(s) making up item.
* - item_count: nth item on slide.
* - length: Total number of slides.
* - view: The view.
*
* @see template_preprocess_views_slideshow_cycle_main_frame_row_item()
*
* @ingroup themeable
*/
#}
<div {{ attributes.addClass(classes) }}>
{{ item }}
</div>
{#
/**
* @file
* Default theme implementation for an individual views slideshow cycle slide.
*
* Available variables:
* - classes: Classes to apply to the element.
* - count: The slide number.
* - rendered_items: Rendered items for slide.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_()
*
* @ingroup themeable
*/
#}
<div id="views_slideshow_cycle_div_{{ vss_id }}_{{ count }}" {{ attributes.addClass(classes) }}>
{% for rendered_item in rendered_items %}
{{ rendered_item }}
......
{#
/**
* @file
* Default theme implementation for an views slideshow cycle main frame.
*
* Available variables:
* - classes: Classes to apply to the element.
* - rendered_rows: The slides.
* - vss_id: The slideshow id.
*
* @see template_preprocess_views_slideshow_cycle_main_frame()
*
* @ingroup themeable
*/
#}
<div id="views_slideshow_cycle_teaser_section_{{ vss_id }}" {{ attributes.addClass(classes) }}>
{% for rendered_row in rendered_rows %}
{{ rendered_row }}
......
{#
/**
* @file
* Default theme implementation for a views slideshow with cycle main plugin.
*
* Available variables:
* - bottom_widget_rendered: Widget under the slideshow with controls/data.
* - skin: The skin being applied to the slideshow.
* - slideshow: The slideshow.
* - top_widget_rendered: Widget above the slideshow with controls/data.
*
* @see _views_slideshow_preprocess_views_view_slideshow()
*
* @ingroup themeable
*/
#}
<div class="skin-{{ skin }}">
{% if top_widget_rendered %}
<div class="views-slideshow-controls-top clearfix">
......
{#
/**
* @file
* Default theme implementation for a views slideshow text next control.
*
* Available variables:
* - classes: Classes to apply to the control.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_controls_text_next()
*
* @ingroup themeable
*/
#}
<span id="views_slideshow_controls_text_next_{{ vss_id }}" {{ attributes.addClass(classes) }}>
<a href="#">{{ 'Next'|t }}</a>
</span>
{#
/**
* @file
* Default theme implementation for a views slideshow text pause control.
*
* Available variables:
* - classes: Classes to apply to the control.
* - start_text: Text to display while playing.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_controls_text_pause()
*
* @ingroup themeable
*/
#}
<span id="views_slideshow_controls_text_pause_{{ vss_id }}" {{ attributes.addClass(classes) }}>
<a href="#">{{ start_text }}</a>
</span>
{#
/**
* @file
* Default theme implementation for a views slideshow text previous control.
*
* Available variables:
* - classes: Classes to apply to the control.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_controls_text_previous()
*
* @ingroup themeable
*/
#}
<span id="views_slideshow_controls_text_previous_{{ vss_id }}" {{ attributes.addClass(classes) }}>
<a href="#">{{ 'Previous'|t }}</a>
</span>
{#
/**
* @file
* Default theme implementation for a views slideshow text controls.
*
* Available variables:
* - classes: Classes to apply to the control.
* - rendered_control_next: Text next control.
* - rendered_control_pause: Text pause control.
* - rendered_control_previous: Text previous control.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_controls_text()
*
* @ingroup themeable
*/
#}
<div id="views_slideshow_controls_text_{{ vss_id }}" {{ attributes.addClass(classes) }}>
{{ rendered_control_previous }}
{{ rendered_control_pause }}
......
{#
/**
* @file
* Default theme implementation for a views slideshow pager item.
*
* Available variables:
* - plugin: The main frame slideshow plugin.
* - slides: The slides.
* - vss_id: The slideshow's id.
*
* @ingroup themeable
*/
#}
<div id="{{ plugin }}_main_{{ vss_id }}" class="{{ plugin }}_main views_slideshow_main">
{{ slides }}
</div>
\ No newline at end of file
</div>
{#
/**
* @file
* Default theme implementation for a views slideshow pager field field data.
*
* Available variables:
* - css_identifier: css identified for the field..
* - label: Label for the field.
* - output: The field data.
*
* @see template_preprocess_views_slideshow_pager_field_field()
*
* @ingroup themeable
*/
#}
<div class="views-field-{{ css_identifier }}">
{% if label %}
<label class="view-label-{{ css_identifier }}">
......
{#
/**
* @file
* Default theme implementation for a views slideshow pager item.
*
* Available variables:
* - classes: Classes to apply to the element.
* - count: The page number.
* - location: Location of pager.
* - item: Rendered field(s) making up item.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_pager_field_item()
*
* @ingroup themeable
*/
#}
<div id="views_slideshow_pager_field_item_{{ location }}_{{ vss_id }}_{{ count }}" {{ attributes.addClass(classes) }}>
{{ item }}
</div>
{#
/**
* @file
* Default theme implementation for a views slideshow pager item.
*
* Available variables:
* - classes: Classes to apply to the element.
* - rendered_field_items: The individual pager elements.
* - widget_id: The pager id.
*
* @see template_preprocess_views_slideshow_pager_field_item()
*
* @ingroup themeable
*/
#}
<div id="{{ widget_id }}" {{ attributes.addClass(classes) }}>
{{ rendered_field_items }}
</div>
{#
/**
* @file
* Default theme implementation for a views slideshow slide counter.
*
* Available variables:
* - classes: Classes to apply to the counter's div element.
* - slide_count: Total number of slides.
* - vss_id: The slideshow's id.
*
* @see template_preprocess_views_slideshow_slide_counter()
*
* @ingroup themeable
*/
#}
<div id="views_slideshow_slide_counter_{{ vss_id }}" {{ attributes.addClass(classes) }}>
<span class="num">1</span> {{ 'of'|t }} <span class="total">{{ slide_count }}</span>
</div>
{#
/**
* @file
* Default theme implementation for a views slideshow.
*
* Available variables:
* - bottom_widget_rendered: Widget under the slideshow with controls/data.
* - skin: The skin being applied to the slideshow.
* - slideshow: The slideshow.
* - top_widget_rendered: Widget above the slideshow with controls/data.
*
* @see _views_slideshow_preprocess_views_view_slideshow()
*
* @ingroup themeable
*/
#}
{% if slideshow %}
<div class="skin-{{ skin }}">
{% if top_widget_rendered %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment