Template:Depends on templates: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |stacked=1 |header=Depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}} |Info |This template depends on {{#ifeq: {{#invoke:params|count}}|1|template|templates}} <ul>{{#invoke:params|for_each|<li>Module:$@</li>}}</ul> }}<!-- # when used not on template's page (or /doc page), add to category -->{{Add categories if not on page or subpage|Template:Depends on templates|Templates depending on other templates}}</includeonly><noinclude>...") |
(colon) |
||
(One intermediate revision by the same user not shown) | |||
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>[[ | <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 |