Template:Character count: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#ask: [[Category:Characters]] {{#switch: {{{series|1}}} | film | movie | Stargate = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate ( | {{#ask: [[Category:Characters]] [[Character from the main reality::true]] {{#switch: {{{series|1}}} | film | movie | Stargate = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate (film)]] | aot | AOT = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: The Ark of Truth]] | sc | SC = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | Su | su | supporting | Supporting = Supporting | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::Stargate: Continuum]] | 1 | sg1 | SG1 | SG-1 | sg-1 = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate SG-1{{#if: {{{season|}}} |  Season {{{season|}}} }}]]</q>]] | a | A | atl | ATL | sga | SGA | Atlantis | atlantis = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Atlantis{{#if: {{{season|}}} |  Season {{{season|}}} }}]]</q>]] | u | U | sgu | SGU | universe | Universe = [[{{#switch: {{{type|mi}}} | Ma | ma | main | Main = Main | re | Re | recurring | Recurring = Recurring | os | Os | one shot | One shot | g | G | gc | GC = Guest | mi | Mi | minor | Minor | #default = Minor | me | Me | mentionned | Mentionned = Mentionned }} character of::<q>[[Season::Stargate Universe{{#if: {{{season|}}} |  Season {{{season|}}} }}]]</q>]] }} | format = count }}<noinclude>{{Documentation}}</noinclude> |
Revision as of 05:00, 7 March 2016
0
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
|
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
The above documentation is transcluded from Template:Character count/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |