Help:Congresspedia templates and extensions

Related campaigns
Congresspedia now allows links to issue campaigns, such as "action centers" or other sites maintained by advocacy organizations. For instructions on adding these links, see this page.

Legislative vote boxes
Congresspedia uses extensions to create vote boxes for all roll call votes discussed on its' legislation pages. A different process must be followed, however, for votes in the 109th/110th Congresses and votes prior to the 109th Congress.

109th and 110th Congress votes
For 109th and 110th Congress votes, the extensions take information regarding a particular vote from OpenCongress, and display it in a colorful, informative display box. The following are examples of the text necessary to generate House and Senate vote boxes:





Taking a look at this example, the text "USvoteinfo" represents the standard opening text for all vote extensions. "year="2007"" represents the year in which the vote took place. "chamber="house"" indicates that the vote occurred in the House, while "chamber="senate"" indicates that the vote occurred in the Senate. "rollcall="153"" denotes the official roll call number of the vote.

Once the above text is entered, the vote boxes should appear in this form:





Votes prior to the 109th Congress
For all bills prior to the 109th Congress (before OpenCongress was launched), a separate process must be followed in order to generate vote boxes for roll call votes. Congresspedia editors have created separate templates for both House and Senate votes, and the following are instructions for entering the text necessary to generate them:

The House and Senate vote templates use the same inputs and you will need to collect the following pieces of information for them to work properly (instructions on how to input these pieces of information is below this chart):

Once you've collected all these pieces of information, you can plug them into the template call. Examples for both the House and Senate templates are below.

An additional but completely option field to put in is "align". This will tell the template to float to the right or left of any text that comes after it on the page. Simply insert "Align=right" or "Align=left" to make it float. Below is an example of "Align=right".

What you get:

Links to the templates:
 * Template:Senate record vote
 * Template:House record vote

Bill info extensions
Congresspedia uses an extension to create bill info boxes for all bills (both introduced or considered) noted on legislation pages. The boxes provide real time information on a particular bill, including its sponsor, committee of jurisdiction, and current status in the Congress. The following is an example of the text necessary to generate House and Senate info boxes:





Taking a look at these example, "USbillinfo" is the standard opening text for the extension. "congress="110"" notes the number of the Congress for which the bills were introduced. "bill="H.R.985"" and "bill="S.1."" denote the official bill numbers.

Once the respective extensions are entered, the bill info boxes should appear in this form:

House 

Senate 