Template:ModStatus:zh: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 32: Line 32:
<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|单人的]]
| coop        = 多人合作
| coop        = 多人合作的
| co-op        = 多人合作
| co-op        = 多人合作的
| mp          = [[:Category:Multiplayer Mods|多人]]
| mp          = [[:Category:Multiplayer Mods|多人的]]
| #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|预测试]]阶段。
| alpha      = 正处于[[Wikipedia:Software release life cycle#Alpha|测试]] 阶段。
| alpha      = 正处于[[Wikipedia:Software release life cycle#Alpha|测试]] 阶段。
Line 73: Line 73:
}}}}</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> }}<noinclude>


Displays a status box on your mod's page, and adds it to the appropriate categories.
在你的模组页面上显示一个状态框,并将此页面添加到相应的类别中。


<p style="text-align:left;margin-left:1.5em;"><span style="float:left;margin-right:.5em;">'''Usage:'''</span><code style="overflow:auto;display:block;">&#123;&#123;ModStatus <br />
<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 />
| engine = ''<GoldSrc/Source/Source2>'' <br />
| game = ''<Episode Two/Portal/...>'' <br />
| game = ''<Episode Two/Portal/...>'' <br />
| mode = ''<sp/mp/both/co-op>''<br />
| mode = ''<sp/mp/both/co-op>''<br />
| status = ''<alpha/beta/released/hold/dead>'' <br />
| status = ''<alpha/beta/released/hold/dead>'' <br />
| size = ''<nowiki><big></nowiki>'' (Optional) <br />
| size = ''<nowiki><big></nowiki>''(可选)<br />
| side = ''<Right (Optional)/Left>'' <br />
| side = ''<Right(可选)/Left>'' <br />
| image = ''<SomeFile.jpg>''<br />
| image = ''<.jpg 图片文件>''<br />
| download = ''<url>''<br />
| download = ''<下载链接>''<br />
&#125;&#125;</code></p>
&#125;&#125;</code></p>


* If '''<code>size=<nowiki><big></nowiki></code>''' is included, this will make the box span across the top of the page.
* 如果指定了 '''<code>size=<nowiki><big></nowiki></code>''',信息框将会横跨页面顶部。
* Please do not include '''<code>game</code>''' if the mod is based on [[Source SDK Base]] or one of its variants
* 如果模组基于 [[Source SDK Base]] 或其变体之一,请不要指定 '''<code>game</code>'''
* If you are including a '''<code>download</code>''' URL, then unless you are 100% sure you will never make another release link to your downloads page and ''not'' directly to the file. That way the URL won't need to be changed every time you come out with a new version of your mod.
* 如果你想要指定一个 '''<code>download</code>''' 下载链接,那么请确保你 100% 不会再更改你的下载链接,而且''不要''直接指向模组文件。这样,当你发布了新版本的模组,你就不用再更改链接了。
* Do not mark a mod '''<code>dead</code>''' if it ceased development after making a final (or near-final) release. Mark it <code>released</code>.
* 如果某个模组在正式版(或接近正式版)发布后停止了开发,不要将其标记为 '''<code>dead</code>''',而是把它标记为 <code>released</code>
* If size=big side parameter doesn't works.
* 如果设置了 size=big,则 side 参数将会失效。
</noinclude>
</noinclude>

Revision as of 03:11, 7 November 2021

Development.png

这款 [[{{{engine}}}]] 模组正处于未知状态!

在你的模组页面上显示一个状态框,并将此页面添加到相应的类别中。

用法:{{ModStatus
| engine = <GoldSrc/Source/Source2>
| game = <Episode Two/Portal/...>
| mode = <sp/mp/both/co-op>
| status = <alpha/beta/released/hold/dead>
| size = <big>(可选)
| side = <Right(可选)/Left>
| image = <.jpg 图片文件>
| download = <下载链接>
}}

  • 如果指定了 size=<big>,信息框将会横跨页面顶部。
  • 如果模组基于 Source SDK Base 或其变体之一,请不要指定 game
  • 如果你想要指定一个 download 下载链接,那么请确保你 100% 不会再更改你的下载链接,而且不要直接指向模组文件。这样,当你发布了新版本的模组,你就不用再更改链接了。
  • 如果某个模组在正式版(或接近正式版)发布后停止了开发,不要将其标记为 dead,而是把它标记为 released
  • 如果设置了 size=big,则 side 参数将会失效。