Template:Article count
Jump to navigation
Jump to search
29
Usage[edit source]
This template is used to show the number of results for a semantic query.
Syntax[edit source]
{{Article count | category = | parameter = }}
Parameters[edit source]
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[edit source]
- Number of Supporting actors in Stargate
{{Article count | category = Persons | parameter = [[Supporting cast in::Stargate (movie)]]}} would give: 11
- Number of destroyed planets
{{Article count | category = Planets | parameter = [[Status::Planet destroyed]]}} would give: 2
See also[edit source]
- Help:Count format in the Semantic MediaWiki website for explanations about the function used here.
The above documentation is transcluded from Template:Article count/doc. (edit | history) Subpages of this template. |