[go: nahoru, domu]

Jump to content

Template:Interconnected template/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
{{tsh}}
Remove inappropriate copy and paste from {{intricate}}
Line 3: Line 3:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->


This is the {{tl|interconnected template}} message box. It can be put at the top of the documentation for any templates that are tightly interconnected, i.e., having complex interrelations, with less obvious dependencies, combining different templates, modules, configs, or other pages, and so on.
This is the {{tl|interconnected template}} message box. It can be put at the top of the documentation for any templates that are tightly interconnected, i.e., having complex interrelations, with less obvious dependencies, combining different templates, modules, configs, or other pages, and so on.

''This'' template's syntax is actually relatively simple.


This template adds templates to [[:Category:Interconnected templates]].
This template adds templates to [[:Category:Interconnected templates]].

Revision as of 06:11, 17 June 2024

This is the {{interconnected template}} message box. It can be put at the top of the documentation for any templates that are tightly interconnected, i.e., having complex interrelations, with less obvious dependencies, combining different templates, modules, configs, or other pages, and so on.

This template adds templates to Category:Interconnected templates.

Usage

When this template is placed on a template's /doc page, please add this within <includeonly> tags so it only gets visible on the template page. The full code on the top of the /doc subpage can look like this:

{{documentation subpage}}
<includeonly>{{interconnected}}</includeonly>

Parameters

This template has one named, and four unnamed parameters; all optional:

  • |page= : to change the word template in the bold header ("This template...") to something else.
  • |1= – name of a related template, module, config, or other page related to this one to be listed; add brackets if wikilinks are desired.
  • |2= .. |4= : name of additional related pages

Note: for internal documentation purposes, an unlimited number of unnamed parameters identifying related pages may be specified, but only the first four will be displayed.

Technical details

The text for the template itself can be found at {{Interconnected template/text}}.

See also

  • {{high-use}} – for high-use templates.
  • {{intricate}} – for templates with intriate parser function usage, recursion, and so on