Template:Tabularium articles

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(removed Laws from the THE REPUBLIC section)
(Added 'Related Articles' back in only when on lex or SC page.)
Line 19: Line 19:
 
{{Global|Codex Iuris Novae Romae|}}
 
{{Global|Codex Iuris Novae Romae|}}
 
----
 
----
----
+
{{#if: {{{lexstat}}} |
 +
{{Navigation frame internal|{{GlobalText|
 +
EN='''RELATED GUIDANCE PAGES'''}}|
 +
{{#if: {{{guideone}}} |
 +
{{Global|{{{guideone}}}|{{{guideone}}} }} <br/>
 +
|[[Roman law]]<br/>
 +
}} <!--if check guideone close brackets -->
 +
{{#if: {{{guidetwo}}} |
 +
{{Global|{{{guidetwo}}}|{{{guidetwo}}} }} <br/>
 +
| <!--guidetwo to be blank if guidetwo null-->
 +
}} <!-- if check guidetwo close brackets-->
 +
}} <!-- Navframe Internal "Related Guidance Pages" close brackets-->
 +
| <!-- if check lexstat negative statement (empty space)-->
 +
}} <!-- if check lexstat close brackets-->
 +
 
 
{{Navigation frame internal|{{GlobalText|
 
{{Navigation frame internal|{{GlobalText|
 
EN='''THE REPUBLIC'''}}|  
 
EN='''THE REPUBLIC'''}}|  
Line 39: Line 53:
 
}}
 
}}
 
}}
 
}}
 +
<!--New Section:The Above is static for all Tabularium Pages. Below is for SC and Lex pages only-->
 +
 +
{{#switch: {{{pgchk|}}}|1= <!-- pgchk option 1 content next-->
 +
{{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText|
 +
DE=|
 +
EN=<p style="font-family:Times, Serif; font-size:150%; text-align:center">LEX STATUS INFORMATION</p>|
 +
ES=|
 +
FR=|
 +
HU=|
 +
IT=|
 +
LA=|
 +
PT=|
 +
RO=|
 +
RU=}}
 +
| <!-- Navframe content displays after this-->
 +
{{LexStatus|{{{lexstat}}} }}
 +
{{LexPassed|com={{{com}}}|when={{{when}}}|yes={{{yes}}}|no={{{no}}}|abs={{{abs}}} }}
 +
}} <!-- Lex Page Navframe close brackets-->
 +
|2= <!-- pgchk option 2 content next-->
 +
{{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText|
 +
DE=|
 +
EN=<p style="font-family:Times, Serif; font-size:150%; text-align:center">SENATUS CONSULTUM STATUS INFORMATION</p>|
 +
ES=|
 +
FR=|
 +
HU=|
 +
IT=|
 +
LA=|
 +
PT=|
 +
RO=|
 +
RU=}}
 +
| <!-- Navframe content displays after this-->
 +
{{#switch: {{{scstat|}}}|1= <!-- scstat option 1 content next-->
 +
{{SenConStatusActive}}
 +
{{SenConPassed|yes={{{scyes}}}|no={{{scno}}}|abs={{{scabs}}}|when={{{scwhen}}} }}
 +
|2= <!-- scstat option 2 content next-->
 +
This Senatus Consultum has been '''REPEALED'''.
 +
|3= <!-- scstat option 3 content next-->
 +
This Senatus Consultum has '''LAPSED'''.
 +
| <!-- scstat switch default output-->
 +
}} <!-- SC Page Navframe close brackets-->
 +
}} <!--"scstat" switch close brackets-->
 +
|3= <!-- pgchk option 3 content next-->
 +
{{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText|
 +
DE=|
 +
EN=<p style="font-family:Times, Serif; font-size:150%; text-align:center">LEX STATUS INFORMATION</p>|
 +
ES=|
 +
FR=|
 +
HU=|
 +
IT=|
 +
LA=|
 +
PT=|
 +
RO=|
 +
RU=}}
 +
