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.
The Parameter "section" takes a labelled section of the article, containing a string of state equivalents (identified by US postal abbreviation, with any non-letter separator) to use as inputs to the specified function.
Functions
The function "states" returns the number of states (excluding DC) listed in the input string.
{{#invoke:NPVIC status|states|section=section}}
The function "EVs" returns the total number of electoral votes controlled by jurisdictions listed in the input string.
{{#invoke:NPVIC status|EVs|section=section}}
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. This function takes an additional "size" argument to ensure that the overlay images align with the base map.
{{#invoke:NPVIC status|overlays|section=section|size=size}}
The function "signatories" returns a bulletted list of the jurisdictions listed in the input string, with their flags.
{{#invoke:NPVIC status|signatories|section=section}}