Template:Double underline
From TechInfoDepot
(Redirected from Template:Du)
Jump to navigationJump to search{{{1}}}
Usage
Template:Shortcuts First suggested by User:Kwamikagami [1], this template creates a double underline/underscore beneath a string, instead of a single one. It may be used in cases where a single underline is confusing, such as when underlining CJK characters.
A second parameter can be added to specify the color (in name or in hex code, defaults to #000
), for example,
<span style="color:red;">Hello {{du|world}}!</span>yields
whereasHello world!
<span style="color:red;">Hello {{du|world|red}}!</span>yields the better-looking
Hello world!
For strings within certain {{lang}} templates (such as zh), strings within <big>
tags or <code>
tags, and some others, this may show up as a thick underline instead of a double underline (depending on your browser settings):
{{lang|zh|好好儿学习,{{du|天天}}向上!}}yields
<big>Hello {{du|world}}!</big>yields
Hello world!
See also
The above documentation is transcluded from Template:Double underline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |