Template:ModStatus: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(80 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Doc}}</noinclude>
Displays a status box on your mod's page.
<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;
:'''Usage:''' <code><nowiki>{{ModStatus|engine=<source/goldsrc>|status=<alpha/closed beta/open beta/released/dead>|download=<url>}}</nowiki></code>
| #default    = width:20em; margin:.4em .75em .5em;float:{{#switch:{{lc:{{{side}}}}}
 
| right      = right
</noinclude><div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em; padding:.5em;{{#switch:{{lc:{{{size}}}}}
| left        = left
| small      = width:20em; margin:.5em; float: right;
| #default    = right
| big        = width:80%; margin:.5em auto;
}};
| #default    = width:20em; margin:.5em;float: right;
}}{{#if:{{{nobackground|}}}||background-color:{{#switch:{{lc:{{{status}}}}}
}}background-color:{{#switch:{{lc:{{{status}}}}}
| released = #2C4C00
| released = #AEEF59
| beta = {{#if: {{{download|}}}| #666240 | #3A3A3A }}
| open beta = #EFE795
| open beta = #666240
| #default = #EFEFEF
| #default = #3A3A3A
}}; border-color:{{#switch:{{lc:{{{status}}}}}
}};}} border-color:{{#switch:{{lc:{{{status}}}}}
| released = #8BC53F
| released = #3F6D00
| open beta = #C5BA3F
| beta = {{#if: {{{download|}}}| #8C8758 | #525252 }}
| #default = #AAA
| 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}}}}}
| Pre-Alpha  = [[File:Development.png|50px|link=]]
| alpha      = [[File:Development.png|50px|link=]]
| alpha      = [[File:Development.png|50px|link=]]
| beta = {{#if: {{{download|}}}| [[File:Development with download.png|50px|link=]] | [[File:Development.png|50px|link=]]}}
| closed beta = [[File:Development.png|50px|link=]]
| closed beta = [[File:Development.png|50px|link=]]
| open beta  = [[File:Development with download.png|50px|link=]]
| open beta  = [[File:Development with download.png|50px|link=]]
Line 28: Line 31:
</p>
</p>
<p style="overflow:auto;text-align:center;">
<p style="overflow:auto;text-align:center;">
This mod for [[{{{engine}}}]] {{#switch:{{lc:{{{status}}}}}
{{ModStatus/strings|this}} {{#switch:{{lc:{{{mode}}}}}
| alpha      = is currently in [[Wikipedia:Development stage#Alpha|alpha]].
| sp          = [[:Category:Single Player Mods|{{ModStatus/strings|sp}}]]
| closed beta = is currently in [[Wikipedia:Development stage#Beta|closed beta]].
| coop | co-op = {{ModStatus/strings|coop}}
| open beta  = is currently in [[Wikipedia:Development stage#Beta|open beta]]. '''[{{{download}}} Download it here.]'''
| mp          = [[:Category:Multiplayer Mods|{{ModStatus/strings|mp}}]]
| released    = has been released! [{{{download}}} Download the latest version here.]
| #default    =
| dead        = is no longer being developed. {{if|{{{download}}}|'''[{{{download}}} Download the last release here.]'''| }}
}} {{ModStatus/strings|mod|{{lc:{{{type|}}}}}}}{{#if:{{{engine|}}}{{{game|}}}|&nbsp;{{ModStatus/strings|for}} [[{{#if: {{{game|}}} | {{{game}}} | {{{engine}}} }}]]|}} {{#switch:{{lc:{{{status}}}}}
| #default    = is <strong style="color:red;font-family:monospace;">unrecognised status!</strong>.}}
| pre-alpha  = {{ModStatus/strings|pre-alpha}}
| alpha      = {{ModStatus/strings|alpha}}
| beta        = {{ModStatus/strings|beta|download={{{download|}}}}}
| closed beta = {{ModStatus/strings|closed-beta|apply={{{apply|}}}}}
| open beta  = {{ModStatus/strings|open-beta|download={{{download|}}}}}
| hold        = {{ModStatus/strings|hold|download={{{download|}}}}}
| 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]]
| beta        = [[Category:Mods In Beta]]
| closed beta = [[Category:Mods In Beta]]
| closed beta = [[Category:Mods In Beta]]
| open beta  = [[Category:Mods In Beta]]
| open beta  = [[Category:Mods In Beta]]
Line 46: Line 58:
| #default    =
| #default    =
{{#switch:{{lc:{{{engine}}}}}
{{#switch:{{lc:{{{engine}}}}}
| goldsource   = [[Category:GoldSrc mods]][[Category:HL1 Third Party Mods]]
| goldsrc   = [[Category:GoldSrc mods]]
| source      = [[Category:Source mods]][[Category:HL2 Third Party Mods]]
| goldsource  = [[Category:GoldSrc mods]]
| source      = [[Category:Source 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    =
}}{{#switch:{{lc:{{{mode}}}}}
| sp          = [[Category:Single Player Mods]]
| coop        = [[Category:Multiplayer Mods]]
| co-op        = [[Category:Multiplayer Mods]]
| mp          = [[Category:Multiplayer Mods]]
| both        = [[Category:Single Player Mods]] [[Category:Multiplayer Mods]]
| #default    =  
| #default    =  
}}}}</div>
}}}}</div>{{#if: {{{image|}}} | <div style="clear:right;float:right;background:#262626;padding:.2em .75em;">[[File:{{{image}}}|border|right|267px]]</div> }}</onlyinclude></includeonly>

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.