Template:Software page

来自Valve Developer Community
跳转至: 导航搜索
Note.png注意:This template is a work-in-progress, with development currently on hiatus.
It works well enough for widespread usage, however, and should be used on game pages when practical (given game or mod should have screenshots and a 460x215 "cover").
Warning.png警告:Due to recent events please do not edit this page without heavy testing as a lot of pages rely on it, if you have any problems contact a experienced user like User:NOUG4AT or User:Equalizer5118
Icon-Bug.png错误:Date is automatically filled out if only a year is provided, using current date. See here
Note.png注意:Additional potential non-essential features:
  • Option to scale background to page width, rather than manually setting pixel size (different users have different resolution viewports). May be difficult with current implementation, slight rework likely needed.
  • Parameters for specifying system requirements for each major operating system (e.g.: {{{winram}}}, {{{macram}}} and {{{linuxram}}} for specifying ram requirements for Windows, macOS and Linux)


Curly brackets white.png模板文档
Icon-translate.png
查看
编辑
页面历史
Icon-translate.png
本模板使用字符串子页面
请遵循该子页面上的格式添加翻译。
Info content.png
This translated page needs to be updated.

本翻译页面需要更新。

您可以通过 更新翻译 提供帮助。

另外,请确保文章在尽量遵守 多语言指导。

这个模板旨在使软件页面能使用一个标准化的通用接口。

翻译

模板所使用的字符串在字符串子页面上。请按照格式为它们添加翻译。

沙盒

这个模板只根据参数中提供给它的信息来搜索文件,也就是说,你可以在其他地方创建一个功能齐全的有条件的半衰期2页面的副本。

可使用模板沙盒来做实验。

图像

支持的格式:JPG,PNG。

Tip.png提示:.JPEG 与 .JPG 是同种格式,不需要害怕改变文件的扩展名!
Tip.png提示:建议使用 .JPG 格式,以便为那些网络连接较慢的用户提供更好的阅览体验。

支持的截图数量:20

建议截图的长宽比:16:9

封面推荐分辨率:460x215

示例:

  • Counter-Strike Source - Background.jpg (背景)
  • Counter-Strike Source - Trailer Preview.jpg (预告片预览)
  • Counter-Strike Source - Screenshot 1.jpg (游戏截图)
  • Counter-Strike Source - Screenshot 2.jpg (游戏截图)
  • SoftwareCover-Counter-Strike Source.jpg (封面)

媒体:

开发商与发行商

用于{{{developer}}}{{{publisher}}}。你也可以自己写一些东西,并对其应用一些特殊格式。

模式

Steam Deck 验证状态

类型

平台

{{{platform <2-5>}}}参数中使用它们。虽然您可以指定自己的平台,但仍建议您使用以下参数,否则自动分类可能无法工作。

请只填写所游戏发行的平台;不要为一个发行在如 Xbox 360 的游戏列出整个 Xbox 系列。(若一个游戏在同一系列的两个主机上发布,请分别列出。)

参数

  • {{{name}}} - 游戏的完整名称。是图像检测所必需的。
  • {{{desc}}} - 软件的描述。这是文章的主体,通常是放置{{MultiPage}}模板的地方。

可选

  • {{{DLC}}} {{{mod}}} - 当指定为“true”时,与参数名所对应的标签将出现在封面的左上角。
  • {{{shortname}}} - 一个短名,以防文件因系统限制而不能使用全名。
  • {{{appid}}} - Steam AppID。在一些链接中使用。
  • {{{docs}}} - 当指定为“false”时,会禁用该按钮。你也可以指定位于本维基内的任意一篇文章。
  • {{{workshop}}} - 当指定为“false”时,会禁用该按钮。若这是一个创意工坊 mod,你可以在这里指定其ID;若你想通过 AppID 使其指向该游戏的创意工坊,则留空。
  • {{{wiki}}} - 链接到当前软件的维基百科页面。
  • {{{background}}} - 当指定为“false”时,会禁用背景。默认情况下,模板会搜索“<项目> - Background.<格式>”,但你可以在这个参数中指定任意文件。
  • {{{background opacity}}} - 背景不透明度。
  • {{{deck}}} - Steam Deck 验证状态 。
  • {{{trailer}}} - 预告片的链接。
  • {{{trailer preview}}} - 【预告片预览】文件的格式 (PNG 或 JPG)
  • {{{screenshot <1-12> desc}}} - 屏幕截图描述。
  • {{{release}}} - 发布日期。“Soon”表示“即将发布”;“TBA”表示“即将宣布”
  • {{{mode}}}
  • {{{mode2}}}
  • {{{genre}}}
  • {{{genre2}}}
  • {{{platform <2-5>}}} - 该游戏发行的平台。
  • {{{engine}}} - 游戏引擎。可用的值:0 (金源 金源), 1 (起源 起源), 2 (起源2 起源2)。你也可以在此参数中编写自己的内容。
  • {{{branch}}} - 引擎分支。
  • {{{developer}}}
  • {{{developer <2-4>}}}
  • {{{publisher}}}
  • {{{publisher <2-4>}}}
  • {{{shortdesc}}} - 对该软件的简述。