Difference between revisions of "Template:Infobox Bill"

From blackwiki
Jump to navigation Jump to search
imported>Xiaphias
(test)
imported>Xiaphias
(→‎Code: elimate rest)
Line 23: Line 23:
  
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
==Code==
 
You can copy-and-paste the following code:
 
<pre>{{Infobox US bill
 
| name            = Drug-Free Century Act                                      <!--page name by default-->
 
| fulltext_url    = http://www.govtrack.us/congress/billtext.xpd?bill=s106-5    <!--URL of bill transcript-->
 
| house_or_senate  = senate                                                      <!--where bill was first introduced-->
 
| bill#            = 5                                                          <!--the ___th bill introduced this session-->
 
| session#        = 106th                                                      <!--the session of congress-->
 
| status          = 2    <!--1="Introduced", 2="Debate Scheduled", 3="Senate Vote", 4="House Vote", 5="Signed by President"-->
 
| status_date      = Jan. 27, 1999                                              <!--date which the above status was completed-->
 
| intro_date      = [[January 19]], [[1999]]                                    <!--date the bill was introduced-->
 
| lastaction_date  = [[February 12]], [[1999]]                                  <!--date of most recent action-->
 
| sponsor          = Michael DeWine
 
| sponsor_party    = R
 
| sponsor_state    = OH
 
| committee        = Senate Judiciary                                            <!--the committees which have oversight-->
 
| othernames      =
 
* Drug-Free Families Act of 1999
 
* International Crime Control Act of 1999
 
* Money Laundering Deterrence Act of 1999
 
| footnotes          = [http://www.govtrack.us/congress/bill.xpd?bill=s106-5 Govtrack.us]
 
}}</pre>
 
</noinclude>
 
 
 
<onlyinclude>{| class="infobox" style="width: 22em; text-align: left; font-size: 90%;" cellspacing="3""
 
<onlyinclude>{| class="infobox" style="width: 22em; text-align: left; font-size: 90%;" cellspacing="3""
 
! colspan="2" style="text-align: center; background-color: {{{color|LightSteelBlue}}}; " | <font color="{{{fontcolor|black}}}"> {{#ifeq:{{{house_or_senate}}}|house|HR.&#32;}}{{#ifeq:{{{house_or_senate}}}|senate|S.&#32;}}{{#if:{{{bill#|}}}|{{{bill#}}}&#32; }}{{#if:{{{session#|}}}|[{{{session#}}}]:&#32; }} {{#if:{{{name|}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}{{#if: {{{fulltext_url|}}} | <br> &#32; <small>&#32;[{{{fulltext_url}}} full text]}}</font>
 
! colspan="2" style="text-align: center; background-color: {{{color|LightSteelBlue}}}; " | <font color="{{{fontcolor|black}}}"> {{#ifeq:{{{house_or_senate}}}|house|HR.&#32;}}{{#ifeq:{{{house_or_senate}}}|senate|S.&#32;}}{{#if:{{{bill#|}}}|{{{bill#}}}&#32; }}{{#if:{{{session#|}}}|[{{{session#}}}]:&#32; }} {{#if:{{{name|}}}|'''{{{name}}}'''|'''{{PAGENAME}}'''}}{{#if: {{{fulltext_url|}}} | <br> &#32; <small>&#32;[{{{fulltext_url}}} full text]}}</font>
Line 81: Line 57:
 
|}
 
|}
 
</onlyinclude>
 
</onlyinclude>
 +
<noinclude>
 +
:''See [[{{TALKPAGENAME}}|talk page]] for example usage.''
 +
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 +
</noinclude>

Revision as of 18:34, 4 July 2007

User:Xiaphias/Template: Infobox congressional act

Description

This infobox is designed for use in articles about current, past, or failed United States bills. Most of the information it requests can be obtained from GovTrack.us.





















Infobox Bill
[[Image:Bill guide {{{status}}}.png|300px]]
Introduced {{{intro_date}}}
Sponsor(s) [[{{{sponsor_name}}}| {{{sponsor_name}}}]] [{{{sponsor_party}}}-{{{sponsor_state}}}]
Committee(s) [[{{{committee}}} Committee|{{{committee}}}]]
Alternative Titles

{{{othernames}}}

Source: {{{footnotes}}}


See talk page for example usage.