Jump to content

Template:Article count/doc

From Heroes Wiki
Revision as of 21:50, 21 January 2026 by LIMAFOX76 (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Examples

Number of Supporting actors in Episode not found

{{Article count | category = Persons | parameter = [[Supporting cast in::Stargate (film)]]}} would give: 0

Number of destroyed planets

{{Article count | category = Planets | parameter = [[Status::Planet destroyed]]}} would give: 0

See also