Template:Hover box: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span class="explain" title="{{{1}}}">{{{2}}}</span>]]|<span class="explain" title="{{{1}}}">{{{2}}}</span>}}</includeonly><noinclude>{{template doc}}[[Category:模板]]</noinclude>
<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span class="tooltip" title="{{{1}}}">{{{2}}}</span>]]|<span class="tooltip" title="{{{1}}}">{{{2}}}</span>}}</includeonly><noinclude>{{template doc}}[[Category:模板]]</noinclude>

Latest revision as of 21:47, 16 June 2025

[阅读] [编辑]Template-info.png 模板文档

This template creates dotted underlined text with a hover box.

Parameters

Parameter Description Default Status
1 the text in the hover box required
2 dotted underlined text required
link link=yes enables a link to the dotted underlined text no optional

Example

{{Hover box|This province attribute was intrduced with patch 1.12.|Development}}
Development
{{Hover box|This province attribute was intrduced with patch 1.12.|Development|link=yes}}
Development