Template:Hover/Documentation

From Dream Cancel Wiki
Jump to navigation Jump to search

A more general version of Template:HoverImage where both items displayed are anything at all rather than strictly images. Mostly meant to switch between numpad and qcf notations and satisfy both needs.

Usage

  • Here's how it should look :
Kula's

dp+C 623C is trash.

<div>Kula's {{Hover|dp+C|623C}} is trash.
  • Note that the <div> tag is needed for it to display properly. Without it, there's unwanted indentation :

Kula's dp+C 623C is trash.

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

Multiple calls

  • The div tag, like most mark-ups, breaks when you press enter to go to the next line. Meaning a single tag is enough for multiple calls in the same line (regardless of it wrapping back. This for example is still coded as one line and not two).
Kula's

dp+C 623C is trash. Her dp+A 623A is alright though, and at least it's not Shingo's dp+C 623C.

<div>Kula's {{Hover|dp+C|623C}} is trash. Her {{Hover|dp+A|623A}} is alright though, and at least it's not Shingo's {{Hover|dp+C|623C}}.


  • To bypass this you can use <br /> (or just <br>) instead for the line break(s).
Kula's

dp+C 623C is trash. Her dp+A 623A is alright though, and at least it's not Shingo's dp+C 623C.
I swear to god if his cl.C 5C isn't 2f anymore, I'll be sad.

<div>Kula's {{Hover|dp+C|623C}} is trash. Her {{Hover|dp+A|623A}} is alright though, and at least it's not Shingo's {{Hover|dp+C|623C}}.<br> I swear to god if his {{Hover|cl.C|5C}} isn't 2f anymore, I'll be sad.


  • Otherwise you can just press enter, go to the next line and use the tag again.
Kula's

dp+C 623C is trash. Her dp+A 623A is alright though, and at least it's not Shingo's dp+C 623C.

I swear to god if his

cl.C 5C isn't 2f anymore, I'll be sad. Make qcf+C 236C faster too, thanks.

<div>Kula's {{Hover|dp+C|623C}} is trash. Her {{Hover|dp+A|623A}} is alright though, and at least it's not Shingo's {{Hover|dp+C|623C}}.
<div>I swear to god if his {{Hover|cl.C|5C}} isn't 2f anymore, I'll be sad. Make {{Hover|qcf+C|236C}} faster too, thanks.