Template:Protocol

From Serious Documentation
Revision as of 04:38, 21 September 2014 by Admin (talk | contribs) (Created page with "<noinclude> == Usage == This template should be used whenever you reference a protocol type name, like "Modbus" or "Bridge". It puts a link to Protocol:(name) but gives us th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

This template should be used whenever you reference a protocol type name, like "Modbus" or "Bridge". It puts a link to Protocol:(name) but gives us the future option of styling these differently and consistently.

You can just use the name of the node, like this:

{{Protocol|Modbus}}

and it will output

[[Protocol:Modbus|Modbus]]

which looks like this, and will be a link to Protocol:Modbus

Modbus protocol

Or you can also specify substitute label text like this:

{{Protocol|Modbus|my label}}

and it will output

[[Protocol:Modbus|my label]]

which looks like this, and will be a link to Protocol:Modbus

my label

Ignore this stuff below... that's the code for the template

Must specify a protocol type (e.g. Modbus)[[Protocol:{{{1}}}|{{{1}}}]]