Template:Infobox pcbuild: Difference between revisions

From XionKB
Jump to navigationJump to search
(Initial revision :))
m (add hostname parameter)
Line 3: Line 3:
{| class="wikitable" align="right" width="{{{width|315px}}}"
{| class="wikitable" align="right" width="{{{width|315px}}}"
|-
|-
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span>
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{hostname|}}}|<span></span>
{{!}}-
{{!}} colspan="12" width="100%" style="text-align:center;font-weight:bold" {{!}} <tt>{{{hostname}}}</tt>
|}}{{#if:{{{image|}}} |<span></span>
{{!}}-
{{!}}-
{{!}} colspan="12" width="100%" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span>
{{!}} colspan="12" width="100%" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span>
Line 54: Line 57:
===Parameters===
===Parameters===
* <code>name</code> – Name of the build.
* <code>name</code> – Name of the build.
* <code>hostname</code> <sup>(optional)</sup> – Hostname of the computer.
* <code>image</code> <sup>(optional)</sup> – File name of a photo of the build. Can be a stock photo.
* <code>image</code> <sup>(optional)</sup> – File name of a photo of the build. Can be a stock photo.
* <code>image_size</code> <sup>(optional)</sup> – Alternate size for the image thumbnail render (default is <tt>300px</tt>).
* <code>image_size</code> <sup>(optional)</sup> – Alternate size for the image thumbnail render (default is <tt>300px</tt>).

Revision as of 12:28, 8 January 2024

Parameters

{{{name}}}
CPU {{{cpu}}}
RAM {{{ram}}}
Boot disk {{{bootstorage}}}
GPU integrated
OS {{{os}}}

Usage

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".

Parameters

  • name – Name of the build.
  • hostname (optional) – Hostname of the computer.
  • image (optional) – File name of a photo of the build. Can be a stock photo.
  • image_size (optional) – Alternate size for the image thumbnail render (default is 300px).
  • caption (optional) – Caption for the image. Only shown if image is also given.
  • cpu – What processor is in use. Can be multiple.
  • litho (optional) – The CPU's lithography, usually measured in nanometres or micrometres.
  • corecount (optional) – The CPU's core count.
  • ram – How much system memory is installed. Can also include the type (e.g. DDR2).
  • bootstorage – Boot storage drive type and size.
  • morestorage (optional) – Additional storage drive quantity, types, and configuration.
  • gpu (optional) – dGPU in use. Omit if integrated graphics are in use.
  • os – Operating system in use. Can be multiple.
  • date (optional) – Date build was completed. Omit if it is a work-in-progress still.
  • cost (optional) – Estimated cost at time of completion.