Changes

m
Fix example
Line 1: Line 1: −
==Parameters==
+
{{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:
<pre>
  −
{{Tooltip|<text displayed>|<text shown as tooltip>}}
  −
</pre>
     −
{{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>}}
   −
<pre>
+
<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}}
</pre>
     −
{{Tooltip|Kongou class|Kongou, Hiei, Kirishima and Haruna}}
+
<code><nowiki>{{Tooltip|{{lang|ja|金剛}}|こんごう}}</nowiki></code>
 
+
:{{Tooltip|{{lang|ja|金剛}}|こんごう}}
<pre>
+
'''NOTE:''' For displaying japanese kanjis with furiganas, you're recommended to use [[Template:Ruby-ja|this template]] instead.
{{Tooltip|金剛|こんごう}}
+
<includeonly>
</pre>
+
<!--PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS.-->
   −
{{Tooltip|金剛|こんごう}}
+
<!--PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS.-->
   −
'''NOTE:''' For displaying japanese kanjis with furiganas, you're recommended to use [[Template:Ruby-ja|this template]] instead.
+
</includeonly>
6,043

edits