Template:Depends on templates: Difference between revisions
From Space Station 14 Wiki
(typo) |
(colon) |
||
Line 3: | Line 3: | ||
|header=Depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}} | |header=Depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}} | ||
|Info | |Info | ||
|This template depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}} | |This template depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}}: | ||
<ul>{{#invoke:params|for_each|<li>[[Template:$@]]</li>}}</ul> | <ul>{{#invoke:params|for_each|<li>[[Template:$@]]</li>}}</ul> | ||
}}<!-- | }}<!-- |
Latest revision as of 13:26, 18 September 2024
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.
Template:Depends on templates/doc
Used to mark templates that depend on other templates. Any amount of other templates can be listed with numeric arguments.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template 1 | 1 | no description | Page name | required |
Template 2 | 2 | no description | Page name | suggested |