Template:Dab page: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(making this closer to Template:You may)
Tag: sourceedit
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div id=dabtag><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div></includeonly><noinclude>{{Documentation}}[[Category:Disambiguation templates]]</noinclude>
<includeonly><div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[{{{1|}}}]]'''</code>{{#if:{{{2|}}}|<nowiki/> or <code>'''[[{{{2}}}]]'''</code>}} for other, similarly-named pages.''</span></dd></dl></div></includeonly><noinclude>{{Documentation}}[[Category:Disambiguation templates]]</noinclude>

Latest revision as of 20:11, 16 February 2023

Instructions for {{Dab page}}
{{dab page}} is an incredibly simple template for placing a disambiguation note at the top of a page.

{{dab page}} can be contrasted with {{you may}}. {{dab page}} is for linking to a disambiguation page, whereas {{you may}} gives readers a choice between two articles.

It's preferable to use a template for this purpose rather than typing in the raw code, for reasons enumerated here.

Usage

Just type {{dab page|pagename}} and you're done!

For instance, typing {{dab page|Flashback}} results in:

You may wish to consult Flashback for other, similarly-named pages.