Template:Template for use in templates: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |stacked=1 |header=For use in {{#switch: {{#invoke:params|count}} |0 = other templates |1 = the specific template |the specific templates }} |Info |This template is meant to be used within {{#switch: {{#invoke:params|count}} |0 = other templates |1 = this specific template |these specific templates }} and not by itself{{#ifexpr: {{#invoke:params|count}} = 0 |. |{{colon}} <ul>{{#invoke:params|for_each|<li>{{t|$@}}</li>}}</ul> }}}}<!-- # when used n...") |
(template for use in templates) |
||
Line 22: | Line 22: | ||
{{documentation | {{documentation | ||
|below banner= | |below banner= | ||
{{template for use in templates}} | |||
{{has alias template|Template for use in template}} | {{has alias template|Template for use in template}} | ||
{{Template populates categories|Templates for use in templates}} | {{Template populates categories|Templates for use in templates}} | ||
Line 28: | Line 29: | ||
[[Category:Templates for documenting other templates]] | [[Category:Templates for documenting other templates]] | ||
[[Category:Notice templates]] | [[Category:Notice templates]] | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 11:56, 17 August 2024
For use in other templates
This template is meant to be used within other templates and not by itself.
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 no templates specified
{{Template for use in templates}}
↓
For use in other templates
This template is meant to be used within other templates and not by itself.
With a single other template
{{Template for use in templates
↓
For use in the specific template
This template is meant to be used within this specific template and not by itself:
- {{Navbox}}
With multiple other template
{{Template for use in templates
↓
For use in the specific templates
This template is meant to be used within these specific templates and not by itself:
- {{ColoredText}}
- {{InlineIcon}}
Marks template as only meant to be used with other templates and not directly on a page.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |