Difference between revisions of "Template:VM"

From CSLabsWiki
m (Changed my mind)
(Redesign of template)
Line 1: Line 1:
  +
{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
'''Hostname:''' {{{hostname}}}
 
  +
|-
  +
| colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;" | {{{title|{{{name|{{PAGENAME}}}}}}}}
  +
|-
  +
{{#if: {{{screenshot|}}}{{{caption|}}}|
  +
{{!}} colspan="2" style="text-align: center;" {{!}} {{{screenshot}}}<br />{{{caption}}}}}
  +
|- valign="top"
  +
{{#if: {{{maintainer|}}}|
  +
{{!}} '''Maintainer:'''
  +
{{!}} {{{maintainer}}}}}
  +
|- valign="top"
  +
{{#if: {{{hostname|}}}|
  +
{{!}} '''Hostname:'''
  +
{{!}} {{{hostname}}}}}
  +
|- valign="top"
  +
{{#if: {{{operating system|{{{operating_system|}}}}}}|
  +
{{!}} '''Operating system:'''
  +
{{!}} {{{operating system|{{{operating_system}}}}}}}}
  +
|- valign="top"
  +
{{#if: {{{status|}}}|
  +
{{!}} '''Status:''' on {{{dom0}}}
  +
{{!}} {{{status}}}}}
  +
|}<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 =
  +
| status =
  +
| dom0 =
  +
}}
  +
</pre>
  +
</noinclude><includeonly>[[Category:VMs]]</includeonly>

Revision as of 13:51, 15 November 2007

VM

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 = 
| status = 
| dom0 =
}}