Difference between revisions of "Template:VM"

From CSLabsWiki
Jump to: navigation, search
m (Changed my mind)
(Redesign of template)
Line 1: Line 1:
'''Hostname:''' {{{hostname}}}
+
{| 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|}}}|
 +
{{!}} 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>
  
'''Maintainer:''' {{{maintainer}}}
+
== Usage ==
 
+
This template is to represent a generic VM (intended for production/project VMs, but should work for any)
'''Status:''' {{{status}}} on {{{dom0}}}
+
<pre>
 
+
{{VM
{{{description}}}
+
| name =
 
+
| screenshot =
<noinclude>This template is to represent a generic VM (intended for production/project VMs, but should work for any)</noinclude>
+
| caption =
<includeonly>[[Category:VMs]]</includeonly>
+
| maintainer =
 +
| 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 =
}}