Template:Computer
From syn2cat - HackerSpace.lu
(Difference between revisions)
| (12 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
--> | [[Image:Computer.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{hostname|}}}|[[Has Name::{{{hostname}}}]]|[[Has Name::{{PAGENAME}}]] }}</span> | --> | [[Image:Computer.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{hostname|}}}|[[Has Name::{{{hostname}}}]]|[[Has Name::{{PAGENAME}}]] }}</span> | ||
|- | |- | ||
| − | | style="padding: 0 7px;" | '''[[Template:Computer# | + | | style="padding: 0 7px;" | '''[[Template:Computer#ehostname|External Hostname]]''': || [[Has ExternalHostName::{{{ehostname|}}}]] |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Computer#IP|IP]]''': || [[Has IP::{{{ip|}}}]] | | style="padding: 0 7px;" | '''[[Template:Computer#IP|IP]]''': || [[Has IP::{{{ip|}}}]] | ||
| Line 20: | Line 20: | ||
|- | |- | ||
| 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#ComputerStatus|ComputerStatus]]''': || [[Has ComputerStatus::{{{computerstatus|}}}]] | ||
| + | |- | ||
| + | | style="padding: 0 7px;" | '''[[Template:Computer#Location|Location]]''': || [[Has Location::{{{location|}}}]] | ||
|- | |- | ||
| 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]]|, }} | ||
|- | |- | ||
| − | | style="padding: 0 7px;" | '''[[Template:Computer#Admin|Admin]]''': || | + | | style="padding: 0 7px;" | '''[[Template:Computer#Admin|Admin]]''': || {{#arraymap:{{{admin|}}}|,|x|[[Has Admin::User:x|x]] ([[Special:EmailUser/x|mail]]) | , }} |
|- | |- | ||
| style="padding: 0 7px;" | '''[[Template:Computer#Museum|Museum]]''': || [[Belongs To Museum::{{{museum|}}}]] | | style="padding: 0 7px;" | '''[[Template:Computer#Museum|Museum]]''': || [[Belongs To Museum::{{{museum|}}}]] | ||
| + | |- | ||
| + | | style="padding: 0 7px;" | '''[[Template:Computer#QrCode|QrCode]]''': || {{#qrcode:}} | ||
|} | |} | ||
{{#ifeq: {{{type|}}} | server | [[Category:Server]] | [[Category:Workstation]] }} | {{#ifeq: {{{type|}}} | server | [[Category:Server]] | [[Category:Workstation]] }} | ||
| + | [[Category:Computer]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 42: | Line 49: | ||
| model = <model name> | | model = <model name> | ||
| operatingsystem = <operating system> | | operatingsystem = <operating system> | ||
| + | | computerstatus = <current status of the system> | ||
| + | | location = <Localization of the system> | ||
| services = <comma separated list of notable running services> | | services = <comma separated list of notable running services> | ||
| admin = <admin wiki user> | | admin = <admin wiki user> | ||
Latest revision as of 15:04, 17 April 2015
[edit] Example
Copy and paste this code or simply use the Form:Computer to add a server or workstation.
{{Computer
| hostname= <host name>
| ehostname= <external host url>
| type= <server/computer>
| ip= <ip address>
| brand = <manufacturer>
| model = <model name>
| operatingsystem = <operating system>
| computerstatus = <current status of the system>
| location = <Localization of the system>
| services = <comma separated list of notable running services>
| admin = <admin wiki user>
| museum = <whether belonging to the museum (yes/no)>
}}