Template:Tabularium articles
From NovaRoma
(Difference between revisions)
m (Seperated Table with formatting changes - Test) |
m (Major Logic Correction.) |
||
Line 62: | Line 62: | ||
<!--New Section:The Above is static for all Tabularium Pages. Below is for SC and Lex pages only--> | <!--New Section:The Above is static for all Tabularium Pages. Below is for SC and Lex pages only--> | ||
− | {{#switch: {{{ | + | {{#switch: {{{pgchk|}}}|1= <!-- pgchk option 1 content next--> |
− | {{Navigation frame| <!-- Navframe title displays after this--> | + | {{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText| |
− | {{GlobalText| | + | |
DE=| | DE=| | ||
− | EN= | + | EN=LEX STATUS INFORMATION| |
ES=| | ES=| | ||
FR=| | FR=| | ||
Line 76: | Line 75: | ||
RU=}} | RU=}} | ||
| <!-- Navframe content displays after this--> | | <!-- Navframe content displays after this--> | ||
− | {{ | + | {{LexStatus|{{{lexstat}}} }} |
− | | | + | {{LexPassed|com={{{com}}}|when={{{when}}}|yes={{{yes}}}|no={{{no}}}|abs={{{abs}}} }} |
− | ---- | + | }} <!-- Lex Page Navframe close brackets--> |
− | {{GlobalText| | + | |2= <!-- pgchk option 2 content next--> |
+ | {{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText| | ||
DE=| | DE=| | ||
− | EN= | + | EN=SENATUS CONSULTUM STATUS INFORMATION| |
ES=| | ES=| | ||
FR=| | FR=| | ||
Line 90: | Line 90: | ||
RO=| | RO=| | ||
RU=}} | 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'''. | This Senatus Consultum has been '''REPEALED'''. | ||
− | |3= | + | |3= <!-- scstat option 3 content next--> |
− | ---- | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
This Senatus Consultum has '''LAPSED'''. | This Senatus Consultum has '''LAPSED'''. | ||
− | | <!-- | + | | <!-- scstat switch default output--> |
− | }} <!--Navframe close brackets--> | + | }} <!-- SC Page Navframe close brackets--> |
− | }} <!--switch close brackets--> | + | }} <!--"scstat" switch close brackets--> |
− | + | |3= <!-- pgchk option 3 content next--> | |
− | + | {{Navigation frame| <!-- Navframe title displays after this--> {{GlobalText| | |
− | {{Navigation frame| <!-- Navframe title displays after this--> | + | |
− | {{GlobalText| | + | |
DE=| | DE=| | ||
− | EN= | + | EN=LEX STATUS INFORMATION| |
ES=| | ES=| | ||
FR=| | FR=| | ||
Line 125: | Line 114: | ||
RU=}} | RU=}} | ||
| <!-- Navframe content displays after this--> | | <!-- Navframe content displays after this--> | ||
− | {{LexStatus|{{{ | + | {{LexStatus|{{{lexstat}}} }} |
{{LexPassed|com={{{com}}}|when={{{when}}}|yes={{{yes}}}|no={{{no}}}|abs={{{abs}}} }} | {{LexPassed|com={{{com}}}|when={{{when}}}|yes={{{yes}}}|no={{{no}}}|abs={{{abs}}} }} | ||
− | |||
− | {{ | + | {{SenConStatusActive}} |
{{SenConPassed|yes={{{scyes}}}|no={{{scno}}}|abs={{{scabs}}}|when={{{scwhen}}} }} | {{SenConPassed|yes={{{scyes}}}|no={{{scno}}}|abs={{{scabs}}}|when={{{scwhen}}} }} | ||
− | | | + | }} <!-- Lex with SC Page Navframe close brackets--> |
− | }} <!-- | + | | <!-- scstat switch default output--> |
+ | }} <!--"pgchk" switch close brackets--> | ||
− | |||
− | |||
__NOEDITSECTION__<noinclude> | __NOEDITSECTION__<noinclude> | ||
Line 142: | Line 129: | ||
Provides globalized navigation for articles on the laws of Nova Roma. | Provides globalized navigation for articles on the laws of Nova Roma. | ||
− | *Useage Syntax: '''<nowiki>{{Tabularium articles| | + | *Useage Syntax: '''<nowiki>{{Tabularium articles|pgchk|lexstat|com|yes|no|abs|when|scstat|scyes|scno|scabs|scwhen|guideone|guidetwo}}</nowiki>'''<br> |
− | *Usage Example: '''<nowiki>{{Tabularium articles| | + | *Lex (In-Force) Page, Usage Example: '''<nowiki>{{Tabularium articles|pgchk=1|lexstat=1|com=comitia plebis tributa|yes=16|no=2|abs=0|when={{Dec 22}} {{1999}}}}</nowiki>''' |
+ | *SC (In-Force) Page, Usage Example: '''<nowiki>{{Tabularium articles|pgchk=2|lexstat=|com=|yes=|no=|abs=|when=|scstat=1|scyes=15|scno=1|scabs=2|scwhen={{Dec 22}} {{1999}}}}</nowiki>''' | ||
+ | *Lex (In-Force) with SC Approval (e.g. Constitution) Page, Usage Example: '''<nowiki>{{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}}}}</nowiki>''' | ||
− | :''If '''not''' being used for a lex page, set " | + | :''If '''not''' being used for a lex or senatus consultum page, set "pgchk" to a null state: '''<nowiki>{{Tabularium articles|pgchk=|}}</nowiki>''''' |
− | :''If being used for a lex page with only standard comitia approval, use only up to and including the "when" parameter.'' | + | :''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, use up to and including the "scwhen" 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 " | + | :''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. | :''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:'''<br> | '''Legend:'''<br> | ||
− | *status: As per the "[[Template:LexStatus|LexStatus template]]" <br> | + | *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). |
+ | |||
+ | *lexstat: As per the "[[Template:LexStatus|LexStatus template]]" <br> | ||
The following are parsed into the "[[Template:LexPassed|LexPassed template]]" used in the overall template:<br> | The following are parsed into the "[[Template:LexPassed|LexPassed template]]" used in the overall template:<br> | ||
Line 171: | Line 162: | ||
The following uses "[[Template:SenConStatusActive|SenConStatusActive template]]":<br> | The following uses "[[Template:SenConStatusActive|SenConStatusActive template]]":<br> | ||
− | * | + | *scstat: set to "1" for '''IN-FORCE'''; set to 2 for '''REPEALED'''; set to 3 for '''LAPSED'''. |
''Note: "[[Template:SenConStatusRepealed|SenConStatusRepealed template]]" is not used in this template.'' | ''Note: "[[Template:SenConStatusRepealed|SenConStatusRepealed template]]" is not used in this template.'' |
Revision as of 01:12, 11 November 2022
Tabularium of Nova Roma
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).
- lexstat: As per the "LexStatus template"
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.