Template:Since:zh-cn/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add Simplified Chinese translation)
m (documented the color change)
Line 1: Line 1:
{{Documentation subpage:zh-cn}}
{{Documentation subpage:zh-cn}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
展示键值、材质参数或其他功能的游戏可用性的注释模板。它旨在将多个游戏添加模板替换为一个不太难处理的模板。文字的颜色会根据使用的游戏而变化。
展示键值、材质参数或其他功能的游戏可用性的注释模板。它旨在将多个游戏添加模板替换为一个不太难处理的模板。
==用法==
==用法==
此模板有一个未命名的参数。该参数应该是 [[:Category:Game icons]] 中模板的嵌入。该参数可以使用多个游戏图标模板,但这将使用文本的默认颜色。
此模板有一个未命名的参数。该参数应该是 [[:Category:Game icons]] 中模板的嵌入。该参数可以使用多个游戏图标模板。


==示例==
==示例==
: <code><nowiki>{{since:zh-cn|{{src07}}}}</nowiki></code> → {{since:zh-cn|{{src07}}}}
: <code><nowiki>{{since:zh-cn|{{src07}}}}</nowiki></code> → {{since:zh-cn|{{src07}}}}


Line 19: Line 18:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Notice templates:zh-cn]]
[[Category:Notice templates:zh-cn]]}}</includeonly>
}}</includeonly>

Revision as of 16:44, 20 October 2022

Template:Documentation subpage:zh-cn 展示键值、材质参数或其他功能的游戏可用性的注释模板。它旨在将多个游戏添加模板替换为一个不太难处理的模板。

用法

此模板有一个未命名的参数。该参数应该是 Category:Game icons 中模板的嵌入。该参数可以使用多个游戏图标模板。

示例

{{since:zh-cn|{{src07}}}}(存在于自 Source 2007 以来)
{{since:zh-cn|{{l4d}}{{l4d2}}}}(存在于自 Left 4 DeadLeft 4 Dead 2 以来)

另见

  • {{Also:zh-cn}}
  • {{Only:zh-cn}}
  • {{Removed:zh-cn}}
  • {{Not:zh-cn}}