Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (simplify)
m (tweak boilerplate for condition when vote is unknown)
 
(9 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>==Background==
{{DEFAULTSORT:{{ucfirst:{{{sortkey}}} }} }}
+
 
[[Category:Leges (Nova Roma)]]
+
{{#if:{{{type}}}|This {{lc:{{{type}}}}} is now |[[Category:Leges needing attention (Nova Roma)]]}}''' {{#switch: {{lc:{{{status}}} }}
__NOTOC__
+
| c| current| f=in force [[Category:Leges (Nova Roma)]]
==Background==
+
| r| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
This ''lex'' is currently ''' {{#switch: {{lc:{{{status}}} }}
+
| l| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
| c
+
| n| null| not=not in force
| current
+
| uncertain [[Category:Leges needing attention (Nova Roma)]]}}'''.
| f
+
| 1=IN FORCE
+
| r
+
| repealed
+
| 2=REPEALED [[Category:Repealed leges (Nova Roma)]]
+
| l
+
| lapsed
+
| 3=LAPSED [[Category:Lapsed leges (Nova Roma)]]| Uncertain [[Category:Leges needing attention (Nova Roma)]]}}'''.
+
 
{{#switch: {{lc:{{{result}}} }}
 
{{#switch: {{lc:{{{result}}} }}
| a
+
| a| p| pass| passed| approved=It was approved
| p
+
| r| rejected=It was rejected
| approved
+
| v| vetoed=It was vetoed before voting in
| 1= Approved (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by
+
| w| withdrawn=It was withdrawn before voting in
| r
+
| Uncertain action was taken by  [[Category:Leges needing attention (Nova Roma)]]}}
| rejected
+
{{#if:{{{yes}}}| (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by|by }}
| 2= Rejected (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by
+
| v
+
| vetoed
+
| 3= Vetoed before voting in
+
| w
+
| withdrawn
+
| 4= Withdrawn before voting in
+
|Uncertain [[Category:Leges needing attention (Nova Roma)]] - }}  
+
 
{{#switch: {{lc:{{{com}}} }}
 
{{#switch: {{lc:{{{com}}} }}
| curiate
+
| curiate| curiata| cur= [[Comitia Curiata (Nova Roma)|comitia curiata]]
| curiata
+
| centuriate| centuriata| cen=[[Comitia centuriata (Nova Roma)|comitia centuriata]]
| cur= [[Comitia Curiata (Nova Roma)|Comitia curiata]]
+
| plebeian| plebis| ple=[[Comitia plebis tributa (Nova Roma)|comitia plebis tributa]]
| centuriate
+
| people| popular| populi| pop=[[Comitia populi tributa (Nova Roma)|comitia populi tributa]]
| centuriata
+
| senate| sen= [[Senate (Nova Roma)|the Senate]]}}.
| cen= [[Comitia centuriata (Nova Roma)|Comitia centuriata]]
+
| plebeian
+
| plebis
+
| ple= [[Comitia plebis tributa (Nova Roma)|Comitia plebis tributa]]
+
| people
+
| popular
+
| populi
+
| pop= [[Comitia populi tributa (Nova Roma)|Comitia populi tributa]]}}
+
 
{{{when}}}
 
{{{when}}}
  
Commentary is not part of the lex and should be placed on the [[{{TALKPAGENAME}}|discussion page]].
+
{{#if:{{{reference}}}|External reference: {{{reference}}}}}
  
==Text of {{PAGENAME}}==
+
Commentary is not part of the official document and should be placed on the [[{{TALKPAGENAME}}|discussion page]].
</includeonly>
+
<noinclude>
+
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.
+
==Text of {{PAGENAME}}==
</noinclude>
+
__NOTOC__{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}</includeonly><noinclude>{{LexInfo/doc}}</noinclude>

Latest revision as of 08:15, 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