Template:Device: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{#cargo_declare:_table=devices
{{#cargo_declare:_table=devices
|name=String
|name=String
|type=String (allowed values=Gateway, Router, Switch, AP, Workstation, Laptop, PLC, printer)
|type=String (allowed values=AP, Gateway, Switch)
}}
}}


Line 14: Line 14:
|name={{{name|}}}
|name={{{name|}}}
|type={{{type|}}}
|type={{{type|}}}
}} {{#css:Template:Device CSS}} __NOEDITSECTION__
}}
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
|AP=
{{{ap_lan_ports|}}}
|Gateway=
|Gateway=
</br>
{{{gtwy_lan_ports|}}}
{{{wan_ports|}}}
{{{lan_switches|}}}
{{{lan_ports|}}}
{{{wireless_aps|}}}
{{{guest_network|}}}
<div id="section-header">Documents</div>
<div id="doc-gallery">
{{{documents|}}}
</div>
|AP=
</br>
{{{lan_switches|}}}
{{{lan_ports|}}}
{{{wireless_aps|}}}
{{{guest_network|}}}
<div id="section-header">Documents</div>
<div id="doc-gallery">
{{{documents|}}}
</div>
|Switch=
|Switch=
</br>
{{{sw_lan_ports|}}}
{{{lan_switches|}}}
{{{lan_ports|}}}
<div id="section-header">Documents</div>
<div id="doc-gallery">
{{{documents|}}}
</div>
| }}
| }}
[[Category:Devices]]
</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.