Template:TooltipMovePreview: Difference between revisions

Template page
(Optimised by reducing on HTML commenting in the template)
Tag: Reverted
(Undo revision 420427 by Emo Tarquin (talk) Commehts do not affect this, reverting)
Tag: Undo
Line 1: Line 1:
<includeonly><span class="mw-parser-output"><!--
<includeonly><!--
--><span class="tmp"><span class="tmp-image">[[File:{{{image|}}}|130x200px]]</span><!--
Have to use span tag instead of div tags since there are some weird bug with MW parser that makes the text after the tooltip into a paragraph element
mw-parser-output needed to bypass TemplateStyles restrictions
--><span class="mw-parser-output"><!--
--><span class="tmp"><!--
Image
--><span class="tmp-image">[[File:{{{image|}}}|130x200px]]</span><!--
--><span class="tmp-items"><!--
--><span class="tmp-items"><!--
--><span class="tmp-item"><span class="tmp-item-label">Guard</span><span class="tmp-item-data">{{If empty|{{{guard|}}}|-}}</span></span><!--
Guard
--><span class="tmp-item"><span class="tmp-item-label">Startup</span><span class="tmp-item-data">{{If empty|{{{startup|}}}|-}}</span></span><!--
--><span class="tmp-item"><!--
--><span class="tmp-item"><span class="tmp-item-label">Recovery</span><span class="tmp-item-data">{{If empty|{{{recovery|}}}|-}}</span></span><!--
--><span class="tmp-item-label">Guard</span><!--
--><span class="tmp-item"><span class="tmp-item-label">Advantage</span><span class="tmp-item-data">{{If empty|{{{onBlock|}}}|-}}</span><!--
--><span class="tmp-item-data">{{If empty|{{{guard|}}}|-}}</span><!--
--></span></span></span></span></includeonly><noinclude>{{clear}}{{doc}}</noinclude><templatestyles src="Template:TooltipMovePreview/styles.css"/>
--></span><!--
Startup
--><span class="tmp-item"><!--
--><span class="tmp-item-label">Startup</span><!--
--><span class="tmp-item-data">{{If empty|{{{startup|}}}|-}}</span><!--
--></span><!--
Recovery
--><span class="tmp-item"><!--
--><span class="tmp-item-label">Recovery</span><!--
--><span class="tmp-item-data">{{If empty|{{{recovery|}}}|-}}</span><!--
--></span><!--
Advantage
--><span class="tmp-item"><!--
--><span class="tmp-item-label">Advantage</span><!--
--><span class="tmp-item-data">{{If empty|{{{onBlock|}}}|-}}</span><!--
--></span><!--
--></span><!--
--></span><!--
--></span><!--
--></includeonly><templatestyles src="Template:TooltipMovePreview/styles.css"/>

Revision as of 22:32, 21 November 2023