Template:Has derivative templates: Difference between revisions
From Space Station 14 Wiki
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..." |
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
Populates a category
This template will add a category when used:
(though on what conditions — consult with the template itself)
(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
Example
{{Has derivative templates
↓
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Derivative template 1 | 1 | no description | Template | required |
Derivative template 2 | 2 | no description | Template | suggested |
Derivative template 3 | 3 | no description | Template | suggested |