Template:ModStatus: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{lang|Template:Correctpagequery-top}}</noinclude>
<noinclude>{{Doc}}</noinclude>
<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}}}}}
<includeonly><onlyinclude><div style="{{#if:{{{noborder|}}}||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;
| #default    = width:20em; margin:.4em .75em .5em;float:{{#switch:{{lc:{{{side}}}}}
| #default    = width:20em; margin:.4em .75em .5em;float:{{#switch:{{lc:{{{side}}}}}
Line 7: Line 7:
| #default    = right
| #default    = right
}};
}};
}}background-color:{{#switch:{{lc:{{{status}}}}}
}}{{#if:{{{nobackground|}}}||background-color:{{#switch:{{lc:{{{status}}}}}
| released = #2C4C00
| released = #2C4C00
| beta = {{#if: {{{download|}}}| #666240 | #3A3A3A }}
| beta = {{#if: {{{download|}}}| #666240 | #3A3A3A }}
| open beta = #666240
| open beta = #666240
| #default = #3A3A3A
| #default = #3A3A3A
}}; border-color:{{#switch:{{lc:{{{status}}}}}
}};}} border-color:{{#switch:{{lc:{{{status}}}}}
| released = #3F6D00
| released = #3F6D00
| beta = {{#if: {{{download|}}}| #8C8758 | #525252 }}
| beta = {{#if: {{{download|}}}| #8C8758 | #525252 }}
| open beta = #8C8758
| open beta = #8C8758
| #default = #525252
| #default = #525252
}};">
}};{{{style|}}}">
<p style="float:left;margin:0;padding:5px;">
<p style="float:left;margin:0;padding:5px;">
{{#switch:{{lc:{{{status}}}}}
{{#switch:{{lc:{{{status}}}}}
Line 31: Line 31:
</p>
</p>
<p style="overflow:auto;text-align:center;">
<p style="overflow:auto;text-align:center;">
This {{#switch:{{lc:{{{mode}}}}}
{{ModStatus/strings|this}} {{#switch:{{lc:{{{mode}}}}}
| sp          = [[:Category:Single Player Mods|SP]]
| sp          = [[:Category:Single Player Mods|{{ModStatus/strings|sp}}]]
| coop         = co-op
| coop | co-op = {{ModStatus/strings|coop}}
| co-op       = co-op
| mp          = [[:Category:Multiplayer Mods|{{ModStatus/strings|mp}}]]
| mp          = [[:Category:Multiplayer Mods|MP]]
| #default    =  
| #default    =  
}} mod for [[{{#if: {{{game|}}} | {{{game}}} | {{{engine}}} }}]] {{#switch:{{lc:{{{status}}}}}
}} {{ModStatus/strings|mod|{{lc:{{{type|}}}}}}}{{#if:{{{engine|}}}{{{game|}}}|&nbsp;{{ModStatus/strings|for}} [[{{#if: {{{game|}}} | {{{game}}} | {{{engine}}} }}]]|}} {{#switch:{{lc:{{{status}}}}}
| pre-alpha  = is currently in [[Wikipedia:Software release life cycle#Pre-alpha|pre-alpha]] development.
| pre-alpha  = {{ModStatus/strings|pre-alpha}}
| alpha      = is currently in [[Wikipedia:Software release life cycle#Alpha|alpha]] development.
| alpha      = {{ModStatus/strings|alpha}}
| beta        = is currently in {{#if: {{{download|}}} | [[Wikipedia:Software release life cycle#Beta|open beta]]. '''[{{{download}}} Download it now.]''' | [[Wikipedia:Software release life cycle#Beta|closed beta]] development.}}
| beta        = {{ModStatus/strings|beta|download={{{download|}}}}}
| closed beta = is currently in [[Wikipedia:Software release life cycle#Beta|closed beta]] development.
| closed beta = {{ModStatus/strings|closed-beta|apply={{{apply|}}}}}
| open beta  = is currently in [[Wikipedia:Software release life cycle#Beta|open beta]]. '''[{{{download}}} Download it now.]'''
| open beta  = {{ModStatus/strings|open-beta|download={{{download|}}}}}
| hold        = is currently on hold. {{#if: {{{download|}}}|'''[{{{download}}} Download its last release here.]'''| }}
| hold        = {{ModStatus/strings|hold|download={{{download|}}}}}
| released    = has been released! '''[{{{download}}} Download it now.]'''
| released    = {{ModStatus/strings|released|download={{{download|}}}}}
| dead        = is no longer being developed. {{#if: {{{download|}}}|'''[{{{download}}} Download its last release here.]'''| }}
| dead        = {{ModStatus/strings|dead|download={{{download|}}}}}
| #default    = is <strong style="color:red;font-family:monospace;">unrecognised status!</strong>.}}
| #default    = {{ModStatus/strings|indev}}}}
</p>{{#switch:{{lc:{{{status}}}}}
</p>{{#switch:{{lc:{{{status}}}}}
| alpha      = [[Category:Mods In Alpha]]
| alpha      = [[Category:Mods In Alpha]]
Line 63: Line 62:
| source      = [[Category:Source mods]]
| source      = [[Category:Source mods]]
| source2      = [[Category:Source 2 mods]]
| source2      = [[Category:Source 2 mods]]
| #default    =
}}{{#switch:{{lc:{{{branch}}}}}<!-- If used, page will be added to "Category:Source (version) engine branch mods" -->
|2004|src04|Src04|source 2004|Source 2004={{SourceBranchCategory|src04|mod}}
|2006|src06|Src06|source 2006|Source 2006={{SourceBranchCategory|src06|mod}}
|2007|src07|Src07|source 2007|Source 2007|orangebox|ob|OrangeBox|OB|Orange Box={{SourceBranchCategory|src07|mod}}
|l4d|l4dbranch|Left 4 Dead|L4D={{SourceBranchCategory|l4d|mod}}
|2009|src09|Src09|source 2009|Source 2009={{SourceBranchCategory|src09|mod}}
|srcmp|mp|SrcMP|Srcmp|source multiplayer|Source Multiplayer|Source MP={{SourceBranchCategory|srcmp|mod}}
|asw|as|asbranch|Alien Swarm={{SourceBranchCategory|as|mod}}
|portal2|p2|p2branch|Portal 2={{SourceBranchCategory|p2|mod}}
|csgo|csgobranch|Counter-Strike: Global Offensive|CSGO|CS:GO={{SourceBranchCategory|csgo|mod}}
|2013|src13|Src13|source 2013|Source 2013={{SourceBranchCategory|src13|mod}}
|2013sp|src13sp|Src13sp|source 2013 singleplayer|Source 2013 Singleplayer|Source 2013 SP={{SourceBranchCategory|src13sp|mod}}
|2013mp|src13mp|Src13mp|source 2013 multiplayer|Source 2013 Multiplayer|Source 2013 MP={{SourceBranchCategory|src13mp|mod}}
|tf2|tf2branch|Team Fortress 2|TF2={{SourceBranchCategory|tf2branch|mod}}
<!--3rd party-->
|xengine|xenengine|bms={{SourceBranchCategory|xengine|mod}}
|tfbranch|titanfall={{Error|Error (Template:ModStatus): Parameter {{{param|{{{branch}}}}}} is specified! Titanfall branch does not support mods.}}
|strata={{SourceBranchCategory|strata|mod}}
| #default    =
| #default    =
}}{{#switch:{{lc:{{{mode}}}}}
}}{{#switch:{{lc:{{{mode}}}}}
Line 71: Line 89:
| both        = [[Category:Single Player Mods]] [[Category:Multiplayer Mods]]
| both        = [[Category:Single Player Mods]] [[Category:Multiplayer Mods]]
| #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>
 
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 />
| 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>'' (Optional) <br />
| side = ''<Right (Optional)/Left>'' <br />
| image = ''<SomeFile.jpg>''<br />
| download = ''<url>''<br />
&#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.
* Please do not include '''<code>game</code>''' if the mod is based on [[Source SDK Base]] or one of its variants
* 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.
* 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>.
* If size=big side parameter doesn't works.
</noinclude>

Latest revision as of 06:21, 31 March 2025

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] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Unknown string (String info ) used in {{ModStatus/strings}}!
Todo: Port text to strings subpage

Usage

Displays a status box on your mod's page, and adds it to the appropriate categories.

Usage:{{ModStatus
| engine = <GoldSrc/Source/Source2>
| branch = <Source 2004/Source 2006/src04/src06/l4dbranch/...>
| game = <Episode Two/Portal/...>
| mode = <sp/mp/both/co-op>
| status = <alpha/beta/released/hold/dead>
| size = <big> (Optional)
| side = <Right (Optional)/Left>
| image = <SomeFile.jpg>
| download = <url>
| apply = <url>
}}

  • If size=<big> is included, this will make the box span across the top of the page.
  • If branch is specified, adds the page to Category:Source (version) engine branch mods. This is optional. This parameter relies on Template:SourceBranchCategory.
  • Please do not include game if the mod is based on Source SDK Base or one of its variants
  • If you are including a download 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.
  • Do not mark a mod dead if it ceased development after making a final (or near-final) release. Mark it released.
  • If size=big side parameter doesn't works.