Difference between revisions of "Template:Legislation"

From edegan.com
Jump to navigation Jump to search
 
(One intermediate revision by the same user 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>
 
{{Legislation
 
{{Legislation
 
|Has title=
 
|Has title=
|In Congress=
+
|Proposed in=
|Has Resolution=
+
|Sponsored by=
 +
|Reviewing committee=
 +
|Has related bills=
 +
|Has bill status=
 +
|Has keywords=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
! Has title
 
| [[Has title::{{{Has title|}}}]]
 
|-
 
! In Congress
 
| [[In Congress::{{{In Congress|}}}]]
 
|-
 
! Has Resolution
 
| [[Has Resolution::{{{Has Resolution|}}}]]
 
|}
 
  
 +
This template uses [[Form:Legislation]] and puts pages into [[:Category:Legislation]]
 +
 +
</noinclude><includeonly>
 +
{{Infobox
 +
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
| headerstyle = background:#0d776e; color:#ffffff;
 +
| header1    = Legislation
 +
| labelstyle  = width: 33%;
 +
| label2      = Title
 +
| data2      = [[Has title::{{{Has title|}}}]]
 +
| label3      = Congress
 +
| data3      = [[Proposed in::{{{Proposed in|}}}]]
 +
| label4      = Sponsor
 +
| data4      = {{#arraymap:{{{Sponsored by|}}}|,|x|[[Sponsored by::x]]}}
 +
| label5      = Committee(s)
 +
| data5      = {{#arraymap:{{{Reviewing committee|}}}|,|x|[[Reviewing committee::x]]}}
 +
| label6      = Related
 +
| data6      = {{#arraymap:{{{Has related bills|}}}|,|x|[[Has related bills::x]]}}
 +
| label7      = Status
 +
| data7      = {{#arraymap:{{{Has bill status|}}}|,|x|[[Has bill status::x]]}}
 +
| label8      = Keywords
 +
| data8      = {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
 +
| belowstyle  = background:#ffffff;
 +
| 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