Template:Tooltip/testcases

Revision as of 15:40, 16 September 2018 by Messing with data (talk | contribs) (Testling with lists)
This page is for testcases. Testcases should handle general use cases to test the parameters of a templae. Full-page templates like the T-Doll template should only call one testcase.
Parameters by index
Wiki code {{Tooltip|Word|Some additional text}}
Main version Word
Some 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 text
Some 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 tooltip
    Some 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