Infobulle

Documentation du tag

Returns a tooltip item. Takes a dict as parameter, with the following structure:

data_dict = {
    "content": "Content of the tooltip",
    "label": "(optional) Label of the link item",
    "is_clickable": "(optional) Boolean indicating if this is a button",
    "id": "(optional) Id of the item",
}

All of the keys of the dict can be passed directly as named parameters of the tag.

Tag name: village_tooltip

Usage: {% village_tooltip data_dict %}

Exemples

Données

{'content': 'Contenu d’une infobule activée au survol',
 'label': 'Libellé du lien'}

Résultat

Libellé du lien

Données

{'content': 'Contenu d’une infobule cliquable',
 'id': 'tooltip-b',
 'is_clickable': True}

Résultat