Difference between revisions of "Template:Legislation"

From edegan.com
Jump to navigation Jump to search
(Undo revision 27716 by Ed (talk))
Tag: Undo
Line 5: Line 5:
 
{{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;"
+
</noinclude><includeonly>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
{{Infobox
|-
+
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;  
! Has title
+
| headerstyle = background:#0d776e; color:#ffffff;
| [[Has title::{{{Has title|}}}]]
+
| header1    = Legislation
|-
+
| labelstyle  = width: 33%;  
! In Congress
+
| label2      = Title
| [[In Congress::{{{In Congress|}}}]]
+
| data2      = [[Has title::{{{Has title|}}}]]
|-
+
| label3      = Congress
! Has Resolution
+
| data3      = [[Proposed in::{{{Proposed in|}}}]]  
| [[Has Resolution::{{{Has Resolution|}}}]]
+
| 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>

Revision as of 16:47, 21 September 2020

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.