WdsTooltips - a tooltip that works on both mobile and desktop.CSS3Tooltip - a tooltip plugin made with CSS3 only.TippingOver - an extension similar to Tooltips.js.League of Legends Wiki: de, en, es, pl, ru, vi.If your tooltips has shadow you might want to make space for it by adding margin to them or by adding padding to the div that contains active tooltips ( #tooltip-wrapper).įeel free to add your wiki to the list if it uses this script to show how it works in action :).tt- tooltip-type: every tooltip receives class based on its type (ex: tt-basic-tooltip) â great for having different looking tooltip types.tooltip-loading: given to tooltips that are still waiting for parsed contents to load â you can use it to show loading indicator or just hide the tooltip until it's ready.has-redlinks: given to tooltips that (as the name says) have redlinks inside â this can be used to hide tooltips with missing templates.Debug mode can also be turned on temporarily by adding ?ttdebug=true at the end of the URL. Setting it to true will make some elements visible making it easier to spot problems. tooltips_config =, ] Debug mode â tooltips_debug noCSS: If you want to disable import of default CSS, set it to true.For example in a custom right rail module. You can use multiple parameters, and one parameter multiple times. This tag will be replaced with value of the data-parameter-name attribute of the element. To use a parameter, you need to add this in the text: .This way you can make tooltips work in custom interface element that are added after the page is loaded and tooltips initialized. If the value is a string, you can use parameters that will be taken from the element the cursor is pointing at. events: Is a list of JavaScript events of the window object that will trigger the search for tooltips that weren't present when script was initialized.Setting this value to true will make the script wait for all images to be fully loaded before showing the tooltip. Images will eventually show up when they are loaded (lazy loading). By default ( false) tooltips will show up even if images aren't fully loaded yet. waitForImages: It will alter how tooltips behave when they have images inside.Use of TabView is limited as Fandom intends to discontinue the extension. For a similar extension that doesn't require multiple pages, see Tabber. This can be an attractive and useful view for organizing content. Default value is 8 for both and values below 5 are not recommended. Tab view provides an easy way to display multiple content pages in a single article using tabs. offsetX and offsetY: These are values that the tooltip will be moved right and down (respectively) from where the cursor is pointing (remember that margin of tooltip itself can move it further).Here you can adjust some core features using this object: You can specify them in MediaWiki:Common.js on your wiki. There are 3 variables that contain config for the script. Without any setup, script will only support basic and advanced tooltips.
0 Comments
Leave a Reply. |