Difference between revisions of "Template:Cape Cod lighthouses"
Jump to navigation
Jump to search
imported>Grolltech (creating template for use in Cape Cod and other articles) |
imported>Grolltech (parameterize: width, caption, alt, border, float) |
||
| Line 1: | Line 1: | ||
{{Location map+ | Cape Cod | {{Location map+ | Cape Cod | ||
| − | | width = 320 | + | | width = {{#if:{{{width|}}}|{{{width|}}}|320}} |
| − | | caption = The lighthouses of Cape Cod |alt=The lighthouses of Cape Cod | + | | caption = {{#if:{{{caption|}}}|{{{caption|}}}|The lighthouses of Cape Cod}} |
| + | | alt = {{#if:{{{alt|}}}|{{{alt|}}}|The lighthouses of Cape Cod}} | ||
| + | | border = {{#if:{{{border|}}}|{{{border|}}}|}} | ||
| + | | float = {{#if:{{{float|}}}|{{{float|}}}|right}} | ||
| places = | | places = | ||
{{Location map~ | Cape Cod | {{Location map~ | Cape Cod | ||
Revision as of 01:31, 8 May 2013
Usage
{{Cape Cod lighthouses |width=xxx|float=float|caption=caption|alt=alt_text|border=border_color}}
where (all parameters are optional):
|width=– desired width, in pixels, ranging from 300 (minimum) and up (default is 325). Note: do not include "px", "em" or other unit indicators.|float=– either right (default), left, or center.|caption=– (default is "The lighthouses of Cape Cod")|alt=– (default is "The lighthouses of Cape Cod")|border=– desired color for the 1px border (default is lightgrey). Can be an RGB value (e.g.: #C7101E) or any named web color. This option is rarely used.
See also
| The above documentation is transcluded from Template:Cape Cod lighthouses/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |