<commit_before>---
title: Tooltips
---

Tooltips provide a quick definition for an item. There are two ways of creating tooltip: automatically from the glossary, and via a link override.

# Automatic Tooltips

Automatic tooltips reference glossary entries. If a glossary article by the name of "Tooltips" exists, then a tooltip will be available for the following item:

[Tooltips](# 'presidium-tooltip')

```md
[Tooltips](# 'presidium-tooltip')
```

# Link Override

You may also supply an internal article as a source for a tooltip. Presidium will use the article's first paragraph to construct the tooltip. You are required to ensure, however, that the first paragraph is semantically sufficient to be used as a tooltip. Note that the text used for the demarcation of a tooltip need not match the article title like [the following text on article templates]({{site.baseurl}}/best-practices/#use-article-templates 'presidium-tooltip').

```md
[the following text on article templates]({{site.baseurl}}/best-practices/#use-article-templates 'presidium-tooltip')
```<commit_msg>Add hidden liquid from example.<commit_after>---
title: Tooltips
---

Tooltips provide a quick definition for an item. There are two ways of creating tooltip: automatically from the glossary, and via a link override.

# Automatic Tooltips

Automatic tooltips reference glossary entries. If a glossary article by the name of "Tooltips" exists, then a tooltip will be available for the following item:

[Tooltips](# 'presidium-tooltip')

```md
[Tooltips](# 'presidium-tooltip')
```

# Link Override

You may also supply an internal article as a source for a tooltip. Presidium will use the article's first paragraph to construct the tooltip. You are required to ensure, however, that the first paragraph is semantically sufficient to be used as a tooltip. Note that the text used for the demarcation of a tooltip need not match the article title like [the following text on article templates]({{site.baseurl}}/best-practices/#use-article-templates 'presidium-tooltip').

{% assign tooltips_example = '{{ site.baseurl }}' %}

```md
[the following text on article templates]({{ tooltips_example }}/best-practices/#use-article-templates 'presidium-tooltip')
```
{'fraction_non_alphanumeric': 0.08773500447627573, 'fraction_numerical': 0.0, 'mean_word_length': 4.991957104557641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6117143', 'n_tokens_mistral': 631, 'n_tokens_neox': 587, 'n_words': 283}