wikilife>Mathglot (→External links: Improve description; one would hope it was obvious before, but let's make it clearer.) |
小 (导入1个版本) |
(没有差异)
|
2020年12月27日 (日) 14:52的最新版本
{{#ifeq:doc |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). |
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
}}}}