Difference between revisions of "Template:Dablinks"

From blackwiki
Jump to navigation Jump to search
imported>R'n'B
(Undid revision 967645982 by R'n'B (talk) per discussion on talk page)
imported>Mathglot
(Update to add new optional params to list dablinks in need of attention in a collapsed box. See Talk. Updates to /doc page to follow.)
Line 1: Line 1:
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
+
{{SAFESUBST:<noinclude />#invoke:Unsubst||date=__DATE__ |$B=
<!--{{Dablinks}} begin-->{{Ambox
+
{{Ambox
 
| name  = Dablinks
 
| name  = Dablinks
 
| type  = move
 
| type  = move
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
 
| image = [[File:Disambig.svg|40px]]
 
| image = [[File:Disambig.svg|40px]]
| issue = '''This article currently [[Wikipedia:Disambiguation pages with links|links]] to a large number of [[Help:Disambiguation|disambiguation pages]] (or back to itself).'''
+
| issue = '''This article currently [[Wikipedia:Disambiguation pages with links|links]] to a large number of [[Help:Disambiguation|disambiguation pages]] (or back to itself).'''
| fix = Please [[Wikipedia:Piped link|help direct]] these ambiguous links to articles dealing with the specific meaning intended. <small>Read the [[Template:Dablinks/FAQ|FAQ]]</small>.
+
| fix   = Please [[Wikipedia:Piped link|help direct]] these ambiguous links to articles dealing with the specific meaning intended. <small>Read the [[Template:Dablinks/FAQ|FAQ]]</small>.{{#if:{{{1|}}}|
 +
{{hidden|header=|headerstyle = font-weight:3; margin-right:3em|content= ----Please find [[H:WIKILINK|wikilinks]] in this article that point to articles in the list below. They may be of the form: <code><nowiki>[[</nowiki>''ArticleName''<nowiki>|...]]</nowiki></code>, with or without [[WP:PIPE|piping]].  {{#if:{{{1|}}}|* [[{{{1}}}]]}}{{#if:{{{2|}}}|* [[{{{2}}}]]}}{{#if:{{{3|}}}|* [[{{{3}}}]]}}{{#if:{{{4|}}}|* [[{{{4}}}]]}}{{#if:{{{5|}}}|* [[{{{5}}}]]}}{{#if:{{{6|}}}|* [[{{{6}}}]]}}{{#if:{{{7|}}}|* [[{{{7}}}]]}}{{#if:{{{8|}}}|* [[{{{8}}}]]}}{{#if:{{{9|}}}|* [[{{{9}}}]]}}{{#if:{{{10|}}}|* [[{{{10}}}]]}}
 +
}}}}
 
| date  = {{{date|}}}
 
| date  = {{{date|}}}
 
| cat  = Pages with excessive dablinks
 
| cat  = Pages with excessive dablinks
 
| all  = All pages with excessive dablinks
 
| all  = All pages with excessive dablinks
}}<!--{{Dablinks}} end-->
+
}}
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{documentation}}
 
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
 
<!-- Add categories and inter-wikis to the /doc subpage, please, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 22:56, 1 August 2020

Template documentation[view] [edit] [history] [purge]

Usage

  • For pages that link to a large number of disambiguation pages (at least 7, the threshold as of September 2015), place {{Dablinks|date=November 2025}} at the top of the main page to alert readers.
  • In some circumstances, it may be useful to add a new item to the talk page explaining the type and extent of cleanup required so that editors will know what to address and when to remove this tag.

Parameters

Dablinks has up to ten optional, unnamed parameters that may be used to indicate the links in the article which need attention. Example:

{{Dablinks|John Smith|John Brown|Mary Jones}}

This will provide a bulletized list of these links, along with brief instructions in the Dablinks output in a default-collapsed section. Click [show] to view the list. Output for this example:

The optional links are displayed when the template is expanded. You may enter more than ten if desired, but only the first ten will be displayed.

Notes

See also

External links

Note: the following two dispenser links are possibly unsafe; you should get a browser warning about an invalid certificate.