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== | ||
<!-- <noinclude><div style="display:none"></noinclude> --> | |||
: | {| class="wikitable" align="right" width="{{{width|315px}}}" | ||
|- | |||
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{image|}}} |<span></span> | |||
{{!}}- | |||
{{!}} colspan="12" width="100%" {{!}} [[File:{{{image}}}|{{{image_size|300px}}}]]{{#if:{{{caption|}}} |<span></span> | |||
{{!}}- | |||
: | {{!}} colspan="12" width="100%" style="text-align:center" {{!}} {{{caption}}} | ||
|}}|}} | |||
: | |||
: | |||
|- | |- | ||
! colspan=" | ! colspan="3" width="25%" valign="top" style="text-align:left" | CPU | ||
{{#if:{{{ | | colspan="9" width="75%" valign="top" | {{{cpu}}} | ||
{{#if:{{{litho|}}}|<span></span> | |||
{{!}}- | {{!}}- | ||
{{!}} colspan=" | {{!}} 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="3" width="25%" valign="top" style="text-align:left" | RAM | |||
| colspan="9" width="75%" valign="top" | {{{ram}}} | |||
| colspan=" | |||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left" | Boot disk | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{bootstorage}}} | ||
{{#if:{{{morestorage|}}}| | {{#if:{{{morestorage|}}}|<span></span> | ||
{{!}}- | {{!}}- | ||
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Storage | |||
{{!}} colspan=" | {{!}} colspan="9" width="75%" valign="top" {{!}} {{{morestorage}}} | ||
|}} | |}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left" | GPU | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{gpu|<em>integrated</em>}}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left" | OS | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{os}}} | ||
|- | {{#if:{{{date|}}}|<span></span> | ||
{{!}}- | |||
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Completed | |||
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{date}}} | |||
|}}{{#if:{{{cost|}}}|<span></span> | |||
{{!}}- | |||
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Cost | |||
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{cost}}} | |||
|}} | |||
|} | |} | ||
</ | <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 ifimage
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.