Difference between revisions of "Template:MNLaw"
Jump to navigation
Jump to search
imported>LightSoup (updated) |
imported>LightSoup (updated reference format) |
||
| Line 1: | Line 1: | ||
| − | {{#ifexpr:{{{1}}}>=1983|[https://www.revisor.mn.gov/laws/?year={{{1}}}&id={{{2}}}{{#if:{{{type|}}}|&doctype={{{type}}}|&doctype=Chapter}}{{#if:{{{ssn|}}}|&type={{{ssn}}}|&type=0}} {{#if:{{{ch#_only|}}}|{{{2}}}|{{#ifeq:{{{ssn|}}}|1|Laws | + | <includeonly>{{#ifexpr:{{{1}}}>=1983|[https://www.revisor.mn.gov/laws/?year={{{1}}}&id={{{2}}}{{#if:{{{type|}}}|&doctype={{{type}}}|&doctype=Chapter}}{{#if:{{{ssn|}}}|&type={{{ssn}}}|&type=0}} {{#if:{{{ch#_only|}}}|{{{2}}}|{{#ifeq:{{{ssn|}}}|1|Laws {{{1}}}, First Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|2|Laws {{{1}}}, Second Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|3|Laws {{{1}}}, Third Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|4|Laws {{{1}}}, Fourth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|5|Laws {{{1}}}, Fifth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|6|Laws {{{1}}}, Sixth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|7|Laws {{{1}}}, Seventh Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|8|Laws {{{1}}}, Eighth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|9|Laws {{{1}}}, Ninth Special Session chapter {{{2}}}|Laws {{{1}}}, chapter {{{2}}}}}}}}}}}}}}}}}}}}}}}]|{{#if:{{{ch#_only|}}}|{{{2}}}|{{#ifeq:{{{ssn|}}}|1|Laws {{{1}}}, First Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|2|Laws {{{1}}}, Second Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|3|Laws {{{1}}}, Third Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|4|Laws {{{1}}}, Fourth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|5|Laws {{{1}}}, Fifth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|6|Laws {{{1}}}, Sixth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|7|Laws {{{1}}}, Seventh Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|8|Laws {{{1}}}, Eighth Special Session chapter {{{2}}}|{{#ifeq:{{{ssn|}}}|9|Laws {{{1}}}, Ninth Special Session chapter {{{2}}}|Laws {{{1}}}, chapter {{{2}}}}}}}}}}}}}}}}}}}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 00:01, 12 March 2016
This template creates a formatted external link to texts of laws enacted by the Minnesota Legislature.
Usage
{{MNLaw|year|number|ssn=}}
Parameters:
- required
- year: year the law was enacted
- number: the law's chapter number
- optional
- ssn=: if a law was enacted in a special session, the serial number of the special session the law was enacted (e.g. enter '1' for "First Special Session")
Examples
{{MNLaw|2017|1}}
{{MNLaw|2017|7|ssn=1}}
| The above documentation is transcluded from Template:MNLaw/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |