Template:Infobox pcbuild: Difference between revisions

From XionKB
Jump to navigationJump to search
m (use float)
m (fix border radii)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Parameters==
{| 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)"
<noinclude><div style="display:none"></noinclude>
{| class="wikitable" width="{{{width|315px}}}" style="float:right"
|-
|-
! colspan="12" width="100%" | <big>{{{name}}}</big>{{#if:{{{hostname|}}}|<span></span>
! 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>
{{!}} colspan="12" width="100%" style="text-align:center;font-weight:bold" {{!}} <tt>{{{hostname}}}</tt>
Line 13: Line 11:
|}}|}}
|}}|}}
|-
|-
! colspan="3" width="25%" valign="top" style="text-align:left" | CPU
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | CPU
| colspan="9" width="75%" valign="top" | {{{cpu}}}
| colspan="9" width="75%" valign="top" | {{{cpu}}}
{{#if:{{{litho|}}}|<span></span>
{{#if:{{{litho|}}}|<span></span>
{{!}}-
{{!}}-
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic" {{!}} Lithography
{{!}} 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}}}
{{!}} colspan="8" width="66.66%" valign="top" {{!}} {{{litho}}}
|}}{{#if:{{{corecount|}}}|<span></span>
|}}{{#if:{{{corecount|}}}|<span></span>
{{!}}-
{{!}}-
{{!}} colspan="4" width="33.34%" valign="top" style="font-style:italic" {{!}} Core count
{{!}} 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}}}
{{!}} 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" | RAM
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | RAM
| colspan="9" width="75%" valign="top" | {{{ram}}}
| colspan="9" width="75%" valign="top" | {{{ram}}}
|-
|-
! colspan="3" width="25%" valign="top" style="text-align:left" | Boot disk
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" | Boot disk
| colspan="9" width="75%" valign="top" | {{{bootstorage}}}
| 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="9" width="75%" valign="top" | {{{gpu|<em>integrated</em>}}}
{{#if:{{{morestorage|}}}|<span></span>
{{#if:{{{morestorage|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Storage
! colspan="3" width="25%" valign="top" style="text-align:left;background-color:rgba(88,88,88,0.15)" {{!}} Storage
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{morestorage}}}
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{morestorage}}}
|}}
|}}{{#if:{{{date|}}}|<span></span>
|-
! colspan="3" width="25%" valign="top" style="text-align:left" | GPU
| colspan="9" width="75%" valign="top" | {{{gpu|<em>integrated</em>}}}
|-
! colspan="3" width="25%" valign="top" style="text-align:left" | OS
| colspan="9" width="75%" valign="top" | {{{os}}}
{{#if:{{{date|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Completed
! 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}}}
{{!}} colspan="9" width="75%" valign="top" {{!}} {{{date}}}
|}}{{#if:{{{cost|}}}|<span></span>
|}}{{#if:{{{cost|}}}|<span></span>
{{!}}-
{{!}}-
! colspan="3" width="25%" valign="top" style="text-align:left" {{!}} Cost
! 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="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}}}
|}
|}
<noinclude></div>
{{#if:{{{noclearfloat|}}}||<div style="clear:both"></div><!-- the cucks at WHATWG should be fucking executed for this -->}}
<noinclude>
==Usage==
==Usage==
'''Note:''' When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".
'''Note:''' When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none".
Line 64: Line 66:
* <code>litho</code> <sup>(optional)</sup> – The CPU's lithography, usually measured in nanometres or micrometres.
* <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>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>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>bootstorage</code> – Boot storage drive type and size.
Line 71: Line 74:
* <code>date</code> <sup>(optional)</sup> – Date build was completed. Omit if it is a work-in-progress still.
* <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>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]]</noinclude><includeonly>[[Category:Articles with infoboxes]]</includeonly>
[[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 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.
  • 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.