wikilife>Mathglot (Use <hr> with margin spec, instead of '----', in order to avoid spearing the 'show/hide' link with the horizontal rule.) |
(没有差异)
|
2020年8月2日 (日) 07:14的版本
This article currently links to a large number of disambiguation pages (or back to itself). (11月 2024) |
{{#ifeq:{{{small}}}|left|}}
{{#ifeq:dablinks |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Dablinks. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Dablinks | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
- For pages that link to a large number of disambiguation pages (at least 7, the threshold as of September 2015), place
{{Dablinks|date=11月 2024}}
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:
This article currently links to a large number of disambiguation pages (or back to itself). (11月 2024) |
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
- This template will add tagged articles to Category:Pages with excessive dablinks, or a dated subcategory thereof.
- This template is a self-reference.
- Please do not subst: this template.
See also
- Wikipedia:Disambiguation pages with links
- Wikipedia:Disambiguation pages with links/Maintenance
- Wikipedia:Disambiguation
- Wikipedia:WikiProject Disambiguation
- {{Incoming links}}
External links
- PetScan sample run – find what dablinks are present in this template (open link in new window, if no results with simple click)
Note: the following two dispenser links are possibly unsafe; you should get a browser warning about an invalid certificate.
- https://69.142.160.183/~dispenser/cgi-bin/dablinks.py?page=ARTICLEPAGENAME – Check {{ safesubst:#if:
|{{ safesubst:#ifeq:{{{demo}}} |no
|articlepagename |articlepagename
}} |{{ safesubst:#ifeq:模板|模板
|articlepagename |articlepagename
}}}} for dablinks.
- https://69.142.160.183/~dispenser/cgi-bin/dab_solver.py?page=ARTICLEPAGENAME – Repair dablinks in {{ safesubst:#if:
|{{ safesubst:#ifeq:{{{demo}}} |no
|articlepagename |articlepagename
}} |{{ safesubst:#ifeq:模板|模板
|articlepagename |articlepagename
}}}}
{{#if:{{#ifeq:Dablink|sandbox|1}}{{#ifeq:Dablinks|doc|1}}|| }}