function getAttributesTooltip(p_target, p_title, p_message, p_position = false) {
  let v_html = '';
  if (p_message) {
    v_html += (p_title != undefined) ? '<div>' + p_title + '</div>' : '';
    v_html += (p_message != undefined) ? '<div>' + p_message + '</div>' : '';
  }
  else {
    v_html += (p_title != undefined) ? '<h4 class=\"mb-0\">' + p_title + '</h4>' : '';
  }
  let v_position = (p_position) ? p_position : 'bottom';
  p_target.setAttribute('data-html',true);
  p_target.setAttribute('data-placement',v_position);
  p_target.setAttribute('data-toggle','tooltip');
  p_target.setAttribute('title',v_html);
}
## getAttributesTooltip
@desc Creates and applies tooltip attributes to the target.

@param  {string} title   Title string.
@param  {string} message Message string, accepts html.
@return {string}         HTML string.