Template:Ushr/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Ushr (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

The template {{Ushr}} expands an abbreviation to a very long name.

Specifically for use in linking to United States congressional districts.

[edit] Parameters

{{ushr |1= |2= |3= }}

1
(or first unnamed parameter) state name.
2
(or second unnamed parameter) district number (for at-large district, type in "AL").
3
(or third unnamed parameter) link text

[edit] Examples

[edit] Bug: No pipe

When the pipe ({{{3}}}) is blank, then a red-linked {{{3}}} comes out.

What ought to come out is the whole link: {{{1}}}'s {{{2}}}th congressional district]] without the pipe.

Fixed. --Dispenser 18:46, 29 December 2006 (UTC)