Template:USCongressOrdinal
Appearance
Code only
Documentation
This template is used on approximately 6,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Subpages
Relies on:
Use
Range from {{{1}}} to {{{2}}}.
Default separator is <br/>
.
- Otherwise editors can use anything.
- For "comma-space" use
, 
- For "current" congress, use present/p for {{{2}}}.
Examples
Code | Result |
---|---|
{{USCongressOrdinal|1}}
|
1st |
{{USCongressOrdinal|37}}
|
37th |
{{USCongressOrdinal|113|118}}
|
113th 114th 115th 116th 117th 118th |
{{USCongressOrdinal|113|present}}
|
113th 114th 115th 116th 117th 118th |
{{USCongressOrdinal|113|present|
|
113th, 114th, 115th, 116th, 117th, 118th |
{{USCongressOrdinal|Present}}
|
118th |
{{USCongressOrdinal|118|present}}
|
118th |