Template:LexInfo
From NovaRoma
(Difference between revisions)
m (pretty print and add senate) |
(use IF# conditional on {{{yes}}} to toggle vote display) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{DEFAULTSORT:{{ucfirst:{{{sortkey}}}}}}}<noinclude><!-- Force first letter to upper case because category sorting is case-sensitive --></noinclude> |
− | {{DEFAULTSORT:{{ucfirst:{{{sortkey}}} }} }} | + | |
__NOTOC__ | __NOTOC__ | ||
==Background== | ==Background== | ||
− | This | + | This document is currently ''' {{#switch: {{lc:{{{status}}} }} |
| c | | c | ||
| current | | current | ||
− | | f | + | | f=in force [[Category:Leges (Nova Roma)]] |
− | + | ||
| r | | r | ||
− | | repealed | + | | repealed=repealed [[Category:Repealed leges (Nova Roma)]] |
− | + | ||
| l | | l | ||
− | | lapsed | + | | lapsed=lapsed [[Category:Lapsed leges (Nova Roma)]] |
− | + | ||
| null | | null | ||
− | | not | + | | 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 | | a | ||
| p | | p | ||
− | | approved | + | | approved= It was approved |
− | + | ||
| r | | r | ||
− | | rejected | + | | rejected= It was rejected |
− | + | ||
| v | | v | ||
− | | vetoed | + | | vetoed= It was vetoed before voting in |
− | + | ||
| w | | w | ||
− | | withdrawn | + | | 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 }} |
{{#switch: {{lc:{{{com}}} }} | {{#switch: {{lc:{{{com}}} }} | ||
| curiate | | curiate | ||
Line 51: | Line 43: | ||
{{{when}}} | {{{when}}} | ||
− | Commentary is not part of the | + | Commentary is not part of the official document and should be placed on the [[{{TALKPAGENAME}}|discussion page]]. |
==Text of {{PAGENAME}}== | ==Text of {{PAGENAME}}== | ||
</includeonly> | </includeonly> | ||
− | <noinclude> | + | <noinclude>This template uses MAGICWORDS and ParserFunctions to build the head area for laws articles. It automates inclusion into categories. |
− | 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. | + | Usage: Save '''<nowiki>{{subst:Template_talk:LexInfo}}</nowiki>''' on the first line to put the template framework on any page.</noinclude> |
− | </noinclude> | + |
Revision as of 04:45, 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.