(add field for NetBox ID) |
m (improved doc) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 19: | Line 19: | ||
|mac= | |mac= | ||
|static_ip= | |static_ip= | ||
|netbox_id= #for devices only | |||
|netbox_url= #full url | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 55: | Line 57: | ||
-->{{ifnotempty|{{{mac|}}} |{{infobox row |name=MAC address |value=[[Has MAC address::{{{mac|}}}]] }}}}<!-- | -->{{ifnotempty|{{{mac|}}} |{{infobox row |name=MAC address |value=[[Has MAC address::{{{mac|}}}]] }}}}<!-- | ||
-->{{ifnotempty|{{{static_ip|}}} |{{infobox row |name=Static IP |value=[[Has IP address::{{{static_ip|}}}]] }}}}<!-- | -->{{ifnotempty|{{{static_ip|}}} |{{infobox row |name=Static IP |value=[[Has IP address::{{{static_ip|}}}]] }}}}<!-- | ||
-->{{ifnotempty|{{{netbox_id|}}} |{{infobox row |name=NetBox ID |value=[https://netbox.chaosdorf.space/dcim/devices/{{{netbox_id}}}/] }}}}<!-- | -->{{ifnotempty|{{{netbox_id|}}} |{{infobox row |name=NetBox ID |value=[https://netbox.chaosdorf.space/dcim/devices/{{{netbox_id}}}/ {{{netbox_id}}}] }}}}<!-- | ||
-->{{ifnotempty|{{{netbox_url|}}} |{{infobox row |name=NetBox URL |value=[{{{netbox_url}}}] }}}}<!-- | |||
Latest revision as of 11:14, 30 March 2025
This is the 'Host' template. It should be called in the following format:
{{Host
|name=
|location=
|purpose=
|os=
|disk=
|ram=
|swap=
|admin_toolkit=Yes/No
|ssh_root_keys=
|ssh_pam=
|ssh_userlogin=
|admins=
|ownership=
|mac=
|static_ip=
|netbox_id= #for devices only
|netbox_url= #full url
}}
Edit the page to see the template text.