Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (reduce leading white space)
(add external reference option, begin work on "type" variable)
Line 1: Line 1:
 
<includeonly>==Background==
 
<includeonly>==Background==
  
This document is currently ''' {{#switch: {{lc:{{{status}}} }}
+
{{#if:{{{type}}}|This {{lc:{{{type}}}}} is now |[[Category:Leges needing attention (Nova Roma)]]}}''' {{#switch: {{lc:{{{status}}} }}
| c
+
| c| current| f=in force [[Category:Leges (Nova Roma)]]
| current
+
| r| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
| f=in force [[Category:Leges (Nova Roma)]]
+
| l| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
| r
+
| null| not=not in force
| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
+
| l
+
| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
+
| null
+
| not=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| approved= It was approved
| p
+
| r| rejected= It was rejected
| approved= It was approved
+
| v| vetoed= It was vetoed before voting in
| r
+
| w| withdrawn= It was withdrawn before voting in
| rejected= It was rejected
+
| v
+
| vetoed= It was vetoed before voting in
+
| w
+
| withdrawn= 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 }}
 
{{#if:{{{yes}}}| (Yes: {{{yes}}} No: {{{no}}} Abs.: {{{abs}}}) by }}
 
{{#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]]
+
| senate
+
| sen= [[Senate (Nova Roma)|the Senate]]}}.
+
 
{{{when}}}
 
{{{when}}}
 +
 +
{{#if:{{{reference}}}|External reference: {{{reference}}}}}
  
 
Commentary is not part of the official document 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]].

Revision as of 06:17, 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