Template:Interconnected template/doc: Difference between revisions

From Bharatpedia, an open encyclopedia
(Created page with "{{tsh|intricate}} {{Documentation subpage}} {{redirect|Template:Esoteric|text=You may be looking for Template:Esoteric file}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see Bharatpedia:Bharatdata) --> This is the {{tl|intricate template}} message box. It can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, [[wikt:esoteric|esoteric]...")
 
No edit summary
 
Line 1: Line 1:
{{tsh|intricate}}
{{tsh|interconnected}}
{{Documentation subpage}}
{{Documentation subpage}}
{{redirect|Template:Esoteric|text=You may be looking for [[Template:Esoteric file]]}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) -->


This is the {{tl|intricate template}} message box. It can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, [[wikt:esoteric|esoteric]] syntax, combining different techniques, used as parameter for other templates, built to function for a variety of calling instances, etc.  
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:Intricate templates]].


== Usage ==
== Usage ==
Line 15: Line 12:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{documentation subpage}}
{{documentation subpage}}
<noinclude>{{intricate}}</noinclude>
<includeonly>{{interconnected}}</includeonly>
</syntaxhighlight>
</syntaxhighlight>


== Technical details ==
== Technical details ==
The text for the template itself can be found at {{t|Intricate template/text}}.
The text for the template itself can be found at {{t|Interconnected template/text}}.
 
== TemplateData ==
{{TemplateData header}}
 
<templatedata>
{
"params": {
"1": {
"label": "Related page",
"description": "Name of a related template, module, config, or other page related to this one to be listed; add brackets if wikilinks are desired",
"type": "content"
},
"2": {
"label": "Additional related page name 1",
"type": "content"
},
"3": {
"label": "Additional related page name 2",
"type": "content"
},
"4": {
"label": "Additional related page name 3",
"type": "content",
"description": "More than this can be specified, but the extra pages won't be displayed"
},
"form": {
"type": "string",
"suggestedvalues": [
"editnotice",
" "
]
},
"id": {
"label": "Editnotice HTML ID",
"type": "string"
},
"page": {
"description": "Changes the word template in the bold header (\"This template...\") to something else",
"type": "string",
"default": "template"
},
"expiry": {
"label": "Editnotice expiry date",
"type": "date"
}
}
}
</templatedata>


== See also ==
== See also ==
* {{tl|high-use}} – For high-use templates.
* {{tl|high-use}} – for high-use templates.
* {{tl|interconnected template}} – for templates with interdependencies with config or dynamic doc pages, etc.
* {{tl|intricate}} – for templates with intriate parser function usage, recursion, and so on
 
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Bharatdata -->
<!-- Categories below this line, please; interwikis at Bharatdata -->
[[Category:Documentation header templates]]
[[Category:Documentation header templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 13:01, 17 October 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>

Technical details

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Interconnected template

No description.

Template parameters

ParameterDescriptionTypeStatus
Related page1

Name of a related template, module, config, or other page related to this one to be listed; add brackets if wikilinks are desired

Contentoptional
Additional related page name 12

no description

Contentoptional
Additional related page name 23

no description

Contentoptional
Additional related page name 34

More than this can be specified, but the extra pages won't be displayed

Contentoptional
formform

no description

Suggested values
editnotice
Stringoptional
Editnotice HTML IDid

no description

Stringoptional
pagepage

Changes the word template in the bold header ("This template...") to something else

Default
template
Stringoptional
Editnotice expiry dateexpiry

no description

Dateoptional

See also

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