Difference between revisions of "Template:Legislation"

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

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

{{Legislation
|Has title=
|In Congress=
|Has Resolution=
}}

Edit the page to see the template text.