Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (reduce leading white space)
m (tweak boilerplate for condition when vote is unknown)
 
(5 intermediate revisions by one user not shown)
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
+
| n| 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| pass| passed| 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|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]].
  
 
==Text of {{PAGENAME}}==
 
==Text of {{PAGENAME}}==
{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}<noinclude><!-- Force first letter to upper case because category sorting is case-sensitive --></noinclude>__NOTOC__
+
__NOTOC__{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}</includeonly><noinclude>{{LexInfo/doc}}</noinclude>
</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.</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