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]]
[[Category:Templates meant for other templates]]
<templatedata>
<templatedata>
{
{

Latest revision as of 11:56, 17 August 2024

Template documentation
view or edit this documentation about template documentation
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)
Has an alias
This template has an alternative name:

Examples

With a single alias template

{{Template:Has alias templates|C}}

Has an alias
This template has an alternative name:

With multiple alias templates

{{Has alias templates|alias1|alias2}}}}

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Alias template 11

no description

Templaterequired
Alias template 22

no description

Templatesuggested