Template:UnitedStatesCode: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Brian Dean Abramson
(del unused template)
imported>Brian Dean Abramson
(minor fix)
Line 1: Line 1:
<noinclude>{{shortcut|{{tl|USC}}, {{tl|usc}}}}
<noinclude>{{shortcut|{{tl|USC}}, {{tl|usc}}}}</noinclude>
</noinclude><includeonly>{{#if:{{{pipe|}}}|[http://www.law.cornell.edu/uscode/{{{1}}}/{{{2}}}.html {{{pipe|}}}]|{{#switch:{{{1}}}
<includeonly>{{#if:{{{pipe|}}}|[http://www.law.cornell.edu/uscode/{{{1}}}/{{{2}}}.html {{{pipe|}}}]|{{#switch:{{{1}}}
| 26 = [[Internal Revenue Code|26 U.S.C.]]
| 26 = [[Internal Revenue Code|26 U.S.C.]]
|[[Title {{{1}}} of the United States Code|{{{1}}} U.S.C.]]}}&nbsp;[http://www.law.cornell.edu/uscode/{{{1}}}/{{{2}}}.html §&nbsp;{{{2}}}]{{#if:{{{3|}}}|-[http://www.law.cornell.edu/uscode/{{{1}}}/{{{3}}}.html {{{3}}}]}}}}</includeonly><noinclude>
|[[Title {{{1}}} of the United States Code|{{{1}}} U.S.C.]]}}&nbsp;[http://www.law.cornell.edu/uscode/{{{1}}}/{{{2}}}.html §&nbsp;{{{2}}}]{{#if:{{{3|}}}|-[http://www.law.cornell.edu/uscode/{{{1}}}/{{{3}}}.html {{{3}}}]}}}}</includeonly>
<noinclude>
==Usage==
==Usage==
This template uses Cornell's database.
This template uses Cornell's database.
Line 25: Line 26:
*<span style="background:#ccccaa">You enter:</span> <tt><nowiki>{{usc|10|371|378}}</nowiki></tt><br>
*<span style="background:#ccccaa">You enter:</span> <tt><nowiki>{{usc|10|371|378}}</nowiki></tt><br>
*<span style="background:#ccccff">Template returns:</span>{{usc|10|371|378}}
*<span style="background:#ccccff">Template returns:</span>{{usc|10|371|378}}
</noinclude>

Revision as of 23:25, 28 April 2007

Template:Shortcut


Usage

This template uses Cornell's database.

You enter: {{UnitedStatesCode|x|y}} or {{usc|x|y}}
Template returns: Template:Usc

You may also use this to specify a range of sections:

You enter: {{UnitedStatesCode|x|y|z}} or {{usc|x|y|z}}
Template returns: Template:Usc

Please note that all titles have Wikipedia articles and the template will link to the Wikipedia article.

Examples

  • You enter: The [[Flag Code]] is found at {{usc|4|1}}.
  • Template returns: The Flag Code is found at Template:Usc.
  • You enter: Federal subject matter jurisdiction is found at {{usc|28|1331}}.
  • Template returns: Federal subject matter jurisdiction is found at Template:Usc.