v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Tooltip/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
  
Presumable adds a tooltip
+
adds a tooltip
  
 
== Usage ==
 
== Usage ==
  
<nowiki>{{Tooltip|Has a tooltip|the tooltip}}</nowiki>
+
<nowiki>{{Tooltip|Has a tooltip|the tooltip alt text showing on mouse over}}</nowiki>
  
 
== Output example ==
 
== Output example ==
  
<nowiki>{{Tooltip|foo|bar}}</nowiki> produces {{Tooltip|foo|bar}}
+
'''<nowiki>{{Tooltip|foo|bar}}</nowiki>''' produces {{Tooltip|foo|bar}}
 +
 
 +
'''<nowiki>{{Tooltip|music|d "Shasad" e "Sanera" g "Bagost" h "Joñu"}}.</nowiki>''' returns {{Tooltip|music|d "Shasad" e "Sanera" g "Bagost" h "Joñu"}}.

Latest revision as of 00:21, 1 February 2023

adds a tooltip

Usage[edit]

{{Tooltip|Has a tooltip|the tooltip alt text showing on mouse over}}

Output example[edit]

{{Tooltip|foo|bar}} produces foo

{{Tooltip|music|d "Shasad" e "Sanera" g "Bagost" h "Joñu"}}. returns music.