Template:Computer

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 9: Line 9:
 
--> | [[Image:Computer.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{name|}}}|[[Has Name::{{{name}}}]]|[[Has Name::{{PAGENAME}}]] }}</span>
 
--> | [[Image:Computer.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{name|}}}|[[Has Name::{{{name}}}]]|[[Has Name::{{PAGENAME}}]] }}</span>
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:Computer#IP|IP]]''': || [[Has IP::{{{ip}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Computer#IP|IP]]''': || [[Has IP::{{{ip|}}}]]
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Type|Type]]''': || [[Is Type::{{{type}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Type|Type]]''': || [[Is Type::{{{type}}}]]
Line 17: Line 17:
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Model|Model]]''': || [[Is Model::{{{model}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Model|Model]]''': || [[Is Model::{{{model}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:Computer#OperatingSystem|OS]]''': || [[Has OS::{{{operatingsystem}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Computer#OperatingSystem|OS]]''': || [[Has OS::{{{operatingsystem|}}}]]
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Services|Services]]''': || {{#arraymap:{{{services|}}}|,|x|[[Has Service::x|x]]|, }}
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Services|Services]]''': || {{#arraymap:{{{services|}}}|,|x|[[Has Service::x|x]]|, }}
Line 23: Line 23:
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Admin|Admin]]''': || [[Has Admin::{{{admin}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:Computer#Admin|Admin]]''': || [[Has Admin::{{{admin}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:Computer#Museum|Museum]]''': || [[Belongs To Museum::{{{museum}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:Computer#Museum|Museum]]''': || [[Belongs To Museum::{{{museum|}}}]]
 
|}
 
|}
 
{{#ifeq: {{{type|}}} | server | [[Category:Server]] | [[Category:Workstation]] }}
 
{{#ifeq: {{{type|}}} | server | [[Category:Server]] | [[Category:Workstation]] }}

Revision as of 14:37, 25 December 2009


Example

Copy and paste this code or simply use the Form:Computer to add a server or workstation.

{{Computer
| name= <Computer name>
| type= <server/computer>
| ip= <ip address>
| brand = <manufacturer>
| model = <model name>
| operatingsystem = <operating system>
| services = <comma separated list of notable running services>
| admin = <admin wiki user>
| museum = <whether belonging to the museum (yes/no)>
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools