Template:Category populated using template: Difference between revisions

From Space Station 14 Wiki
Template:Category populated using template
(Created page with "<includeonly>{{Callout |align=right |header=Populated by {{#ifeq: {{#invoke:params|count}}|1|a template|templates}} |Info |This category is populated by using {{#ifeq: {{#invoke:params|count}}|1|a template|templates}}: <ul>{{#invoke:params|for_each|<li>{{t|$@}}</li>}}</ul> }}<!-- # when used in category space, add that category into a category. -->{{Add categories if not on page or subpage|Template:Category populated using templates|Categories populated using templates}...")
 
Tag: New redirect
 
Line 1: Line 1:
<includeonly>{{Callout
#REDIRECT [[Template:Category populated using templates]]
|align=right
|header=Populated by {{#ifeq: {{#invoke:params|count}}|1|a template|templates}}
|Info
|This category is populated by using {{#ifeq: {{#invoke:params|count}}|1|a template|templates}}:
<ul>{{#invoke:params|for_each|<li>{{t|$@}}</li>}}</ul>
}}<!--
 
# when used in category space, add that category into a category.
-->{{Add categories if not on page or subpage|Template:Category populated using templates|Categories populated using templates}}</includeonly><noinclude>
 
{{docs|bb=
{{has alias template|Category populated using template}}
{{template populates category|Categories populated using templates}}
{{Template for documenting categories}}
}}
 
[[Category:Notice templates]]
<templatedata>
{
"params": {
"1": {
"label": "Template 1",
"description": "Name for a template that adds this category.",
"type": "wiki-template-name",
"required": true,
"example": "Callout"
},
"2": {
"label": "Template 2",
"type": "wiki-template-name",
"suggested": true
}
},
"description": "A notice template for when a category is added by a template (or templates) rather than manually. Intended to be used inside category descriptions. If there are multiple templates that contribute to the category, you can specify them with more numeric parameters.",
"paramOrder": [
"1",
"2"
],
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 09:46, 17 August 2024