Template:Device: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> {{#template_params: name (label=Device Name) |type (label=Type) |manufacturer (label=Manufacturer) |model (label=Model) |hardware_version (label=Hardware Version)...") |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
name (label=Device Name) | name (label=Device Name) | ||
|type (label=Type) | |type (label=Type) | ||
}} | }} | ||
{{#cargo_declare:_table=devices | {{#cargo_declare:_table=devices | ||
|name=String | |name=String | ||
|type=String (allowed values=Gateway | |type=String (allowed values=AP, Gateway, Switch) | ||
}} | }} | ||
Line 36: | Line 14: | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|type={{{type|}}} | |type={{{type|}}} | ||
}} | |||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
|AP= | |||
{{{ap_lan_ports|}}} | |||
|Gateway= | |Gateway= | ||
{{{gtwy_lan_ports|}}} | |||
{{{ | |||
|Switch= | |Switch= | ||
{{{sw_lan_ports|}}} | |||
{{{ | |||
| }} | | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 19:43, July 22, 2021
This is the "Device" template.
It should be called in the following format:
{{Device |name= |type= }}
Edit the page to see the template text.
This template defines the table "devices". This table has not been created yet.