Template:ModStatus:zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (moved pages transcluding it to Simplified Chinese categories.)
mNo edit summary
Line 1: Line 1:
<noinclude>{{lang|Template:ModStatus}}[[Category:Templates:zh-cn]]</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 71: Line 72:
| both        = [[Category:Single Player Mods:zh-cn]] [[Category:Multiplayer Mods:zh-cn]]
| 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]]{{en}} 或其变体之一,请不要指定 '''<code>game</code>'''
* 如果你想要指定一个 '''<code>download</code>''' 下载链接,那么请确保你 100% 不会再更改你的下载链接,而且''不要''直接指向模组文件。这样,当你发布了新版本的模组,你就不用再更改链接了。
* 如果某个模组在正式版(或接近正式版)发布后停止了开发,不要将其标记为 '''<code>dead</code>''',而是把它标记为 <code>released</code>。
* 如果设置了 size=big,则 side 参数将会失效。
</noinclude>

Revision as of 09:08, 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