Template:Tooltip
From EVE University Wiki
Revision as of 20:27, 25 March 2017 by Djavin novienta (talk | contribs) (Moved documentation to Template:Tooltip/doc)
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Generic tooltip template.
- Depedendencies
-
- Uses
- MediaWiki:Common.js
- Class .uniwiki-tooltip in MediaWiki:Common.css
- Class .uniwiki-tooltip-frame in MediaWiki:Common.css
- Used by
- {{ShipBoxTooltip}}
- Syntax
- {{Tooltip|<displayed text>|<tool-tip content>}}
- displayed text
- The visual text which, when hovered over, triggers the tool-tip. Can be a link.
- tool-tip content
- The contents of the tool-tip
- Sample
gives...{{tooltip|sample display|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}} - sample displayLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
gives...This is a sample {{Tooltip|display|Sample tool-tip content}} which is inline. - This is a sample displaywhich is inline.Sample tooltip content.
gives...This is a link to the {{Tooltip|[[Venture]]|The Ventures is an {{Co|yellow|ORE}} mining frigate}}, which also has a tool-tip with some formatting. - This is a link to the Venture, which also has a tool-tip with some formatting.The Ventures is an ORE mining frigate