wikilife>Mathglot
→‎External links Improve description; one would hope it was obvious before, but let's make it clearer.
(没有差异)

2020年8月6日 (四) 17:49的版本

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#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:

{{#ifeq:{{{small}}}|left|}}

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

  • 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.

|{{ safesubst:#ifeq:{{{demo}}} |no

|articlepagename
|articlepagename

}} |{{ safesubst:#ifeq:模板|模板

|articlepagename
|articlepagename

}}}} for dablinks.

|{{ safesubst:#ifeq:{{{demo}}} |no

|articlepagename
|articlepagename

}} |{{ safesubst:#ifeq:模板|模板

|articlepagename
|articlepagename

}}}}