-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

From Dream Cancel Wiki
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:{{{1|}}}|{{#if:{{{style|}}}|<span style="{{{style|}}}">}}<span class="hoverbox">
{{#if:{{{style|}}}|<span style="{{{style}}}">}}
<span class="hoverbox">
<span class="hoveritem selected">
<span class="hoveritem selected">
{{{1}}}</span>
{{{1}}}</span>
<span class="hoveritem">
<span class="hoveritem">
{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span></span>{{#if:{{{style|}}}|</span>}}}}<noinclude>
{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#if:{{{style|}}}|</span>}}</span></span>}}<noinclude>
==Usage==
==Usage==
Alternate version of the palette using span instead of div tags. That means there's no need for a tag to implement it in text :<br>
Alternate version of the palette using span instead of div tags. That means there's no need for a tag to implement it in text :<br>
Line 17: Line 15:
: <div>Kula's {{Hover/Alt|dp+C|623C}} is trash.
: <div>Kula's {{Hover/Alt|dp+C|623C}} is trash.
<pre>: <div>Kula's {{Hover/Alt|dp+C|623C}} is trash.</pre>
<pre>: <div>Kula's {{Hover/Alt|dp+C|623C}} is trash.</pre>
Kula's {{Hover/Alt|dp+C|623C}} is trash.


'''FURTHER WORK NEEDED.'''
'''FURTHER WORK NEEDED.'''
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 11:11, 27 August 2022

Usage

Alternate version of the palette using span instead of div tags. That means there's no need for a tag to implement it in text :
Kula's dp+C 623C is trash.

Kula's {{Hover/Alt|dp+C|623C}} is trash.

But in turn it doesn't fit with common wikitext formatting (: , # , ; ,etc) :

Kula's

dp+C 623C is trash.

: Kula's {{Hover/Alt|dp+C|623C}} is trash.
Kula's

dp+C 623C is trash.

: <div>Kula's {{Hover/Alt|dp+C|623C}} is trash.

Kula's dp+C 623C is trash.

FURTHER WORK NEEDED.