Template:Computer
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
! colspan="2" <!-- This is the header | ! colspan="2" <!-- This is the header | ||
--> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!-- | --> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!-- | ||
− | --> | [[Image:Computer.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{ | + | --> | [[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#IP|IP]]''': || [[Has IP::{{{ip}}}]] | + | | 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#Type|Type]]''': || [[Is Type::{{{type}}}]] | | style="padding: 0 7px;" | '''[[Template:Computer#Type|Type]]''': || [[Is Type::{{{type}}}]] | ||
Line 17: | Line 19: | ||
| 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#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]]''': || [[Has 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# | + | | 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 33: | Line 42: | ||
<pre> | <pre> | ||
{{Computer | {{Computer | ||
− | | | + | | hostname= <host name> |
+ | | ehostname= <external host url> | ||
| type= <server/computer> | | type= <server/computer> | ||
| ip= <ip address> | | ip= <ip address> | ||
Line 39: | 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)> }}