แม่แบบ:VG Requirements/doc

จากวิกิพีเดีย สารานุกรมเสรี

This template is designed to simplify the addition of video game system requirements to articles about games released for personal computers; the current Template:Infobox VG has a space for requirements but this is usually not large enough to satisfy modern game requirements, or if a game spans multiple platforms. This template is not targeted for games on consoles since console hardware is generally normalized to start.

For those who can't remember how the name is abbreviated, the templates {{VG Requirements}} and {{VG SysReq}} are "synonyms" for each other.

Syntax[แก้]

{{VG Requirements
|caption      =
|useminandrec = {yes/no}
|collapse     =
<!--
          Mandatory section
-->
|platform1    = <!--Required -->
|os1          =
|os1rec       =
|cpu1         =
|cpu1rec      =
|memory1      =
|memory1rec   =
|gpu1         =
|gpu1rec      =
|sound1       =
|sound1rec    =
|network1     =
|network1rec  =
|hdspace1     =
|hdspace1rec  =
<!--
          Optional section
-->
|platform2    = <!--Required -->
|os2          =
|cpu2         =
|cpu2rec      =
|memory2      =
|memory2rec   =
|gpu2         =
|gpu2rec      =
|sound2       =
|sound2rec    =
|network2     =
|hdspace2     =
<!--
          More optional sections below
-->
}}

Generic Parameters[แก้]

useminandrec
Set to "yes" if you want to use both "Minimum" and "Recommended" columns for requirements. Any other value, or omitting this parameter, will only give a "Requirements" column.
caption
If not set, the title to the requirements table will be set as "System Requirements". Set this value to change this title.
collapse
If set, the table will start collapsed.

System specific parameters[แก้]

platformn (where n is a number from 1 to 9)
Identify the personal computing platform that requirements will be given form. The number will correspond with the numbers in the parameters below (eg "cpu1" corresponds with "platform1"). If this value is missing, then all parameters of the same number will be ignored.

The remaining parameters take the form of "fieldn" and "fieldnrec", where n corresponds to the platform number above. The first parameter is what will be used for that field, or as it's minimum if "useminandrec" is set to "yes". If no value exists for this field, there will be no entry in the row (all field parameters below are optional). The second parameter "fieldnrec" is used to specific the recommended requirements for this field; this value will only be shown if "useminandrec" is set to "yes". If this parameter is not specified and "useminandrec" is set to "yes", then the first parameter value will be used in its place (via column-spanning). For example, to describe the minimum CPU requirements for the 2nd platform that is specified, define a value for the parameter "cpu2"; the recommended CPU requirements would be "cpu2rec".

The field values are:

os Operating System
cpu CPU
memory Memory requirements
hdspace Hard Drive Space
media Media type (floppy, CD-Rom, DVD, etc.)
gpu Graphics Hardware (card or graphic driver support)
display Display (minimum resolution, VGA/EGA/etc.)
sound Sound Hardware
input Input Devices
network Network requirements (dial-up/DSL/Cable, minimum up/down speed, etc.)

Example[แก้]

The following example is based on the BioShock system requirements.

Code[แก้]

{{VG Requirements
|useminandrec=yes
|platform1=Windows
|os1=Windows XP with Service Pack 2 or Windows Vista
|cpu1=Pentium 4 2.5 GHz (single core)
|cpu1rec=Intel Core 2 Duo Or AMD Athlon 64 X2
|memory1=1 GB
|memory1rec=2 GB
|gpu1=DirectX 9.0c compliant card with 128 MB RAM (NVIDIA 6600/ATI X1300 or better, excluding ATI X1550), Must support Pixel Shader 3.0
|gpu1rec=DirectX 9.0c compliant card with 512 MB RAM (NVIDIA 7900GT or better) or DirectX 10 compliant card (NVIDIA 8600 or better)
|sound1=100% DirectX 9.0c compliant card
|sound1rec=Sound Blaster X-Fi (Optimized for EAX ADVANCED HD 4.0/5.0 compatible cards)
|network1=Internet connection required for activation
|hdspace1=8 GB of free space
}}

Product[แก้]

ความต้องการระบบ
ขั้นต่ำ แนะนำ


See also[แก้]