m (MAC address optional) |
(infobox template) |
||
Line 21: | Line 21: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{| | {{infobox start | ||
|headercolor=#ccccff | |||
|name=[[Hostname::{{{name}}}]] | |||
| | }}<!-- | ||
| [[Has location::{{{location|}}}]] | |||
-->{{infobox row |name=Ort |value=[[Has location::{{{location|}}}]] }}<!-- | |||
| Zweck | -->{{infobox row |name=Zweck |value=[[Has purpose::{{{purpose|}}}]]] }}<!-- | ||
| [[Has purpose::{{{purpose|}}}]] | |||
-->{{infobox row |name=OS |value=[[Operating System::{{{os|}}}]]] }}<!-- | |||
| OS | -->{{infobox row |name=Disks |value={{{disk|}}} }}<!-- | ||
| [[Operating System::{{{os|}}}]] | -->{{infobox row |name=RAM |value={{{ram|}}} }}<!-- | ||
-->{{ifnotempty|{{{swap|}}} |{{infobox row |name=Swap |value={{{swap|}}} }}}}<!-- | |||
| Disks | |||
| {{{disk|}}} | -->{{infobox row |name=ssh key path |value={{{ssh_root_keys|}}} }}<!-- | ||
-->{{ifnotempty|{{{ssh_pam|}}} |{{infobox row |name=PAM? |value={{{ssh_pam|}}} }}}}<!-- | |||
| RAM | -->{{ifnotempty|{{{ssh_userlogin|}}} |{{infobox row |name=SSH user login? |value={{{ssh_userlogin}}} }}}}<!-- | ||
| {{{ram|}}} | |||
-->{{ifnotempty|{{{ownership|}}} |{{infobox row |name=Besitzstatus |value=[[Has ownership::{{{ownership|}}}| ]] | |||
{{ | |||
| ssh key path | |||
| {{{ssh_root_keys|}}} | |||
{{ | |||
{{ | |||
{{ | |||
{{#switch: {{{ownership|}}} | {{#switch: {{{ownership|}}} | ||
| private = | | private = <span style="color: red">privat</span> | ||
| lent = | | lent = <span style="color: orange">Leihgabe</span> | ||
| club = | | club = <span style="color: green">Club-Eigentum</span> | ||
}} | }}<!-- | ||
-->{{ | |||
| Admins | -->{{infobox row |name=Admins |value={{#if:{{{admins|}}}|[[Has admins::{{{admins|}}}]]|'''FIXME'''}} }}<!-- | ||
| {{#if:{{{admins|}}}|[[Has admins::{{{admins|}}}]]|'''FIXME'''}} | -->{{ifnotempty|{{{mac|}}} |{{infobox row |name=MAC address |value=[[Has MAC address::{{{mac|}}}]] }}}}<!-- | ||
{{ | --> | ||
|} | |} | ||
[[Category:Administration]] | [[Category:Administration]] | ||
[[Category:Host]] | [[Category:Host]] | ||
</includeonly> | </includeonly> |
Revision as of 20:44, 22 August 2012
This is the 'Host' template. It should be called in the following format:
{{Host |name= |location= |purpose= |os= |disk= |ram= |swap= |ssh_root_keys= |ssh_pam= |ssh_userlogin= |admins= |ownership= |mac= }}
Edit the page to see the template text.