Difference between revisions of "Template:Legislation"

From edegan.com
Jump to navigation Jump to search
 
Line 14: Line 14:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! Has title
+
{{Infobox
| [[Has title::{{{Has title|}}}]]  
+
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
|-
+
| headerstyle = background:#0d776e; color:#ffffff;
! Proposed in
+
| subheader  = {{{name}}}
| [[Proposed in::{{{Proposed in|}}}]]  
+
| header1    = Your header
|-
+
| labelstyle  = width: 33%;
! Sponsored by
+
| label2      = Title
| {{#arraymap:{{{Sponsored by|}}}|,|x|[[Sponsored by::x]]}}
+
| data2      = [[Has title::{{{Title|}}}]]  
|-
+
| label3      = Congress
! Reviewing committee
+
| data2      = [[Proposed in::{{{Proposed in|}}}]]  
| {{#arraymap:{{{Reviewing committee|}}}|,|x|[[Reviewing committee::x]]}}
+
| label3      = Sponsor
|-
+
| data3      = {{#arraymap:{{{Sponsored by|}}}|,|x|[[Sponsored by::x]]}}
! Has related bills
+
| label3      = Committee(s)
| {{#arraymap:{{{Has related bills|}}}|,|x|[[Has related bills::x]]}}
+
| data3      = {{#arraymap:{{{Reviewing committee|}}}|,|x|[[Reviewing committee::x]]}}
|-
+
| label3      = Related
! Has bill status
+
| data3      = {{#arraymap:{{{Has related bills|}}}|,|x|[[Has related bills::x]]}}
| {{#arraymap:{{{Has bill status|}}}|,|x|[[Has bill status::x]]}}
+
| label3      = Status
|-
+
| data3      = {{#arraymap:{{{Has bill status|}}}|,|x|[[Has bill status::x]]}}
! Has keywords
+
| label3      = Keywrods
| {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
+
| data3      = {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
|}
+
| belowstyle  = background:#ffffff;
 
+
| below      = © McNair Center, 2016
 +
}}
 
[[Category:Legislation]]
 
[[Category:Legislation]]
 
</includeonly>
 
</includeonly>

Revision as of 14:09, 4 April 2017

This is the "Legislation" template. It should be called in the following format:

{{Legislation
|Has title=
|Proposed in=
|Sponsored by=
|Reviewing committee=
|Has related bills=
|Has bill status=
|Has keywords=
}}

Edit the page to see the template text.