Difference between revisions of "Template:Legislation"

From edegan.com
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Legislation" template.
+
This is the "Legislation" template. It can be populated using [[Form:Legislation]].
 +
 
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
Line 14: Line 15:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
 +
This template uses [[Form:Legislation]] and puts pages into [[:Category:Legislation]]
 +
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{Infobox
 
{{Infobox
 
  | bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;  
 
  | bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;  
 
  | headerstyle = background:#0d776e; color:#ffffff;
 
  | headerstyle = background:#0d776e; color:#ffffff;
| subheader  = {{{name}}}
+
  | header1    = Legislation
  | header1    = Your header
 
 
  | labelstyle  = width: 33%;  
 
  | labelstyle  = width: 33%;  
 
  | label2      = Title
 
  | label2      = Title
  | data2      = [[Has title::{{{Title|}}}]]  
+
  | data2      = [[Has title::{{{Has title|}}}]]  
 
  | label3      = Congress
 
  | label3      = Congress
  | data2       = [[Proposed in::{{{Proposed in|}}}]]  
+
  | data3       = [[Proposed in::{{{Proposed in|}}}]]  
  | label3     = Sponsor
+
  | label4     = Sponsor
  | data3       = {{#arraymap:{{{Sponsored by|}}}|,|x|[[Sponsored by::x]]}}
+
  | data4       = {{#arraymap:{{{Sponsored by|}}}|,|x|[[Sponsored by::x]]}}
  | label3     = Committee(s)
+
  | label5     = Committee(s)
  | data3       = {{#arraymap:{{{Reviewing committee|}}}|,|x|[[Reviewing committee::x]]}}
+
  | data5       = {{#arraymap:{{{Reviewing committee|}}}|,|x|[[Reviewing committee::x]]}}
  | label3     = Related
+
  | label6     = Related
  | data3       = {{#arraymap:{{{Has related bills|}}}|,|x|[[Has related bills::x]]}}
+
  | data6       = {{#arraymap:{{{Has related bills|}}}|,|x|[[Has related bills::x]]}}
  | label3     = Status
+
  | label7     = Status
  | data3       = {{#arraymap:{{{Has bill status|}}}|,|x|[[Has bill status::x]]}}
+
  | data7       = {{#arraymap:{{{Has bill status|}}}|,|x|[[Has bill status::x]]}}
  | label3     = Keywrods
+
  | label8     = Keywords
  | data3       = {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
+
  | data8       = {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
 
  | belowstyle  = background:#ffffff;
 
  | belowstyle  = background:#ffffff;
  | below      = © McNair Center, 2016
+
  | below      = © edegan.com, 2016
 
  }}
 
  }}
 
[[Category:Legislation]]
 
[[Category:Legislation]]
 
</includeonly>
 
</includeonly>

Latest revision as of 16:53, 21 September 2020

This is the "Legislation" template. It can be populated using Form:Legislation.

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.

This template uses Form:Legislation and puts pages into Category:Legislation