Content deleted Content added
Timtempleton (talk | contribs) added basic template documentation |
DefaultFree (talk | contribs) clarify wikidata prop sourcing requirement |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 2:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
If a page has a corresponding Wikidata item with at least one [[Module:WikidataIB#Sourcing|sourced]] {{prop|P3797}}, and an infobox that supports [[WP:IEmbed]] using {{para|module}}, simply add the following to the existing infobox:
<syntaxhighlight lang="wikitext" style="overflow: hidden; background: unset;">
| module = {{Infobox network service provider|child=yes}}
</syntaxhighlight>
To manually specify ASNs, or to provide other optional parameters, the full template is:
<syntaxhighlight lang="wikitext" style="overflow: hidden; background: unset;">
{{Infobox network service provider
| asn =
| asn_suffix =
| asn2 =
| asn2_suffix =
| asn3 =
| asn3_suffix =
| peeringpolicy =
| trafficlevels =
| qid =
}}
</syntaxhighlight>
==Parameters==
{{Uses Wikidata|P3797}}
; asn, asn2, asn3 : Each ISP must have at least one officially registered autonomous system number (ASN), used for routing purposes. If no ASN is specified, but a [[Module:WikidataIB#Sourcing|sourced]] Wikidata {{prop|P3797}} exists for the current article, it is used instead.
; asn_suffix, asn2_suffix, asn3_suffix : If an ISP has multiple ASNs, suffixes to designate each one.
; peeringpolicy : This describes an ISP's policy for sharing traffic with other networks. Options are either '''open''', '''selective''' or '''restrictive'''.▼
; trafficlevels : The speed of the provider's network traffic.▼
▲:This describes an ISP's policy for sharing traffic with other networks. Options are either '''open''', '''selective''' or '''restrictive'''.
; qid : QID of Wikidata item to pull ASN from. If not provided, defaults to the current page, and is primarily intended to be used in [[Template:Infobox network service provider/testcases|testcases]].
▲The speed of the provider's network traffic.
==Tracking categories==
The following categories track invocations of this infobox:
* {{clc|Infobox network service provider ASN same as Wikidata}}
* {{clc|Infobox network service provider ASN different from Wikidata}}
* {{clc|Infobox network service provider ASN not in Wikidata}}
* {{clc|Infobox network service provider ASN using Wikidata}}
* {{clc|Infobox network service provider ASN missing and not in Wikidata}}
==See also==
* {{tl|autnum}}
* {{tl|Infobox Internet exchange point}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Computer networking templates]]
[[Category:Embeddable templates]]
[[Category:Infobox templates using Wikidata|network service provider]]
}}</includeonly>
|