Thread:Flanqer/@comment-26828130-20190723115450/@comment-24931587-20190726225001

Sorry for making you wait.

I assume you want to use Tip to mark places where you want a tooltip, and LimitTip to output the message that'll be displayed in the tooltip. The  line should only use LimitTip.

Before worrying about Tip and javascript, you should first make sure LimitTip works exactly the way you want it. If you want the tooltip to include the actual limit, the template will need a parameter for that number. For example, the template's code could be: Limit:

The maximum number of passengers.

Then test it by adding this on a test page:

It'll display as a normal part of the page, not an actual tooltip popup. The idea is just to see if the message looks the way you want it. If not, keep editing the template until it works the way you want it.