| <!-- Navframe content displays after this-->
 +
{{LexStatus|{{{lexstat}}} }}
 +
{{LexPassed|com={{{com}}}|when={{{when}}}|yes={{{yes}}}|no={{{no}}}|abs={{{abs}}} }}
 +
 +
{{SenConPassed|yes={{{scyes}}}|no={{{scno}}}|abs={{{scabs}}}|when={{{scwhen}}} }}
 +
}} <!-- Lex with SC Page Navframe close brackets-->
 +
| <!-- scstat switch default output-->
 +
}} <!--"pgchk" switch close brackets-->
 +
 +
 
<noinclude>
 
<noinclude>
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Revision as of 04:39, 19 November 2022

Tabularium of Nova Roma

· Home: Legal System ·
Declaration - Constitution
Leges - Senatus Consulta - Decreta - Edicta


Codex Iuris Novae Romae


RELATED GUIDANCE PAGES

[[{{{guideone}}}|{{{guideone}}}]]
[[{{{guidetwo}}}|{{{guidetwo}}}]]




Purpose and Usage

Provides globalized navigation for articles on the laws of Nova Roma.

  • Useage Syntax: {{Tabularium articles|pgchk|lexstat|com|yes|no|abs|when|scstat|scyes|scno|scabs|scwhen|guideone|guidetwo}}
  • Lex (In-Force) Page, Usage Example: {{Tabularium articles|pgchk=1|lexstat=1|com=comitia plebis tributa|yes=16|no=2|abs=0|when={{Dec 22}} {{1999}}}}
  • SC (In-Force) Page, Usage Example: {{Tabularium articles|pgchk=2|lexstat=|com=|yes=|no=|abs=|when=|scstat=1|scyes=15|scno=1|scabs=2|scwhen={{Dec 22}} {{1999}}}}
  • Lex (In-Force) with SC Approval (e.g. Constitution) Page, Usage Example: {{Tabularium articles|pgchk=3|lexstat=1|com=comitia plebis tributa|yes=16|no=2|abs=0|when={{Dec 22}} {{1999}}|scstat=1|scyes=15|scno=1|scabs=2|scwhen={{Dec 22}} {{1999}}}}


If not being used for a lex or senatus consultum page, set "pgchk" to a null state: {{Tabularium articles|pgchk=|}}
If being used for a lex page with only standard comitia approval, set "pgchk" to "1" and use only up to and including the "when" parameter.
If being used for a lex page with both a comitia approval and an approving SC, set "pgchk" to "3" and use up to and including the "scwhen" parameter.
If being used for a SC page, set "pgchk" to "2", set "lexstat", "com, "yes", "no", "abs" and "when" parameters to "null". Fill in the remaining parameters and set "scstat" to only either "1", "2", or "3".
You can add guidance pages (when placing this template on a lex/SC page) by adding a value to parameters "guideone" and "guidetwo". Set both to "null" for a default page.


Legend:

  • pgchk: To activate the lex/senatus consultum status box and format for the circumstances. set to "1" for a standard lex page; set to "2" for a senatus consultum page; set to "3" for a lex page that also has an senatus consultum approval (like the constitution).

The following are parsed into the "LexPassed template" used in the overall template:

  • com: comitia centuriata / comitia plebis tributa / comitia populi tributa
  • yes: Number of "yes" votes (number only)
  • no: Number of "no" votes (number only)
  • abs: Number of "absentions" (number only)
  • when: date lex enacted; follow format "{{Dec 22}} {{1999}}"

The following are parsed into the "SenConPassed template" used in the overall template:

  • scyes: Number of SC "yes" votes (number only)
  • scno: Number of SC "no" votes (number only)
  • scabs: Number of SC "absentions" (number only)
  • scwhen: date SC enacted; follow format "{{Dec 22}} {{1999}}"

The following uses "SenConStatusActive template":

  • scstat: set to "1" for IN-FORCE; set to 2 for REPEALED; set to 3 for LAPSED.

Note: "SenConStatusRepealed template" is not used in this template.

  • guideone: The name of the internal Nova Roma wiki page, use the "(Nova Roma)" text as called.
  • guidetwo: The name of the internal Nova Roma wiki page, use the "(Nova Roma)" text as called.

Location: After the languagebar.

Personal tools