Difference between revisions of "Template:VM"

From CSLabsWiki
m (Fixed operating_system bug)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
 
<includeonly>{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
|-
 
| colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{title|{{{name|{{PAGENAME}}}}}}}}
 
 
|-
 
|-
 
{{#if: {{{screenshot|}}}{{{caption|}}}|
 
{{#if: {{{screenshot|}}}{{{caption|}}}|
 
{{!}} colspan="2" style="text-align: center;" {{!}} {{{screenshot}}}<br />{{{caption}}}}}
 
{{!}} colspan="2" style="text-align: center;" {{!}} {{{screenshot}}}<br />{{{caption}}}}}
|- valign="top"
 
{{#if: {{{maintainer|}}}|
 
{{!}} '''Maintainer:'''
 
{{!}} {{{maintainer}}}}}
 
 
|- valign="top"
 
|- valign="top"
 
{{#if: {{{hostname|}}}|
 
{{#if: {{{hostname|}}}|
Line 14: Line 8:
 
{{!}} {{{hostname}}}}}
 
{{!}} {{{hostname}}}}}
 
|- valign="top"
 
|- valign="top"
{{#if: {{{operating_system|}}}|
+
{{#if: {{{operating system|{{{operating_system|}}}}}}|
 
{{!}} '''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"
 
|- valign="top"
 
{{#if: {{{status|}}}|
 
{{#if: {{{status|}}}|
 
{{!}} '''Status:'''
 
{{!}} '''Status:'''
 
{{!}} {{{status}}}}}
 
{{!}} {{{status}}}}}
|- valign="top"
 
{{#if: {{{dom0|}}}|
 
{{!}} '''Domain 0:'''
 
{{!}} {{{dom0}}}}}
 
 
|}
 
|}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 38: Line 36:
 
| hostname =
 
| hostname =
 
| operating_system =
 
| operating_system =
  +
| ldap =
  +
| development_status =
 
| status =
 
| status =
| dom0 =
+
| vm_host =
 
}}
 
}}
 
</pre>
 
</pre>

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