We need TW players to complete the article of the region-locked game Fingertips Breakout.
We're aware of an issue which causes comments to only appear after a long delay and are working on a solution.
You don't need an account to add and correct this Wiki. Learn how to contribute, browse Bounties and join our Discord server.

Template:Tooltip/sandbox

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Revision as of 15:34, 16 September 2018 by Messing with data (talk | contribs) (Initial setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

This template provides a text with a hover-event to show additional information.

Parameters

Parameter name Required? Default value Description
text Yes (n/a) Defines the text to be shown inline.
description Yes (n/a) The text inside the box when the text gets hovered.

Usage

See the template's testcases:

Parameters by index
Wiki code
{{Tooltip|Word|Some additional text}}
Main version WordSome additional text
Sandbox version Word
Some additional text


Parameters by name
Wiki code
{{Tooltip|text=Words in text|description=Some additional text}}
Main version Words in textSome additional text
Sandbox version Words in text
Some additional text


Testing the tooltip within a list
Wiki code
* Item 1 at the beginning
* Item 2 with {{Tooltip|a tooltip|Some additional text}} in text
* Item 3 at the end
Main version
  • Item 1 at the beginning
  • Item 2 with a tooltipSome additional text in text
  • Item 3 at the end
Sandbox version
  • Item 1 at the beginning
  • Item 2 with a tooltip
    Some additional text
    in text
  • Item 3 at the end