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

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Add Simplified Chinese translation)
Line 1: Line 1:
{{Documentation subpage}}
{{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.) -->
An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game add templates with a single template that's less unweldly to work with. The color of the text changes based upon which game is used.
展示键值、材质参数或其他功能的游戏可用性的注释模板。它旨在将多个游戏添加模板替换为一个不太难处理的模板。文字的颜色会根据使用的游戏而变化。
==Usage==
==用法==
This template has one unnamed parameter. The parameter should be a transclusion of a template in [[:Category:Game icons]]. Multiple game icon templates can be used for the parameter, but this will result in the default color for the text.
此模板有一个未命名的参数。该参数应该是 [[:Category:Game icons]] 中模板的嵌入。该参数可以使用多个游戏图标模板,但这将使用文本的默认颜色。


==Examples==
==示例==


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


: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}
: <code><nowiki>{{since:zh-cn|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since:zh-cn|{{l4d}}{{l4d2}}}}


==See Also==
==另见==
* {{tl|Also}}
* {{tl|Also:zh-cn}}
* {{tl|Only}}
* {{tl|Only:zh-cn}}
* {{tl|Removed}}
* {{tl|Removed:zh-cn}}
* {{tl|Not}}
* {{tl|Not:zh-cn}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 09:15, 9 August 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}}