Template:Article count/doc: Difference between revisions
Appearance
Content deleted Content added
Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == This template is used to show the number of results for a semantic query. == Syntax == <pre>{{Article count | category = | parameter = }}</pre> === Parameters === {| class="wikitable" |- ! Parameter ! Mandatory ! Function ! Default value |- | <tt>{{{category}}}</tt> | No | Defines the main category for the query | Planets |- | <tt>{{{parameter}}}</tt> | No | Defi..." |
No edit summary |
||
| Line 30: | Line 30: | ||
|} |
|} |
||
== Examples == |
|||
;Number of Supporting actors in {{ep|Stargate}}: |
|||
<tt><nowiki>{{Article count | category = Persons | parameter = [[Supporting cast in::Stargate (film)]]}}</nowiki></tt> would give: {{Article count | category = Persons | parameter = [[Supporting cast in::Stargate (film)]]}} |
|||
;Number of destroyed planets: |
|||
<tt><nowiki>{{Article count | category = Planets | parameter = [[Status::Planet destroyed]]}}</nowiki></tt> would give: {{Article count | category = Planets | parameter = [[Status::Planet destroyed]]}} |
|||
== See also == |
== See also == |
||
Latest revision as of 21:52, 21 January 2026
| This is a documentation subpage for Template:Article count. It may contain usage information, categories and other content that is not part of the original template page. |
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.