Extension:SimpleTooltip (Universal-Omega)/pl
Status wydania: stabilne |
|
|---|---|
| Realizacja | Funkcja parsera |
| Opis | Provides basic tooltips, supporting inline text and info icons |
| Autor(zy) | Simon Heimler (Fannon dyskusja ) |
| Ostatnia wersja | 1.2.0 (2023年01月12日) |
| MediaWiki | 1.38+ |
| PHP | 5.2+ |
| Zmiany w bazie danych | Nie |
| Licence | Licencja MIT |
| Pobieranie | GitHub:
Uwaga: README |
The SimpleTooltip extension adds support for basic tooltips. It uses the Tooltipster Library to do so.
It has no dependencies on other extensions. The extension has explicit support for Page Forms , where tooltips within multiple instance forms will get created dynamically. This will not work with the "info" parser function provided by Semantic MediaWiki .
This forked version of SimpleTooltip is currently maintained by Universal-Omega.
Instalacja
- Download i umieść plik(i) w katalogu o nazwie
SimpleTooltip (Universal-Omega)w swoim kataloguextensions/. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'SimpleTooltip (Universal-Omega)' );
- Yes Zrobione – Przejdź do
Special:Versionna twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Instead of downloading the zip archive you may also check this extension out via Git:
gitclonehttps://github.com/Universal-Omega/SimpleTooltip.git
Konfiguracja
Currently there are no options supported. This may change due to demand or not.
Użycie
There is a short alias and a more descriptive parser function name for each tooltip type.
Inline-text tooltip
{{#tip-text: text | tooltip-text}}{{#simple-tooltip: text | tooltip-text}}
Info-icon tooltip:
{{#tip-info: tooltip-text }}{{#simple-tooltip-info: tooltip-text }}
Inline-Image tooltip:
{{#tip-img: /path/to/your/image.png | image tooltip-text }}{{#simple-tooltip-img: /path/to/your/image.png | image tooltip-text }}