- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Tooltip/doc"
Jump to navigation
Jump to search
m |
m (Fix example) |
||
Line 1: | Line 1: | ||
− | == | + | {{Documentation subpage}} |
+ | <!-- | ||
+ | PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE | ||
+ | YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT | ||
+ | --> | ||
+ | This template is to provide tooltip function to the words. | ||
+ | |||
+ | ==Usage== | ||
To use this template, simply follow the examples: | To use this template, simply follow the examples: | ||
− | |||
− | |||
− | |||
− | {{Tooltip|<text displayed>|<text shown as tooltip>}} | + | <code><nowiki>{{Tooltip|<text displayed>|<text shown as tooltip>}}</nowiki></code> |
+ | :{{Tooltip|<text displayed>|<text shown as tooltip>}} | ||
− | < | + | <code><nowiki>{{Tooltip|Kongou class|Kongou, Hiei, Kirishima and Haruna}}</nowiki></code> |
− | {{Tooltip|Kongou class|Kongou, Hiei, Kirishima and Haruna}} | + | :{{Tooltip|Kongou class|Kongou, Hiei, Kirishima and Haruna}} |
− | </ | ||
− | {{Tooltip| | + | <code><nowiki>{{Tooltip|{{lang|ja|金剛}}|こんごう}}</nowiki></code> |
− | + | :{{Tooltip|{{lang|ja|金剛}}|こんごう}} | |
− | < | + | '''NOTE:''' For displaying japanese kanjis with furiganas, you're recommended to use [[Template:Ruby-ja|this template]] instead. |
− | {{Tooltip|金剛|こんごう}} | + | <includeonly> |
− | < | + | <!--PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS.--> |
− | + | <!--PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS.--> | |
− | + | </includeonly> |
Revision as of 15:12, 9 February 2017
This is a documentation subpage for Template:Tooltip. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
This template is to provide tooltip function to the words.
Usage
To use this template, simply follow the examples:
{{Tooltip|<text displayed>|<text shown as tooltip>}}
- <text displayed>
{{Tooltip|Kongou class|Kongou, Hiei, Kirishima and Haruna}}
- Kongou class
{{Tooltip|{{lang|ja|金剛}}|こんごう}}
- 金剛
NOTE: For displaying japanese kanjis with furiganas, you're recommended to use this template instead.