Difference between revisions of "Template:MNLaw"
Jump to navigation
Jump to search
imported>LightSoup (created template) |
imported>LightSoup (added feature) |
||
| 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}} Laws of Minnesota {{{1}}}, chapter {{{2}}}]|Laws of Minnesota {{{1}}}, chapter {{{2}}}}}<noinclude>{{Documentation}}</noinclude> | + | {{#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}}}|Laws of Minnesota {{{1}}}, chapter {{{2}}}}}]|{{#if:{{{ch#_only|}}}|{{{2}}}|Laws of Minnesota {{{1}}}, chapter {{{2}}}}}}}<noinclude>{{Documentation}}</noinclude> |
Revision as of 19:29, 12 April 2013
Expression error: Unrecognized punctuation character "{".
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. |