Template:Has alias templates: Difference between revisions
From Space Station 14 Wiki
template for use in templates |
prevented links resolving into pages they redirect to (both in appearance and linked page) |
||
Line 5: | Line 5: | ||
|Info | |Info | ||
|This template has {{#ifeq: {{#invoke:params|count}}|1|an alternative name|alternative names}}: | |This template has {{#ifeq: {{#invoke:params|count}}|1|an alternative name|alternative names}}: | ||
<ul>{{#invoke:params|for_each|<li> | <ul>{{#invoke:params|for_each|<li>{{link without redirect|Template:$@}}</li>}}</ul> | ||
}}<!-- | }}<!-- | ||
Latest revision as of 14:10, 8 February 2025
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 |