Template:ADA University map/doc
Jump to navigation
Jump to search
| Error creating thumbnail: | This is a documentation subpage for Template:ADA University map. It may contain usage information, categories and other content that is not part of the original template page. |
Purpose
[edit source]This template displays a labeled map of ADA University, highlighting key locations within the campus. Each location is marked with a label, and some locations include links to relevant articles.
Usage
[edit source]This template allows users to display a labeled map of ADA University with specific locations marked. All parameters are optional.
Parameters
[edit source]| Parameter | Description | Default Value |
|---|---|---|
| width= | Defines the overall width of the map. The default width is optimized for readability. | 500 |
| caption= | A caption for the map. | Locations at ADA University |
| label= | The name of the specific building or location displayed on the map. | Required per location |
| lat_deg= | The latitude coordinate of the location. | Required per location |
| lon_deg= | The longitude coordinate of the location. | Required per location |
| label_size= | The size of the label text. | 60 |
| marksize= | The size of the map marker. | 10 |
| label_color= | The color of the label text. | white |
| position= | The position of the label relative to the marker (e.g., left, right). | Required per location |
Example
[edit source]To use this template, include the following code:
{{Location map+ | ADA University
| caption = Locations at ADA University
| width = 500
| places=
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building D'''}}</span>
| lat_deg = 40.3968887
| lon_deg = 49.8494572
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''University Library'''}}</span>
| link = ADA University Library
| lat_deg = 40.3941882
| lon_deg = 49.8491729
| label_size = 60
| marksize = 10
| label_color = white
| position = left
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''ADA School'''}}</span>
| lat_deg = 40.3978132
| lon_deg = 49.850052
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building A'''}}</span>
| lat_deg = 40.3943953
| lon_deg = 49.8486435
| label_size = 60
| marksize = 10
| label_color = white
| position = left
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''ADA Student Center'''}}</span>
| lat_deg = 40.3947548
| lon_deg = 49.8495769
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''ADA Gardens'''}}</span>
| lat_deg = 40.3945056
| lon_deg = 49.8511755
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building B'''}}</span>
| lat_deg = 40.3950652
| lon_deg = 49.8501148
| label_size = 60
| marksize = 10
| label_color = white
| position = left
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building C'''}}</span>
| lat_deg = 40.3945259
| lon_deg = 49.8495784
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building E'''}}</span>
| lat_deg = 40.3977394
| lon_deg = 49.8500577
| label_size = 60
| marksize = 10
| label_color = white
| position = left
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Building L'''}}</span>
| lat_deg = 40.3941311
| lon_deg = 49.8491319
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Italy-Azerbaijan University'''}}</span>
| link = Italy-Azerbaijan University
| lat_deg = 40.394264
| lon_deg = 49.852953
| label_size = 60
| marksize = 10
| label_color = white
| position = left
}}
{{Location map~ | ADA University
| label = <span style="background-color: white; font-size: 10px;">{{nowrap|'''Welcome Center'''}}</span>
| lat_deg = 40.3961436
| lon_deg = 49.8498344
| label_size = 60
| marksize = 10
| label_color = white
| position = right
}}
See also
[edit source]Notes
[edit source]- The template is designed to be flexible and can accommodate additional locations.
- If a location link is provided, the label will be clickable.
- Ensure the latitude and longitude coordinates are accurate to display the locations correctly.