Template:Postal: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "<!-- This should probably become a Lua module at some point, the #if chaining is going to get cumbersome if too many more patterns are added --><noinclude> This template replaces a state or province with the equivalent 2-letter postal code. == Usage == The state or province should be passed as the only parameter of template. If the provided text is not recognized in the list on this page, the original text is displayed. <pre>{{postal|Wisconsin}}</pre> {{postal|Wisconsin...") |
Robertbaxter (talk | contribs) m (Robertbaxter moved page Template:Postal abbreviation to Template:Postal without leaving a redirect) |
(No difference)
|
Revision as of 15:34, 3 September 2025
This template replaces a state or province with the equivalent 2-letter postal code.
Usage
The state or province should be passed as the only parameter of template. If the provided text is not recognized in the list on this page, the original text is displayed.
{{postal|Wisconsin}}
WI
TemplateData
A postal abbreviation transform.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State/province | 1 | The state or province | String | required |