Template:LexStatus

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(fall-thu valuse, default value)
m (autocat on status A)
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
[[Category:Leges (Nova Roma)]]
+
<includeonly>__NOTOC__Status: This ''lex'' is currently ''' {{#switch: {{lc:{{{1|}}}}}| a| active| c| current| f| 1=IN FORCE [[Category:Leges (Nova Roma)]]| 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)]]}}'''.</includeonly><noinclude>
__NOTOC__
+
==Usage==
==Status==
+
 
This ''lex'' is currently ''' {{#switch: {{{1}}}| C| c| current| F| f| 1=IN FORCE| R| r| repealed| 2=REPEALED [[Category:Repealed leges (Nova Roma)]]| L| l| lapsed| 3=LAPSED [[Category:Lapsed leges (Nova Roma)]]|Uncertain [[Category:Leges needing attention (Nova Roma)]]|}}'''.
+
'''<nowiki>{{LexStatus|CODE}}</nowiki>'''
 +
 
 +
CODE is one of:
 +
 
 +
*for '''IN FORCE''' leges: f, c, a, current, active, 1
 +
*for '''REPEALED''' leges: r, repealed, 2
 +
*for '''LAPSED''' leges: l, lapsed, 3
 +
*any other value gives status "Uncertain"
 +
 
 +
CODE is not case-sensitive.
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 07:56, 11 September 2008

Usage

{{LexStatus|CODE}}

CODE is one of:

  • for IN FORCE leges: f, c, a, current, active, 1
  • for REPEALED leges: r, repealed, 2
  • for LAPSED leges: l, lapsed, 3
  • any other value gives status "Uncertain"

CODE is not case-sensitive.

Personal tools