Template:LexInfo

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(add external reference option, begin work on "type" variable)
m (tweak boilerplate for condition when vote is unknown)
 
(4 intermediate revisions by one user not shown)
Line 5: Line 5:
 
| r| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
 
| r| repealed=repealed [[Category:Repealed leges (Nova Roma)]]
 
| l| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
 
| l| lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]]
| null| not=not in force
+
| n| 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| p| approved= It was approved
+
| a| p| pass| passed| approved=It was approved
| r| rejected= It was rejected
+
| r| rejected=It was rejected
| v| vetoed= It was vetoed before voting in
+
| v| vetoed=It was vetoed before voting in
| w| withdrawn= It was withdrawn 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| curiata| cur= [[Comitia Curiata (Nova Roma)|Comitia curiata]]
+
| curiate| curiata| cur= [[Comitia Curiata (Nova Roma)|comitia curiata]]
| centuriate| centuriata| cen= [[Comitia centuriata (Nova Roma)|Comitia centuriata]]
+
| centuriate| centuriata| cen=[[Comitia centuriata (Nova Roma)|comitia centuriata]]
| plebeian| plebis| ple= [[Comitia plebis tributa (Nova Roma)|Comitia plebis tributa]]
+
| plebeian| plebis| ple=[[Comitia plebis tributa (Nova Roma)|comitia plebis tributa]]
| people| popular| populi| pop= [[Comitia populi tributa (Nova Roma)|Comitia populi tributa]]
+
| people| popular| populi| pop=[[Comitia populi tributa (Nova Roma)|comitia populi tributa]]
| senate| sen= [[Senate (Nova Roma)|the Senate]]}}.
+
| senate| sen= [[Senate (Nova Roma)|the Senate]]}}.  
 
{{{when}}}
 
{{{when}}}
  
Line 27: Line 27:
  
 
==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:16, 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