Editing Template:Dab

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
βˆ’
</noinclude>
+
<div style="border: 2px solid black; background-color:wheat; margin:4px;padding:4px;">
βˆ’
<div style="margin:6px;margin-right:300px;padding:6px;background-color:Beige;border:1px solid grey;text-align:center;{{border-radius|8px 8px 8px 8px}};">''This article is about {{{1}}}</div>
+
'''<big>Documentation: Dab</big>'''
 +
 
 +
The Dab template should be added to the top of articles where a disambiguated page of the same title exists.  For example, where there are multiple roads that share the same number (including historic routes), junctions with the same name, or where Traditional Counties, towns or Highway Authorities share the same name.
 +
 
 +
It may be used to offer direct links to one or two other pages.  If there are more than two other pages with similar names, then the template should be used to send people to the disambiguation page.
 +
 +
To use this template, copy the code below, replacing anything within <tags> as appropriate.
 +
<div style="border: 1px dashed black; background-color:white; margin:2px;padding:4px;font-family:Courier,system;">
 +
<nowiki>{{Dab| <about> | <for> | <title> | <for2> | <title2> | <for3> | <title3> }}</nowiki>
 +
</div>
 +
'''<about>''' - What the current article is about, e.g. ''the current B4192 between Swindon and Aldbourne'' <br/>
 +
'''<for>''' - What the alternative article is about, e.g. ''the defunct route between Droitwich and Kidderminster'' <br/>
 +
'''<title>''' - The name of the alternative page, no wikilinks, e.g. ''B4192 (Droitwich - Kidderminster)'' <br/>
 +
'''<for2>''' / '''<for3>''' - (optional) What the second/third alternative article is about, e.g. ''the defunct route between Droitwich and Kidderminster''<br/>
 +
'''<title2>''' / '''<title3>''' - (optional) The name of the second/third alternative page, no wikilinks, e.g. ''B4192 (Droitwich - Kidderminster)'' <br/>
 +
 
 +
 
 +
'''Example 1'''<br/>
 +
<nowiki>{{Dab| the current B4192 between [[Swindon]] and Aldbourne | the defunct route between Droitwich and [[Kidderminster]] | B4192 (Droitwich - Kidderminster) }}</nowiki>
 +
 
 +
gives
 +
 
 +
<div style="margin:6px;margin-right:300px;padding:6px;background-color:Beige;border:1px solid grey;text-align:center;">''This article is about the current B4192 between [[Swindon]] and Aldbourne.<br /> For the defunct route between Droitwich and [[Kidderminster]], see [[B4192 (Droitwich - Kidderminster)]]''.</div>
 +
 
 +
 
 +
'''Example 2'''<br/>
 +
<nowiki>{{Dab | the junction called Queen Square in [[Wolverhampton]] | other junctions called Queen or Queen's Square | Queens Square}}</nowiki>
 +
 
 +
gives
 +
 
 +
<div style="margin:6px;margin-right:300px;padding:6px;background-color:Beige;border:1px solid grey;text-align:center;">''This article is about the junction called Queen Square in [[Wolverhampton]].<br /> For other junctions called Queen or Queen's Square, see [[Queens Square]]''.</div>
 +
</div>
 +
[[Category:Templates]]
 +
 
 +
 
 +
</noinclude><div style="margin:6px;margin-right:300px;padding:6px;background-color:Beige;border:1px solid grey;text-align:center;{{border-radius|8px 8px 8px 8px}};">''This article is about {{{1}}}.<br /> For {{{2}}}, see [[{{{3}}}]]''.{{#if: {{{4|}}}|<br/>''For {{{4}}}, see [[{{{5}}}]]''.}}{{#if: {{{6|}}}|<br/>''For {{{6}}}, see [[{{{7}}}]]''.}}</div>

Please note that all contributions to All About Ayrshire may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see All About Ayrshire:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: