Template:Character count

From Semantic Stargate Wiki
Revision as of 00:53, 8 February 2016 by LIMAFOX76 (talk | contribs) (Created page with "{{#ask: Category:Characters {{#switch: {{{series|1}}} | film | movie | Stargate = {{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | Su | su | supporting | Suppor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

0

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

This template is used to count any category of characters

Syntax

{{Character count| series = | type = | season = }}

Parameters

All parameters has to be used in lowercase.

Parameter Mandatory Description Default value
series Yes Determines the series or the movie where the characters belong. Available values: 1
type Yes Determine the type of character of a series or a movie
  • Ma, ma, main or Main: Main characters (available for movies and series)
  • Su, su, supporting, Supporting: Supporting characters (available only for movies)
  • re, Re, recurring or Recurring: Recurring characters (available only for series)
  • os, Os, one shot or One shot: "One shot" characters (available only for series)
  • mi, Mi, minor, Minor or #default: Minor characters (available for movies and series)
  • me, Me, mentionned or Mentionned: Mentionned only characters (available for movies and series)
Minor
season No If used, it will count the number of characters only for a season; if not it will count the number of characters for a series. Available only for series.

Examples

{{Character count| series = movie | type = mi | season = }}

will give : 26