Template:Interconnected template/doc: Difference between revisions
(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| | {{tsh|interconnected}} | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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| | 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 adds templates to [[:Category:Interconnected templates]]. | |||
This template adds templates to [[:Category: | |||
== Usage == | == Usage == | ||
Line 15: | Line 12: | ||
<syntaxhighlight lang="wikitext"> | <syntaxhighlight lang="wikitext"> | ||
{{documentation subpage}} | {{documentation subpage}} | ||
< | <includeonly>{{interconnected}}</includeonly> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Technical details == | == Technical details == | ||
The text for the template itself can be found at {{t| | 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}} – | * {{tl|high-use}} – for high-use templates. | ||
* {{tl| | * {{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 a documentation subpage for Template:Interconnected template. It contains usage information, categories and other content that is not part of the original template page. |
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
TemplateData for Interconnected template
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Related page | 1 | Name of a related template, module, config, or other page related to this one to be listed; add brackets if wikilinks are desired | Content | optional |
Additional related page name 1 | 2 | no description | Content | optional |
Additional related page name 2 | 3 | no description | Content | optional |
Additional related page name 3 | 4 | More than this can be specified, but the extra pages won't be displayed | Content | optional |
form | form | no description
| String | optional |
Editnotice HTML ID | id | no description | String | optional |
page | page | Changes the word template in the bold header ("This template...") to something else
| String | optional |
Editnotice expiry date | expiry | no description | Date | optional |
See also
- {{high-use}} – for high-use templates.
- {{intricate}} – for templates with intriate parser function usage, recursion, and so on