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...") |
m (fix border radii) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | {| width="{{{width|315px}}}" class="roundy" style="float:right;border:2px solid rgba(88,88,88,0.6);border-bottom:none;background-color:rgba(88,88,88,0.05)" | ||
|- | |||
: | ! colspan="12" width="100%" style="background-color:rgba(88,88,88,0.3);border-radius:2px 2px 0 0" | <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%" style="text-align:center" {{!}} {{{caption}}} | |||
: | |}}|}} | ||
; < | |||
: | |||
; <tt> | |||
: | |||
: | |||
|- | |- | ||
! colspan=" | ! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | 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;background-color:rgba(88,88,88,0.075)" {{!}} Lithography | ||
{{!}} colspan="8" width="66.66%" valign="top" {{!}} {{{litho}}} | |||
|}}{{#if:{{{corecount|}}}|<span></span> | |||
{{!}}- | |||
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic;background-color:rgba(88,88,88,0.075)" {{!}} Core count | |||
{{!}} colspan="8" width="66.67%" valign="top" {{!}} {{{corecount}}} | |||
|}}{{#if:{{{cpufeatures|}}}|<span></span> | |||
{{!}}- | |||
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic;background-color:rgba(88,88,88,0.075)" {{!}} Features | |||
{{!}} colspan="8" width="66.67%" valign="top" {{!}} {{{cpufeatures}}} | |||
|}} | |}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | RAM | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{ram}}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | Boot disk | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{bootstorage}}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | GPU | |||
| colspan=" | | colspan="9" width="75%" valign="top" | {{{gpu|<em>integrated</em>}}} | ||
{{#if:{{{morestorage|}}}| | {{#if:{{{morestorage|}}}|<span></span> | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=" | ! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" {{!}} Storage | ||
{{!}} colspan=" | {{!}} colspan="9" width="75%" valign="top" {{!}} {{{morestorage}}} | ||
|}}{{#if:{{{date|}}}|<span></span> | |||
{{!}}- | |||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" {{!}} Completed | |||
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{date}}} | |||
|}}{{#if:{{{cost|}}}|<span></span> | |||
{{!}}- | |||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" {{!}} Cost | |||
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{cost}}} | |||
|}} | |}} | ||
|- | |- | ||
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15);border-radius:0 0 0 7px" | OS | |||
| colspan="9" width="75%" valign="top" | {{{os}}} | |||
| colspan=" | |||
|} | |} | ||
</ | {{#if:{{{noclearfloat|}}}||<div style="clear:both"></div><!-- the cucks at WHATWG should be fucking executed for this -->}} | ||
<noinclude> | |||
==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>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_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>cpufeatures</code> <sup>(optional)</sup> – Notable features of the CPU. | |||
* <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. | |||
* <code>noclearfloat</code> <sup>(optional)</sup> – if non-empty, the table will not automatically clear its float immediately afterward. Useful if you want text to float around it without messing up later sections. | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]]</noinclude><includeonly>[[Category:Articles with infoboxes]]</includeonly> |
Latest revision as of 05:44, 14 April 2024
{{{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 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.cpufeatures
(optional) – Notable features of the CPU.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.noclearfloat
(optional) – if non-empty, the table will not automatically clear its float immediately afterward. Useful if you want text to float around it without messing up later sections.