Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (pretty print and add senate)
(use IF# conditional on {{{yes}}} to toggle vote display)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}<noinclude><!-- Force first letter to upper case because category sorting is case-sensitive --></noinclude>
{{DEFAULTSORT:{{ucfirst:{{{sortkey}}} }} }}
+
 
__NOTOC__
 
__NOTOC__
 
==Background==
 
==Background==
This ''lex'' is currently ''' {{#switch: {{lc:{{{status}}} }}
+
This document is currently ''' {{#switch: {{lc:{{{status}}} }}
 
| c
 
| c
 
| current
 
| current
| f
+
| f=in force [[Category:Leges (Nova Roma)]]
| 1=in force [[Category:Leges (Nova Roma)]]
+
 
| r
 
| r
| repealed
+
| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
| 2=repealed [[Category:Repealed leges (Nova Roma)]]
+
 
| l
 
| l
| lapsed
+
| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
| 3=lapsed [[Category:Lapsed leges (Nova Roma)]]
+
 
| null
 
| null
| not
+
| not=not in force
| 4=not in force
+
 
| uncertain [[Category:Leges needing attention (Nova Roma)]]}}'''.   
 
| uncertain [[Category:Leges needing attention (Nova Roma)]]}}'''.   
 
{{#switch: {{lc:{{{result}}} }}
 
{{#switch: {{lc:{{{result}}} }}
 
| a
 
| a
 
| p
 
| p
| approved
+
| approved= It was approved
| 1= It was approved (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by
+
 
| r
 
| r
| rejected
+
| rejected= It was rejected
| 2= It was rejected (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by
+
 
| v
 
| v
| vetoed
+
| vetoed= It was vetoed before voting in
| 3= It was vetoed before voting in  
+
 
| w
 
| w
| withdrawn
+
| withdrawn= It was withdrawn before voting in
| 4= It was withdrawn before voting in  
+
| Uncertain action was taken by  [[Category:Leges needing attention (Nova Roma)]]}}
| Uncertain action was taken by  [[Category:Leges needing attention (Nova Roma)]] - }}  
+
{{#if:{{{yes}}}| (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by }}
 
{{#switch: {{lc:{{{com}}} }}
 
{{#switch: {{lc:{{{com}}} }}
 
| curiate
 
| curiate
Line 51: Line 43:
 
{{{when}}}
 
{{{when}}}
  
Commentary is not part of the lex and should be placed on the [[{{TALKPAGENAME}}|discussion page]].
+
Commentary is not part of the official document and should be placed on the [[{{TALKPAGENAME}}|discussion page]].
  
 
==Text of {{PAGENAME}}==
 
==Text of {{PAGENAME}}==
 
</includeonly>
 
</includeonly>
<noinclude>
+
<noinclude>This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.
This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.
+
  
Usage: Save '''<nowiki>{{subst:Template_talk:LexInfo}}</nowiki>''' on the first line to put the template framework on any page.
+
Usage: Save '''<nowiki>{{subst:Template_talk:LexInfo}}</nowiki>''' on the first line to put the template framework on any page.</noinclude>
</noinclude>
+

Revision as of 04:45, 16 September 2007

This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories.

Usage: Save {{subst:Template_talk:LexInfo}} on the first line to put the template framework on any page.

Personal tools