Jump to content

साचा:Dablink

विकिपीडिया, मुक्‍त ज्ञानकोशातून
This template documentation is transcluded from साचा:Dablink/doc [edit]

Usage and purpose

[संपादन]

This template provides HTML block around the material embedded within forcing browsers to react on the contained code and text within a div-/div block. साचा:I2 This is very useful for binding effects within other templates, or on disambig lines heading an article.

Contents of the template
<div class="dablink">{{{1}}}</div>

5 Examples
(these use the {{indent}} family of templates for comparisions of forcing wrap effects, The last shows the effect of an embedded HTML '<BR>' line break.)
  • (1) {{dablink|See also [[Murphy's Law]], [[Finagle's Law]] and [[Murphy's laws of combat]]. For the album by British rock band [[Spear of Destiny (band)|Spear of Destiny]], see [[Sod's Law (Spear of Destiny album)]]}}
gives

  • (2) {{dablink|See also [[Murphy's Law]], [[Finagle's Law]] and [[Murphy's laws of combat]]. {{I}}For the album by British rock band [[Spear of Destiny (band)|Spear of Destiny]], see [[Sod's Law (Spear of Destiny album)]]}}
gives

  • (3) {{dablink|See also [[Murphy's Law]], [[Finagle's Law]] and [[Murphy's laws of combat]]. {{I|9}}For the album by British rock band [[Spear of Destiny (band)|Spear of Destiny]], see [[Sod's Law (Spear of Destiny album)]]}}
gives

  • (4) {{dablink|See also [[Murphy's Law]], [[Finagle's Law]] and [[Murphy's laws of combat]]. {{I0}}For the album by British rock band [[Spear of Destiny (band)|Spear of Destiny]], see [[Sod's Law (Spear of Destiny album)]]}}
gives

  • (5) {{dablink|See also [[Murphy's Law]], [[Finagle's Law]] and [[Murphy's laws of combat]]. <br>For the album by British rock band [[Spear of Destiny (band)|Spear of Destiny]], see [[Sod's Law (Spear of Destiny album)]]}}
gives