Template:ModStatus: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(44 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<noinclude>{{otherlang2
<noinclude>{{Doc}}</noinclude>
| es = Template:ModStatus:es
<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}}}}}
}}
</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}}}}}
| big        = width:80%; margin:.75em auto;
| big        = width:80%; margin:.75em auto;
| #default    = width:20em; margin:.4em .75em .5em;float:right;
| #default    = width:20em; margin:.4em .75em .5em;float:{{#switch:{{lc:{{{side}}}}}
}}background-color:{{#switch:{{lc:{{{status}}}}}
| right      = right
| released = #AEEF59
| left        = left
| beta = {{#if: {{{download|}}}| #EFE795 | #EFEFEF }}
| #default    = right
| open beta = #EFE795
}};
| #default = #EFEFEF
}}{{#if:{{{nobackground|}}}||background-color:{{#switch:{{lc:{{{status}}}}}
}}; border-color:{{#switch:{{lc:{{{status}}}}}
| released = #2C4C00
| released = #8BC53F
| beta = {{#if: {{{download|}}}| #666240 | #3A3A3A }}
| beta = {{#if: {{{download|}}}| #C5BA3F | #AAA }}
| open beta = #666240
| open beta = #C5BA3F
| #default = #3A3A3A
| #default = #AAA
}};}} border-color:{{#switch:{{lc:{{{status}}}}}
}};">
| released = #3F6D00
| beta = {{#if: {{{download|}}}| #8C8758 | #525252 }}
| open beta = #8C8758
| #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 29: 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}}]]
| mp          = [[:Category:Multiplayer Mods|MP]]
| coop | co-op = {{ModStatus/strings|coop}}
| mp          = [[:Category:Multiplayer Mods|{{ModStatus/strings|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}}}}}
| alpha       = is currently in [[Wikipedia:Development stage#Alpha|alpha]] development.
| pre-alpha   = {{ModStatus/strings|pre-alpha}}
| beta        = is currently in {{#if: {{{download|}}} | [[Wikipedia:Development stage#Beta|open beta]]. '''[{{{download}}} Download it now.]''' | [[Wikipedia:Development stage#Beta|closed beta]] development.}}
| alpha      = {{ModStatus/strings|alpha}}
| closed beta = is currently in [[Wikipedia:Development stage#Beta|closed beta]] development.
| beta        = {{ModStatus/strings|beta|download={{{download|}}}}}
| open beta  = is currently in [[Wikipedia:Development stage#Beta|open beta]]. '''[{{{download}}} Download it now.]'''
| closed beta = {{ModStatus/strings|closed-beta|apply={{{apply|}}}}}
| released    = has been released! '''[{{{download}}} Download it now.]'''
| open beta  = {{ModStatus/strings|open-beta|download={{{download|}}}}}
| dead        = is no longer being developed. {{#if: {{{download|}}}|'''[{{{download}}} Download its last release here.]'''| }}
| hold        = {{ModStatus/strings|hold|download={{{download|}}}}}
| #default    = is <strong style="color:red;font-family:monospace;">unrecognised status!</strong>.}}
| released    = {{ModStatus/strings|released|download={{{download|}}}}}
| dead        = {{ModStatus/strings|dead|download={{{download|}}}}}
| #default    = {{ModStatus/strings|indev}}}}
</p>{{#switch:{{lc:{{{status}}}}}
</p>{{#switch:{{lc:{{{status}}}}}
| alpha      = [[Category:Mods In Alpha]]
| alpha      = [[Category:Mods In Alpha]]
Line 56: Line 61:
| goldsource  = [[Category:GoldSrc mods]]
| goldsource  = [[Category:GoldSrc mods]]
| source      = [[Category:Source mods]]
| source      = [[Category:Source mods]]
| #default    =  
| 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    =
}}{{#switch:{{lc:{{{mode}}}}}
}}{{#switch:{{lc:{{{mode}}}}}
| sp          = [[Category:Single Player Mods]]
| sp          = [[Category:Single Player Mods]]
| coop        = [[Category:Multiplayer Mods]]
| co-op        = [[Category:Multiplayer Mods]]
| mp          = [[Category:Multiplayer Mods]]
| mp          = [[Category:Multiplayer Mods]]
| 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:#FFF;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 = ''<Source/GoldSrc>'' <br />
| game = ''<Episode Two/Portal/...>'' <br />
| mode = ''<sp/mp/both>''<br />
| status = ''<alpha/beta/released/dead>'' <br />
| size = ''<nowiki><big></nowiki>'' (Optional) <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>.
</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.