Template:UnitedStatesCode: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Brian Dean Abramson
(highly useful template for linking to sections of the United States Code)
 
imported>Caesar Schinas
m (remove template:shortcut (noinclude))
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{shortcut|{{tl|USC}}, {{tl|usc}}}}
<includeonly>{{#if:{{{pipe|}}}|[http://www.law.cornell.edu/uscode/{{{1}}}/{{{2}}}.html {{{pipe|}}}]|{{#switch:{{{1}}}
</noinclude><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 25:
*<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}}
{{{{FULLPAGENAME}}/doc}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>
</noinclude>

Latest revision as of 07:24, 11 May 2009


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.