Template:Dablink/doc

From Porn Base Central, the free encyclopedia of gay porn
Jump to navigation Jump to search

{{dablink|text}} formats text into the standard style for a Porn Base Central hatnote, a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.

Usage and purpose[edit source]

This template is primarily used to add disambiguation links (dab is Porn Base Central shorthand for "disambiguation") to the top of article pages. It places an HTML div- / div block around the material given as its only argument, which provides standardized formatting (contents are indented and italicized in most displays); it also isolates the contained code to make sure that it is interpreted correctly.

This template is also used as the "meta-template" for additional specialized disambiguation link templates; see {{otheruses4}}.

Contrary to what its name may imply, the template does not automatically create links of any kind. Links and other desired formatting must be explicitly added.

Examples[edit source]

No break[edit source]

{{dablink|See also [[:Category:Page 3 girls]]. For the American porn star, see [[Samantha Fox (porn star)]].}}

gives

Break using <br/>[edit source]

{{dablink|See also [[:Category:Page 3 girls]].<br/>For the American porn star, see [[Samantha Fox (porn star)]].}}

gives