Welcome to IOPWiki, Commander.
With the release of the new game, we encourage contributions to topics related to Girls' Frontline 2. Learn how to contribute, read the maintenance guide, and join our Discord server to discuss major changes.
If you or someone you know can help deciphering the game files, contact our administrator.

Template:Tooltip/testcases: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Initial setup
 
Testling with lists
Line 13: Line 13:
|{{Tooltip|text=Words in text|description=Some additional text}}
|{{Tooltip|text=Words in text|description=Some additional text}}
|{{Tooltip/sandbox|text=Words in text|description=Some additional text}}
|{{Tooltip/sandbox|text=Words in text|description=Some additional text}}
}}
{{Testcase
|title=Testing the tooltip within a list
|<nowiki>* Item 1 at the beginning
* Item 2 with {{Tooltip|a tooltip|Some additional text}} in text
* Item 3 at the end</nowiki>
|* Item 1 at the beginning
* Item 2 with {{Tooltip|a tooltip|Some additional text}} in text
* Item 3 at the end
|* Item 1 at the beginning
* Item 2 with {{Tooltip/sandbox|a tooltip|Some additional text}} in text
* Item 3 at the end
}}
}}

Revision as of 15:40, 16 September 2018

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 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