Jump to content

Template talk:Internet protocol suite

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:IP stack)

Adding named options to temporarily add an unmentioned protocol

[edit]

I would like to add named options to this template, to temporarily add a protocol to one of the layers.

As it is impossible to list all protcols under their appropriate layer, we restrict this template to list only the best known protocols. On a page describing a somewhat less known protocol, like TRILL for example, the Internet protocol suite is displayed, but it is not directly apparent to which layer the protocol at hand belongs to. By adding a statement like {{#if:{{{link|}}}|* {{{link|}}}}} as first "protocol" under the entry for the link layer, we introduce the option to display a protocol in front of all others. We do the same for 'internet', 'transport', and 'application' layer.

Typical use would be the following. On a page about a protocol already on the template, nothing changes. The same goes for any other page that invokes this template. But on a page describing an Internet protocol that is not displayed (e.g. TRILL (computing)), you invoke the template like this: {{Internet protocol suite|link=[[TRILL (computing)|TRILL]]}}, which produces the suite of protocols as before, but now with TRILL in front of the well known Link layer protocols. It displays in bold, since it is injected as a wikilink and it is displayed on its own page. Now it becomes very easy to spot to which layer this particular protocol belongs.

This addition may help keeping this template small and avoid further discussions about which protocols to list, as any protocol can be added on its own page. — DandoriD (talk) 12:40, 8 August 2024 (UTC)[reply]