Template:LexStatus

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(consolidate 3 functions, embed #fn in template)
 
m (Just removing the "Status" text from the beginning.)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="marblebox redborder centered" style="width:200px; margin-top:4px; margin-bottom: 4px;">
+
<includeonly>__NOTOC__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>
This ''lex'' is currently '''{{#switch: {{{1}}}| 1=ACTIVE| 2=REPEALED| 3=LAPSED}}'''.
+
==Usage==
</div>
+
 
 +
'''<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>

Latest revision as of 00:15, 11 November 2022

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