Jump to content

Module:NPVIC status/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Swpb (talk | contribs) at 20:17, 6 December 2018. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Returns status information used on the article National Popular Vote Interstate Compact:

The function "states" returns the number of states (excluding DC) listed in the input string (identified by two-letter abbreviation).

{{#invoke:NPVIC status|states|list of states}}

The function "EVs" returns the total number of electoral votes controlled by jurisdictions listed in the input string.

{{#invoke:NPVIC status|EVs|list of states}}

The function "overlay" returns overlay maps indicating the compact has a status of "passed" (green) or "pending" (yellow), in the states listed in the input string (identified by two-letter abbreviation).

{{#invoke:NPVIC status|overlay|list of states|color|size}}

The function "signatories" returns a bulletted list of the states listed in the input string, with their flags.

{{#invoke:NPVIC status|signatories|list of states}}