Template:Template for use with templates: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |stacked=1 |titleheaderThis template is {{#ifeq: {{#invoke:params|count}}|1|template-specific|specific to particular templates}} |Info |This template is meant to be used in conjunction with following {{#ifeq: {{#invoke:params|count}}|1|template|templates}} and not by itself: <ul>{{#invoke:params|for_each|<li>{{t|$@}}</li>}}</ul> }}<!-- # when used not on template's page (or /doc page), add to category -->{{Add categories if not on page or subpage|...") |
(typo) |
||
Line 1: | Line 1: | ||
<includeonly>{{Callout | <includeonly>{{Callout | ||
|stacked=1 | |stacked=1 | ||
| | |header=This template is {{#ifeq: {{#invoke:params|count}}|1|template-specific|specific to particular templates}} | ||
|Info | |Info | ||
|This template is meant to be used in conjunction with following {{#ifeq: {{#invoke:params|count}}|1|template|templates}} and not by itself: | |This template is meant to be used in conjunction with following {{#ifeq: {{#invoke:params|count}}|1|template|templates}} and not by itself: |
Revision as of 10:20, 17 August 2024
Has an alias
This template has an alternative name:
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)
Examples
With a single other template
{{Template:Template for use with templates
↓
This template is template-specific
This template is meant to be used in conjunction with following template and not by itself:
- {{Navbox}}
With multiple other template
{{Template for use with templates
↓
This template is specific to particular templates
This template is meant to be used in conjunction with following templates and not by itself:
- {{ColoredText}}
- {{InlineIcon}}
Marks template as only meant to be used with specific templates and not directly on a page. If there are multiple specific templates, add them using more numeric parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template 1 | 1 | Template the current template is meant to be used with.
| Template | required |
Template 2 | 2 | no description | Template | suggested |