Template:Hover/Alt

From Dream Cancel Wiki
Jump to navigation Jump to search

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 {{Hover/Alt|dp+C|623C}} is trash. results in Kula's

dp+C
623C

is trash.

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


Note that you only need a single div tag for every following usage. For instance, the div tag written for the previous example to work means that now

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

This effect lasts until the template breaks.

Limitations

It has the same limitation towards wikitext markups as Hover. A further limitation coming from its need of a div tag means each time the template breaks, another div tag has to be written. That is ultimately the reason this version isn't preferred for text.
It however is compatible with div tags, making it usable for cargo tables for example.