Template:Infobox pcbuild: Difference between revisions

From XionKB
Jump to navigationJump to search
(Created page with "==Parameters== ; <tt>title</tt> : Name of the build. ; <tt>photo</tt> <sub>optional</sub> : File name of a photo of the build. Can be a stock photo. ; <tt>cpu</tt> : What processor is in use. Can be multiple. ; <tt>ram</tt> : How much system memory is installed. Can also include the type (e.g. DDR2). ; <tt>bootstorage</tt> : Boot storage drive type and size. ; <tt>morestorage</tt> <sub>optional</sub> : Additional storage drive quantity, types, and configuration. ; <tt>gp...")
 
(Initial revision :))
Line 1: Line 1:
==Parameters==
==Parameters==
; <tt>title</tt>
<!-- <noinclude><div style="display:none"></noinclude> -->
: Name of the build.
{| class="wikitable" align="right" width="{{{width|315px}}}"
; <tt>photo</tt> <sub>optional</sub>
|-
: File name of a photo of the build. Can be a stock photo.
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span>
; <tt>cpu</tt>
{{!}}-
: What processor is in use. Can be multiple.
{{!}} colspan="12" width="100%" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span>
; <tt>ram</tt>
{{!}}-
: How much system memory is installed. Can also include the type (e.g. DDR2).
{{!}} colspan="12" width="100%" style="text-align:center" {{!}} {{{caption}}}
; <tt>bootstorage</tt>
|}}|}}
: Boot storage drive type and size.
; <tt>morestorage</tt> <sub>optional</sub>
: Additional storage drive quantity, types, and configuration.
; <tt>gpu</tt> <sub>optional</sub>
: dGPU in use. Omit if integrated graphics are in use.
; <tt>os</tt>
: Operating system in use. Can be multiple.
; <tt>date</tt> <sub>optional</sub>
: Date build was completed. Omit if it is a work-in-progress still.
; <tt>cost</tt> <sub>optional</sub>
: Estimated cost at time of completion.
 
<includeonly><div align="right">
{| class="wikitable" width="300px"
|-
|-
! colspan="6" width="100%" style="font-size:125%" | {{{title}}}
! colspan="3" width="25%" valign="top" style="text-align:left" | CPU
{{#if:{{{photo|}}}|
| colspan="9" width="75%" valign="top" | {{{cpu}}}
{{#if:{{{litho|}}}|<span></span>
{{!}}-
{{!}}-
{{!}} colspan="6" width="100%" style="text-align:center" {{!}} [[File:{{{photo}}}{{!}}290px]]
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic" {{!}} Lithography
{{!}} colspan="8" width="66.66%" valign="top" {{!}} {{{litho}}}
|}}{{#if:{{{corecount|}}}|<span></span>
{{!}}-
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic" {{!}} Core count
{{!}} colspan="8" width="66.67%" valign="top" {{!}} {{{corecount}}}
|}}
|}}
|-
|-
| colspan="2" width="33.34%" style="font-weight:bold" | CPU
! colspan="3" width="25%" valign="top" style="text-align:left" | RAM
| colspan="4" width="66.66%" | {{{cpu}}}
| colspan="9" width="75%" valign="top" | {{{ram}}}
|-
| colspan="2" width="33.34%" style="font-weight:bold" | RAM
| colspan="4" width="66.66%" | {{{ram}}}
|-
|-
| colspan="2" width="33.34%" style="font-weight:bold" | Boot storage
! colspan="3" width="25%" valign="top" style="text-align:left" | Boot disk
| colspan="4" width="66.66%" | {{{bootstorage}}}
| colspan="9" width="75%" valign="top" | {{{bootstorage}}}
{{#if:{{{morestorage|}}}|
{{#if:{{{morestorage|}}}|<span></span>
{{!}}-
{{!}}-
{{!}} colspan="2" width="33.34%" style="font-weight:bold" {{!}} More storage
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Storage
{{!}} colspan="4" width="66.66%" {{!}} {{{morestorage}}}
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{morestorage}}}
|}}
|}}
|-
|-
| colspan="2" width="33.34%" style="font-weight:bold" | GPU
! colspan="3" width="25%" valign="top" style="text-align:left" | GPU
| colspan="4" width="66.66%" | {{{gpu|<em>integrated</em>}}}
| colspan="9" width="75%" valign="top" | {{{gpu|<em>integrated</em>}}}
|-
|-
| colspan="2" width="33.34%" style="font-weight:bold" | OS
! colspan="3" width="25%" valign="top" style="text-align:left" | OS
| colspan="4" width="66.66%" | {{{os}}}
| colspan="9" width="75%" valign="top" | {{{os}}}
|-
{{#if:{{{date|}}}|<span></span>
| colspan="2" width="33.34%" style="font-weight:bold" | Build date
{{!}}-
| colspan="4" width="66.66%" | {{{date|<em>WIP</em>}}}
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Completed
|-
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{date}}}
| colspan="2" width="33.34%" style="font-weight:bold" | Est. cost
|}}{{#if:{{{cost|}}}|<span></span>
| colspan="4" width="66.66%" | {{{cost|<em>N/A</em>}}}
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Cost
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{cost}}}
|}}
|}
|}
</includeonly>
<noinclude></div>
==Usage==
'''Note:''' When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".
 
===Parameters===
* <code>name</code> – Name of the build.
* <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>caption</code> <sup>(optional)</sup> – Caption for the image. Only shown if <code>image</code> is also given.
* <code>cpu</code> – What processor is in use. Can be multiple.
* <code>litho</code> <sup>(optional)</sup> – The CPU's lithography, usually measured in nanometres or micrometres.
* <code>corecount</code> <sup>(optional)</sup> – The CPU's core count.
* <code>ram</code> – How much system memory is installed. Can also include the type (e.g. DDR2).
* <code>bootstorage</code> – Boot storage drive type and size.
* <code>morestorage</code> <sup>(optional)</sup> – Additional storage drive quantity, types, and configuration.
* <code>gpu</code> <sup>(optional)</sup> – dGPU in use. Omit if integrated graphics are in use.
* <code>os</code> – Operating system in use. Can be multiple.
* <code>date</code> <sup>(optional)</sup> – Date build was completed. Omit if it is a work-in-progress still.
* <code>cost</code> <sup>(optional)</sup> – Estimated cost at time of completion.


[[Category:Infobox templates]]
[[Category:Infobox templates]]</noinclude><includeonly>[[Category:Articles with infoboxes]]</includeonly>

Revision as of 12:23, 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.
  • 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.