-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.
Template:Hover/Alt: Difference between revisions
Jump to navigation
Jump to search
Franck Frost (talk | contribs) No edit summary |
Franck Frost (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}|{{#if:{{{style|}}}|< | {{#if:{{{1|}}}|{{#if:{{{style|}}}|<div style="{{{style|}}}">}}<div class="hoverbox"> | ||
< | <div class="hoveritem selected"> | ||
{{{1}}}</ | {{{1}}}</div> | ||
< | <div class="hoveritem"> | ||
{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#if:{{{style|}}}|</ | {{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#if:{{{style|}}}|</div>}}</div></div>}}<noinclude> | ||
==Usage== | ==Usage== | ||
Alternate version of the palette using | Alternate version of the palette using div instead of span tags. This means it's necessary to use a div tag to implement it in text without unwanted indentation : | ||
Kula's {{Hover/Alt|dp+C|623C}} is trash. | Kula's {{Hover/Alt|dp+C|623C}} is trash. | ||
<pre>Kula's {{Hover/Alt|dp+C|623C}} is trash.</pre> | <pre>Kula's {{Hover/Alt|dp+C|623C}} is trash.</pre> | ||
<div>Kula's {{Hover/Alt|dp+C|623C}} is trash. | |||
<pre><div>Kula's {{Hover/Alt|dp+C|623C}} is trash.</pre> | |||
==Limitations== | |||
: | It has the same limitations as [[Template:Hover|Hover]], incompatible with common wikitext formatting. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12:07, 27 August 2022
Usage
Alternate version of the palette using div instead of span tags. This means it's necessary to use a div tag to implement it in text without unwanted indentation :
Kula's
dp+C
623C
is trash.
Kula's {{Hover/Alt|dp+C|623C}} is trash.
Kula's
is trash.
dp+C
623C
<div>Kula's {{Hover/Alt|dp+C|623C}} is trash.
Limitations
It has the same limitations as Hover, incompatible with common wikitext formatting.