<?php

namespace CarDealerPress\Templates\Admin\Shortcode;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

function slider_parameters() {
	$content = '<div id="content-inventory-slider" class="sc-tab-content" >
<div class="sc-info-header">		
<div class="sc-info-call"><span>Minimum Usage: [inventory_slider]</span></div>
<div class="sc-info-usage"><span>Example Usage: [inventory_slider saleclass="Used"]</span></div>
</div>
<table class="sc-info-table-params">';

	$content .= short_code_parameters_headers();
	$content .= '<tr>
		<td class="td-full center">saleclass</td>
		<td class="td-full center">All, New, Used</td>
		<td class="td-full center">All</td>
	</tr>';
	$content .= common_params();
	$content .= '<tr>
		<td class="td-full center">limit</td>
		<td class="td-full center">Any numeric value between 1-50</td>
		<td class="td-full center">10</td>
	</tr>
	<tr>
		<td class="td-full center">price</td>
		<td class="td-full center">A numeric value range separated by a comma<span style="display: block; font-size: 10px; font-style: italic; color: #707070">e.g.: 1700,23000</span></td>
		<td class="td-full center">empty</td>
	</tr>
	<tr>
		<td class="td-full center">mileage</td>
		<td class="td-full center">A numeric value range separated by a comma<span style="display: block; font-size: 10px; font-style: italic; color: #707070">e.g.: 78000,92111</span></td>
		<td class="td-full center">default</td>
	</tr>
	<tr>
		<td class="td-full center">year</td>
		<td class="td-full center">A numeric value range separated by a comma<span style="display: block; font-size: 10px; font-style: italic; color: #707070">e.g.: 1990,1998</span></td>
		<td class="td-full center">default</td>
	</tr>
	<tr>
		<td class="td-full center">dealer_id</td>
		<td class="td-full center">Pull the inventory from another VMS ID (Useful for sites that are using an Automall ID)</td>
		<td class="td-full center">Settings ID</td>
	</tr>	
	<tr>
		<td class="td-full center">fuel_type</td>
		<td class="td-full center">unleaded, hybrid, diesel</td>
		<td class="td-full center">empty</td>
	</tr>
	<tr>
		<td class="td-full center">image_size</td>
		<td class="td-full center">The size of the photo to be used: small (200x150) , medium (320x240)</td>
		<td class="td-full center">small</td>
	</tr>
	<tr>
		<td class="td-full center">use_vehicle_url</td>
		<td class="td-full center">Set to "true" if you want to use an upstream vdp url, it will open in a new tab by default.</td>
		<td class="td-full center">false</td>
	</tr>
	<tr>
		<td class="td-full center">show_attributes</td>
		<td class="td-full center">Shows the vehicle attributes, 0=Off, 1=On</td>
		<td class="td-full center" >0 (off)</td>
	</tr>
    <tr class="row-specific"></tr><td></td>
    <td style="font-weight: bold;padding:5px;">Slider Specific Attributes</td>
    <td></td>
    <tr>
		<td class="td-full center">title</td>
		<td class="td-full center">Title to display over slider. ex: title="featured vehicles"</td>
		<td class="td-full center">empty</td>
	</tr>
	<tr>
		<td class="td-full center">autoplay</td>
		<td class="td-full center">Toggle autoplay feature on (1) or off (0).</td>
		<td class="td-full center">1 (on)</td>
	</tr>
	<tr>
		<td class="td-full center">pagination</td>
		<td class="td-full center">Determines whether to create pagination (indicator dots) or not on (1) or off (0).</td>
		<td class="td-full center">0 (off)</td>
	</tr>
	<tr>
		<td class="td-full center">rewind</td>
		<td class="td-full center">Determines whether to rewind the carousel or not, (1) or off (0).</td>
		<td class="td-full center">1 (on)</td>
	</tr>
	<tr>
		<td class="td-full center">interval</td>
		<td class="td-full center">The autoplay interval in milliseconds.</td>
		<td class="td-full center">3000</td>
	</tr>	
	<tr>
		<td class="td-full center">speed</td>
		<td class="td-full center">The transition speed in milliseconds.</td>
		<td class="td-full center">300</td>
	</tr>
</tbody>
</table>
</div>';

	return $content;
}