Difference between revisions of "Template:INcode/doc"
Jump to navigation
Jump to search
imported>Unbuttered Parsnip (change cats) |
imported>Vanisaac m (→Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 21: | Line 21: | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Indiana law citation templates]] | [[Category:Indiana law citation templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:30, 25 April 2020
| This is a documentation subpage for Template:INcode. It contains usage information, categories and other content that is not part of the original template page. |
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
| Format | Example | Output |
|---|---|---|
{{INcode|title}} |
{{INcode|1}} | |
{{INcode|title|article}} |
{{INcode|1|3}} | |
{{INcode|title|article|ch}} |
{{INcode|1|3|2}} | |
{{INcode|title|article|ch|etc}} |
{{INcode|1|3|2|-4(d)(1)}} |