Template:Telecommunications: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 40: Line 40:
__NOEDITSECTION__
__NOEDITSECTION__
{{#default_form:Telecommunications}}
{{#default_form:Telecommunications}}
'''Description: ''' [[Has description::{{{Has description|}}}]]
'''Description: ''' [[Has description::{{{Has description|}}}]]</br>
 
'''Services: ''' {{#arraymap:{{{Has services|}}}|,|x|[[Has service::x]]}}</br>
'''Services: ''' {{#arraymap:{{{Has services|}}}|,|x|[[Has service::x]]}}
{{#if: {{{Has provider|}}} | '''Provider: ''' [[Has provider::{{{Has provider|}}}]] </br>| }}'''Address:''' [[Has address::{{{Has address|}}}]]{{#if: {{{Has note|}}} |</br>'''Notes: ''' [[Has note::{{{Has note|}}}]] |}}{{#set: Has character={{{Has character|}}} }}
 
{{#if: {{{Has provider|}}} | '''Provider: ''' [[Has provider::{{{Has provider|}}}]] </br>| }}
 
'''Address:''' [[Has address::{{{Has address|}}}]]
 
{{#if: {{{Has note|}}} | '''Notes: ''' [[Has note::{{{Has note|}}}]] </br>|}}
 
{{#ifeq: {{{Has character|}}} | Closed | <div style="font-size: 400%; text-align: center;"> Closed </div> |
{{#if: {{{Coords|}}}  
{{#if: {{{Coords|}}}  
| {{#set: Has coordinates={{{Coords|}}} }}
| {{#set: Has coordinates={{{Coords|}}} }}
{{#display_map: {{{Coords|}}} |icon={{{Has character|}}}.svg}}
{{#display_map: {{{Coords|}}} |icon={{{Has character|}}}32.svg}}
| {{#set: Has coordinates={{#Geocode:{{{Has address|}}}}}}}
| {{#set: Has coordinates={{#Geocode:{{{Has address|}}} }} }}
{{#display_map: {{#Geocode:{{{Has address|}}}}} |icon={{{Has character|}}}32.svg}} }}
{{#display_map: {{#Geocode:{{{Has address|}}}}} |icon={{{Has character|}}}32.svg}}
}}
}}


{|
{|
|{{#if: {{{Phone|}}} | '''Phone: ''' [[Has phone::{{{Phone|}}}]]</br>|}}{{#if: {{{Fax|}}} | '''Fax: ''' [[Has fax::{{{Fax|}}}]]</br>|}}{{#if: {{{Email|}}} | '''email: ''' [[Has email::{{{Email|}}}]]</br>|}}{{#if: {{{URL|}}} | '''URL: ''' [[Has URL::{{{URL|}}}]]|}}
|style="width: 300px"|{{#if: {{{Phone|}}} | '''Phone: ''' [[Has phone::{{{Phone|}}}]]</br>|}}{{#if: {{{Fax|}}} | '''Fax: ''' [[Has fax::{{{Fax|}}}]]</br>|}}{{#if: {{{Email|}}} | '''email: ''' [[Has email::{{{Email|}}}]]</br>|}}{{#if: {{{URL|}}} | '''URL: ''' [[Has URL::{{{URL|}}}]]|}}
|{{#if: {{{Has bandwidth|}}} |  
|style="width: 300px"|{{#if: {{{Has bandwidth|}}} | '''Bandwidth: ''' [[Has bandwidth::{{{Has bandwidth|}}}]]</br>'''Latency: ''' [[Has latency::{{{Has latency|}}}]]| }}
 
'''Bandwidth: ''' [[Has bandwidth::{{{Has bandwidth|}}}]]
 
'''Latency: ''' [[Has latency::{{{Has latency|}}}]]
| }}
|}
|}


[[Category:Telecommunications]]
[[Category:Telecommunications]]
</includeonly>
</includeonly>

Latest revision as of 08:17, November 30, 2025

This template is used to display and annotate information about a **Telecommunications Facilities** in Semantic MediaWiki. It sets semantic properties for use in queries and provides a structured layout of facility details.

Parameters

  • Has description – Free text description of the facility.
  • Has services – Comma-separated list of services provided (e.g., `Service1, Service2`).
  • Has provider – The organization or entity providing the services.
  • Has address – Street address or location of the facility.
  • Has note – Additional notes.
  • Has character – Icon identifier used for map display (e.g., `hub`, `carrier`).
  • Coords – Explicit coordinates (`lat, long`). If omitted, coordinates will be geocoded from the address.
  • Phone – Facility phone number.
  • Fax – Facility fax number.
  • Email – Contact email.
  • URL – Website URL.
  • Has bandwidth – Boolean / yes-no indicating if the facility provides shelter.
  • Has latency – Comma-separated list of shelter types (e.g., `emergency, transitional`).

Usage

To use this template, include it on a telecommunications facility page with the desired parameters, for example:

{{Telecommunications
 | Has description = It is a major termination point for several high-capacity, subsea fiber optic cables that link the U.S. with the Asia-Pacific market, providing global access with low latency.
 | Has services = fiber optic carriers, Server Hotel, service providers
 | Has provider = fifteenfortyseven Critical Systems Realty (1547) and Harrison Street
 | Has address = 921 SW Washington St Portland, OR 97205
 | Has character = Hub
 | Phone = (732) 441-1547
 | Email = info@1547realty.com
 | URL = https://www.1547realty.com/
 | Has bandwidth = 400 Gbps
 | Has latency = 1 ms
}}

This will create a structured entry that can be queried with Semantic MediaWiki and displayed on maps.