Template:ModStatus:zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Equalizer5118 moved page Template:ModStatus:zh-cn to Template:ModStatus:zh)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:ModStatus}}</noinclude>
<noinclude>{{Documentation|Template:ModStatus/doc}}[[Category:Templates:zh-cn]]</noinclude>
<includeonly><onlyinclude>
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;{{#switch:{{lc:{{{size}}}}}
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;{{#switch:{{lc:{{{size}}}}}
| big        = width:80%; margin:.75em auto;
| big        = width:80%; margin:.75em auto;
Line 32: Line 33:
<p style="overflow:auto;text-align:center;">
<p style="overflow:auto;text-align:center;">
这款{{#switch:{{lc:{{{mode}}}}}
这款{{#switch:{{lc:{{{mode}}}}}
| sp          = [[:Category:Single Player Mods|单人的]]
| sp          = [[:Category:Single Player Mods|单人的]]{{en}}
| coop        = 多人合作的
| coop        = 多人合作的
| co-op        = 多人合作的
| co-op        = 多人合作的
| mp          = [[:Category:Multiplayer Mods|多人的]]
| mp          = [[:Category:Multiplayer Mods|多人的]]{{en}}
| #default    =  
| #default    =  
}} [[{{#if: {{{game|}}} | {{{game}}} | {{{engine}}}  }}]] 模组{{#switch:{{lc:{{{status}}}}}
}} [[{{#if: {{{game|}}} | {{{game}}} | {{{engine}}}  }}]] 模组{{#switch:{{lc:{{{status}}}}}
| pre-alpha  = 正处于[[Wikipedia:Software release life cycle#Pre-alpha|预测试]]阶段。
| pre-alpha  = 正处于[[Wikipedia:Software release life cycle#Pre-alpha|预测试]]{{en}}阶段。
| alpha      = 正处于[[Wikipedia:Software release life cycle#Alpha|测试]] 阶段。
| alpha      = 正处于[[Wikipedia:Software release life cycle#Alpha|测试]]{{en}}阶段。
| beta        = 正处于{{#if: {{{download|}}} | [[Wikipedia:Software release life cycle#Beta|公测]]阶段。'''[{{{download}}}现在下载。]''' | [[Wikipedia:Software release life cycle#Beta|内测]]阶段。}}
| beta        = 正处于{{#if: {{{download|}}} | [[Wikipedia:Software release life cycle#Beta|公测]]{{en}}阶段。'''[{{{download}}}现在下载。]''' | [[Wikipedia:Software release life cycle#Beta|内测]]阶段。}}
| closed beta = 正处于[[Wikipedia:Software release life cycle#Beta|内测]]阶段。
| closed beta = 正处于[[Wikipedia:Software release life cycle#Beta|内测]]{{en}}阶段。
| open beta  = 正处于[[Wikipedia:Software release life cycle#Beta|公测]]阶段。'''[{{{download}}}现在下载。]'''
| open beta  = 正处于[[Wikipedia:Software release life cycle#Beta|公测]]{{en}}阶段。'''[{{{download}}}现在下载。]'''
| hold        = is currently on hold. {{#if: {{{download|}}}|'''[{{{download}}} Download its last release here.]'''| }}
| hold        = 正处于搁置状态。{{#if: {{{download|}}}|'''[{{{download}}}在此下载此模组的最新版本。]'''| }}
| released    = 已正式发布!'''[{{{download}}} 现在下载。]'''
| released    = 已正式发布!'''[{{{download}}} 现在下载。]'''
| dead        = 已不再开发。{{#if: {{{download|}}}|'''[{{{download}}}在此下载此模组的最新版本。]'''| }}
| dead        = 已不再开发。{{#if: {{{download|}}}|'''[{{{download}}}在此下载此模组的最新版本。]'''| }}
| #default    = 正处于<strong style="color:red;font-family:monospace;">未知状态!</strong>}}
| #default    = 正处于<strong style="color:red;font-family:monospace;">未知状态!</strong>}}
</p>{{#switch:{{lc:{{{status}}}}}
</p>{{#switch:{{lc:{{{status}}}}}
| alpha      = [[Category:Mods In Alpha]]
| alpha      = [[Category:Mods In Alpha:zh-cn]]
| beta        = [[Category:Mods In Beta]]
| beta        = [[Category:Mods In Beta:zh-cn]]
| closed beta = [[Category:Mods In Beta]]
| closed beta = [[Category:Mods In Beta:zh-cn]]
| open beta  = [[Category:Mods In Beta]]
| open beta  = [[Category:Mods In Beta:zh-cn]]
| released    = [[Category:Released Mods]]
| released    = [[Category:Released Mods:zh-cn]]
| dead        = [[Category:Dead Mods]]
| dead        = [[Category:Dead Mods:zh-cn]]
| #default    =  
| #default    =  
}}{{#switch:{{lc:{{{status}}}}}
}}{{#switch:{{lc:{{{status}}}}}
Line 59: Line 60:
| #default    =
| #default    =
{{#switch:{{lc:{{{engine}}}}}
{{#switch:{{lc:{{{engine}}}}}
| goldsrc  = [[Category:GoldSrc mods]]
| goldsrc  = [[Category:GoldSrc mods:zh-cn]]
| goldsource  = [[Category:GoldSrc mods]]
| goldsource  = [[Category:GoldSrc mods:zh-cn]]
| source      = [[Category:Source mods]]
| source      = [[Category:Source mods:zh-cn]]
| source2      = [[Category:Source 2 mods]]
| source2      = [[Category:Source 2 mods:zh-cn]]
| #default    =
| #default    =
}}{{#switch:{{lc:{{{mode}}}}}
}}{{#switch:{{lc:{{{mode}}}}}
| sp          = [[Category:Single Player Mods]]
| sp          = [[Category:Single Player Mods:zh-cn]]
| coop        = [[Category:Multiplayer Mods]]
| coop        = [[Category:Multiplayer Mods:zh-cn]]
| co-op        = [[Category:Multiplayer Mods]]
| co-op        = [[Category:Multiplayer Mods:zh-cn]]
| mp          = [[Category:Multiplayer Mods]]
| mp          = [[Category:Multiplayer Mods:zh-cn]]
| both        = [[Category:Single Player Mods]] [[Category:Multiplayer Mods]]
| both        = [[Category:Single Player Mods:zh-cn]] [[Category:Multiplayer Mods:zh-cn]]
| #default    =  
| #default    =  
}}}}</div>{{#if: {{{image|}}} | <div style="clear:right;float:right;background:#262626;padding:.2em .75em;">[[File:{{{image}}}|border|right|267px]]</div> }}<noinclude>
}}}}</div>{{#if: {{{image|}}} | <div style="clear:right;float:right;background:#262626;padding:.2em .75em;">[[File:{{{image}}}|border|right|267px]]</div> }}
 
</onlyinclude></includeonly>
在你的模组页面上显示一个状态框,并将此页面添加到相应的类别中。
 
<p style="text-align:left;margin-left:1.5em;"><span style="float:left;margin-right:.5em;">'''用法:'''</span><code style="overflow:auto;display:block;">&#123;&#123;ModStatus <br />
| engine = ''<GoldSrc/Source/Source2>'' <br />
| game = ''<Episode Two/Portal/...>'' <br />
| mode = ''<sp/mp/both/co-op>''<br />
| status = ''<alpha/beta/released/hold/dead>'' <br />
| size = ''<nowiki><big></nowiki>''(可选)<br />
| side = ''<Right(可选)/Left>'' <br />
| image = ''<.jpg 图片文件>''<br />
| download = ''<下载链接>''<br />
&#125;&#125;</code></p>
 
* 如果指定了 '''<code>size=<nowiki><big></nowiki></code>''',信息框将会横跨页面顶部。
* 如果模组基于 [[Source SDK Base]] 或其变体之一,请不要指定 '''<code>game</code>'''
* 如果你想要指定一个 '''<code>download</code>''' 下载链接,那么请确保你 100% 不会再更改你的下载链接,而且''不要''直接指向模组文件。这样,当你发布了新版本的模组,你就不用再更改链接了。
* 如果某个模组在正式版(或接近正式版)发布后停止了开发,不要将其标记为 '''<code>dead</code>''',而是把它标记为 <code>released</code>。
* 如果设置了 size=big,则 side 参数将会失效。
</noinclude>

Latest revision as of 09:10, 4 April 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [create]
Icon-translate.png Available doc translations
Info.png
The Template:ModStatus:zh/doc documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
Template:ModStatus:zh/doc