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

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page.) --> An inline template showcasing the game availability of a keyvalue, mate...")
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
<!-- 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:zh-cn|{{src07}}}}</nowiki></code> → {{since:zh-cn|{{src07}}}}


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


: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}
==另见==
 
* {{tl|Also:zh-cn}}
==See Also==
* {{tl|Only:zh-cn}}
* {{tl|Also}}
* {{tl|Removed:zh-cn}}
* {{tl|Only}}
* {{tl|Not:zh-cn}}
* {{tl|Removed}}
* {{tl|Not}}


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

Latest revision as of 02:29, 12 January 2024

Edit-copy.png
This is a documentation subpage for Template:Since:zh-cn.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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

用法

此模板有一个未命名的参数。该参数应该是 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}}