Difference between revisions of "Template:VM"

From CSLabsWiki
m (Uppercase isn't a good idea)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
<includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
'''Hostname:''' {{{hostname}}}
 
  +
|-
  +
{{#if: {{{screenshot|}}}{{{caption|}}}|
  +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{screenshot}}}<br />{{{caption}}}}}
  +
|- valign="top"
  +
{{#if: {{{hostname|}}}|
  +
{{!}} '''Hostname:'''
  +
{{!}} {{{hostname}}}}}
  +
|- valign="top"
  +
{{#if: {{{operating system|{{{operating_system|}}}}}}|
  +
{{!}} '''Operating system:'''
  +
{{!}} {{{operating system|{{{operating_system}}}}}}}}
  +
|- valign="top"
  +
{{#if: {{{ldap|}}}|
  +
{{!}} '''LDAP Support:'''
  +
{{!}} {{{ldap}}}}}
  +
|- valign="top"
  +
{{#if: {{{development status|{{{development_status|}}}}}}|
  +
{{!}} '''Development Status:'''
  +
{{!}} {{{development status|{{{development_status}}}}}}}}
  +
|- valign="top"
  +
{{#if: {{{status|}}}|
  +
{{!}} '''Status:'''
  +
{{!}} {{{status}}}}}
  +
|}
  +
</includeonly><noinclude>
   
  +
== Usage ==
'''Maintainer:''' {{{maintainer}}}
 
  +
This template is to represent a generic VM (intended for production/project VMs, but should work for any)
 
  +
<pre>
'''Status:''' {{{status}}} on {{{dom0}}}
 
  +
{{VM
 
  +
| name =
{{{description}}}
 
  +
| screenshot =
 
  +
| caption =
<noinclude>This template is to represent a generic VM (intended for production/project VMs, but should work for any)</noinclude>
 
  +
| maintainer =
<includeonly>[[Category:VMs]]</includeonly>
 
  +
| hostname =
  +
| operating_system =
  +
| ldap =
  +
| development_status =
  +
| status =
  +
| vm_host =
  +
}}
  +
</pre>
  +
</noinclude><includeonly>[[Category:VMs]]</includeonly>
  +
<noinclude>
  +
{{VM
  +
| name = TEST
  +
| operating_system = TEST
  +
}}
  +
</noinclude>

Latest revision as of 13:17, 31 January 2014


Usage

This template is to represent a generic VM (intended for production/project VMs, but should work for any)

{{VM
| name = 
| screenshot = 
| caption = 
| maintainer = 
| hostname = 
| operating_system = 
| ldap = 
| development_status = 
| status = 
| vm_host =
}}


Operating system: TEST