Difference between revisions of "Template:INcode"

From blackwiki
Jump to navigation Jump to search
imported>AlanM1
m (Fixing style/layout errors)
imported>AlanM1
(Allow 3 levels)
Line 1: Line 1:
[http://www.in.gov/legislative/ic/code/title{{{1|}}} IC {{{1|}}}{{{2|}}}]
+
[http://www.in.gov/legislative/ic/code/title{{{1}}}{{#if:{{{2}}} | {{#if:{{{3}}} | /ar{{{2}}}/ch{{{3}}}.html | /ar{{{2}}} }} |}} IC {{{1|}}}{{{2|}}}{{{3|}}}]
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:11, 23 May 2012

IC

Template documentation[view] [edit] [history] [purge]

This template is used to insert an inline link to the Indiana Code.

Usage

The template creates a link to the Indiana General Assembly website, based on the contents of up to the first 3 parameters, which are taken as title, article, and chapter. An optional 4th parameter may be specified to add the section, sub-section, etc., and must include any necessary punctuation (including the leading "-").

Examples

Examples of {{INcode}} template
Format Example Output
{{INcode|title}} {{INcode|1}} IC 1
{{INcode|title|article}} {{INcode|1|3}} IC 13
{{INcode|title|article|ch}} {{INcode|1|3|2}} IC 132
{{INcode|title|article|ch|etc}} {{INcode|1|3|2|-4(d)(1)}} IC 132