Template:Article count: Difference between revisions
Appearance
Content deleted Content added
Created page with "{{#ask: [[Category:{{#if: {{{category|}}} | {{{category}}} | Planets}}]] {{#if: {{{parameter|}}} | {{{parameter}}} }} | format=count }}<noinclude>{{Documentation}}</noinclude>" |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#ask: [[Category:{{#if: {{{category|}}} | {{{category}}} | |
{{#ask: [[Category:{{#if: {{{category|}}} | {{{category}}} | Characters }}]] {{#if: {{{parameter|}}} | {{{parameter}}} }} |
||
| format=count |
| format=count |
||
}}<noinclude>{{Documentation}}</noinclude> |
}}<noinclude>{{Documentation}}</noinclude> |
||
Latest revision as of 21:53, 21 January 2026
2
Usage
This template is used to show the number of results for a semantic query.
Syntax
{{Article count | category = | parameter = }}
Parameters
| Parameter | Mandatory | Function | Default value |
|---|---|---|---|
| {{{category}}} | No | Defines the main category for the query | Planets |
| {{{parameter}}} | No | Defines the property(ies) used for the query | N/A |
See also
- Help:Count format in the Semantic MediaWiki website for explanations about the function used here.