Difference between revisions of "Template:Midsouth makers address"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(Created page with '{{midsouth makers address/street address}} {{midsouth makers address/city}}, {{midsouth makers address/state}} {{midsouth makers address/zip}}<noinclude> {{documentation}} </noin…')
 
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{midsouth makers address/street address}}
+
{{#switch: {{{1|{{{show}}}}}}
{{midsouth makers address/city}}, {{midsouth makers address/state}} {{midsouth makers address/zip}}<noinclude>
+
| address
 +
| street
 +
| street address = {{midsouth makers address/street address|{{{2|{{{inline|no}}}}}}}}
 +
| city = {{midsouth makers address/city|{{{city_abbr|no}}}}}
 +
| state = {{midsouth makers address/state|{{{state_abbr|yes}}}}}
 +
| zip = {{midsouth makers address/zip}}
 +
| all
 +
| full
 +
| #default = {{midsouth makers address/street address|{{{2|{{{inline|no}}}}}}}} {{#ifeq: {{{2|{{{inline|no}}}}}} | no | <br> }}{{midsouth makers address/city|{{{city_abbr|no}}}}}, {{midsouth makers address/state|{{{state_abbr|yes}}}}} {{midsouth makers address/zip}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 +
 +
[[Category: Midsouth Makers Templates|Address]]
 +
[[Category: Information Templates|Address]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:58, 29 July 2010

Unavailable
Memphis, TN Unavailable

[edit] [purge] 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, Tennessee Unavailable