Module:NPVIC status/doc
![]() | This is a documentation subpage for Module:NPVIC status. It may contain usage information, categories and other content that is not part of the original module page. |
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}}