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:26, 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, using an input string of state equivalents (identified by US postal abbreviation, with any non-letter separator):

The function "states" returns the number of states (excluding DC) listed in the input string.

{{#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 "overlays" returns overlay maps indicating the compact has a status of "passed" (green) or "pending" (yellow), in the jurisdictions listed in the input string.

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

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

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