Template:Computer
From syn2cat - HackerSpace.lu
(Difference between revisions)
m |
|||
| 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 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 33: | Line 35: | ||
<pre> | <pre> | ||
{{Computer | {{Computer | ||
| − | | | + | | hostname= <host name> |
| + | | ehostname= <external host url> | ||
| type= <server/computer> | | type= <server/computer> | ||
| ip= <ip address> | | ip= <ip address> | ||
Revision as of 00:54, 6 April 2010
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>
| services = <comma separated list of notable running services>
| admin = <admin wiki user>
| museum = <whether belonging to the museum (yes/no)>
}}