Template:Midsouth makers address: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{midsouth makers address/street address}}<br> | {{#switch: {{{1}}} | ||
{{midsouth makers address/city}}, {{midsouth makers address/state}} {{midsouth makers address/zip}}<noinclude> | | address = {{midsouth makers address/street address}} | ||
| city = {{midsouth makers address/city}} | |||
| state = {{midsouth makers address/state}} | |||
| zip = {{midsouth makers address/zip}} | |||
| #default = {{midsouth makers address/street address}}<br> | |||
{{midsouth makers address/city}}, {{midsouth makers address/state}} {{midsouth makers address/zip}} | |||
}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:44, 21 May 2010
Unavailable
Memphis, TN Unavailable
[edit] []
Template documentation
Usage
Parametric Usage
{{Midsouth makers address
| show =
| inline =
| state_abbr =
| city_abbr =
}}
Inline Usage
- {{Midsouth makers address | show | inline }}
| Parameter | Value(s) | Default | Details |
|---|---|---|---|
| show | city, state, zip, all | all | provide a specific portion address display |
| inline | yes, no | no | display the address on one or two lines |
| state_abbr | yes, no | yes | display the abbreviation of the state name |
| city_abbr | yes, no | no | display the abbreviate of the city name |
Examples
Default usage
{{Midsouth makers address}}
Unavailable
Memphis, TN Unavailable
Display a single parameter
{{Midsouth makers address|city}}
Memphis
Display only the address inline
{{Midsouth makers address|address|yes}}
Unavailable
Display all without abbreviations
{{Midsouth makers address|state_abbr = no}}
Unavailable
Memphis, TN Unavailable
| The above documentation is transcluded from Template:Midsouth makers address/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |