Template:Has alias templates: Difference between revisions
From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |stacked=1 |align=right |header=Has {{#ifeq: {{#invoke:params|count}}|1|an alias|aliases}} |Info |This template has {{#ifeq: {{#invoke:params|count}}|1|an alternative name|alternative names}}: <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 alias templates|Templates with aliases}}</includeonly><noinclu...") |
(template for use in templates) |
||
Line 12: | Line 12: | ||
{{documentation | {{documentation | ||
|below banner= | |below banner= | ||
{{template for use in templates}} | |||
{{Template populates category|Templates with aliases}} | {{Template populates category|Templates with aliases}} | ||
{{has alias template|Has alias template}} | {{has alias template|Has alias template}} | ||
Line 18: | Line 19: | ||
[[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.
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)
Has an alias
This template has an alternative name:
Examples
With a single alias template
{{Template:Has alias templates
↓
Has an alias
This template has an alternative name:
With multiple alias templates
{{Has alias templates
↓
Has aliases
This template has alternative names:
Used to list aliases for a template. If there are multiple, list them using as many numeric parameters as you need.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Alias template 1 | 1 | no description | Template | required |
Alias template 2 | 2 | no description | Template | suggested |