Template:Has derivative templates: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
Created page with "<includeonly>{{Callout |stacked=1 |header=Has derivative templates |Info |This template has derivative templates using this implementation: <ul>{{#invoke:params|for_each|<li>Template:$@</li>}}</ul> }}<!-- # when used not on template's page (or /doc page), add to category -->{{Add categories if not on page or subpage|Template:Has derivative templates|Templates with derivative templates}}</includeonly><noinclude> {{documentation |below banner= {{Template populates cat..."
 
Aliser (talk | contribs)
No edit summary
 
Line 19: Line 19:
<templatedata>
<templatedata>
{
{
"params": {},
"params": {
"1": {
"label": "Derivative template 1",
"type": "wiki-template-name",
"required": true
},
"2": {
"label": "Derivative template 2",
"type": "wiki-template-name",
"suggested": true
},
"3": {
"label": "Derivative template 3",
"type": "wiki-template-name",
"suggested": true
}
},
"description": "Used to mark templates that have derivative templates: templates that derivative from other templates without reimplementing the logic.",
"description": "Used to mark templates that have derivative templates: templates that derivative from other templates without reimplementing the logic.",
"paramOrder": [],
"paramOrder": [
"1",
"2",
"3"
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:17, 30 March 2025

Template documentation
view or edit this documentation about template documentation
Populates a category
This template will add a category when used:
(though on what conditions — consult with the template itself)
For use in other templates
This template is meant to be used within other templates and not by itself.

Usage

{{Has derivative templates|<derivative template 1>|<derivative template 2>|<derivative template N>}}

Example

{{Has derivative templates|Infobox storage grid}}

Has derivative templates
This template has derivative templates using this implementation:

Used to mark templates that have derivative templates: templates that derivative from other templates without reimplementing the logic.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Derivative template 11

no description

Templaterequired
Derivative template 22

no description

Templatesuggested
Derivative template 33

no description

Templatesuggested