Difference between revisions of "Template:ModStatus"

From Valve Developer Community
Jump to: navigation, search
m
(redone: reads better and looks better)
Line 1: Line 1:
{| {{#switch:{{lc:{{{size}}}}}
+
<noinclude>
| small      = style="background-color: white; width: 20em; margin: .5em .5em; padding: .01em 1em; border: #000000 1px solid; float: right;"
+
Displays a status box on your mod's page.
| big        = style="background-color: white; width: 80%; margin: .5em auto .5em auto; padding: .01em 1em; border: #000000 1px solid;"
 
| #default    = style="background-color: white; width: 20em; margin: .5em .5em; padding: .01em 1em; border: #000000 1px solid; float: right;"
 
}}
 
| rowspan="2" style="width: 50px; height: 50px;" |
 
&nbsp;&nbsp;&nbsp;<font style="font-size:80px;line-height:normal;">{{#switch:{{lc:{{{status}}}}}
 
| alpha      = &alpha;
 
| closed beta = &beta;
 
| open beta  = &beta;
 
| released    = [[Image:Icon-Released.png|50px]]
 
| dead        = [[Image:Skull_and_crossbones.png|50px]]
 
| #default    = &alpha;
 
}}</font>
 
 
 
| align = "center"| '''Mod Status'''
 
|-
 
| align = "center"| This third-party mod for the [[{{{engine}}}|{{{engine}}} engine]] is currently in the {{#switch:{{lc:{{{status}}}}}
 
| alpha      = [[Wikipedia:Development stage#Alpha|Alpha development stage]].
 
| closed beta = [[Wikipedia:Development stage#Beta|Closed Beta development stage]].
 
| open beta  = [[Wikipedia:Development stage#Beta|Open Beta development stage]]. A public [{{{download}}} download is available].
 
| released    = [[Wikipedia:Development_stage#GA|Released stage]]. A public [{{{download}}} download is available].
 
| dead        = [[Wikipedia:Development_stage#End_of_life|End of Life stage]]. No further work is being performed on this mod. {{if|{{{download}}}|Last updated version is [{{{download}}} available for download].| }}
 
| #default    = {{{status}}} development stage}}
 
|}
 
  
 +
:'''Usage:''' <code><nowiki>{{ModStatus|engine=<source/goldsrc>|status=<alpha/closed beta/open beta/released/dead>|download=<url>}}</nowiki></code>
  
 +
</noinclude><div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em; padding:.5em;{{#switch:{{lc:{{{size}}}}}
 +
| small      = width:20em; margin:.5em; float: right;
 +
| big        = width:80%; margin:.5em auto;
 +
| #default    = width:20em; margin:.5em;float: right;
 +
}}background-color:{{#switch:{{lc:{{{status}}}}}
 +
| released = #8BC53F
 +
| open beta = #EFE795
 +
| #default = #EFEFEF
 +
}}; border-color:{{#switch:{{lc:{{{status}}}}}
 +
| released = #AEEF59
 +
| open beta = #C5BA3F
 +
| #default = #AAA
 +
}};">
 +
<p style="float:left;margin:0;padding:5px;">
 
{{#switch:{{lc:{{{status}}}}}
 
{{#switch:{{lc:{{{status}}}}}
 +
| alpha      = [[File:Development.png|50px|link=]]
 +
| closed beta = [[File:Development.png|50px|link=]]
 +
| open beta  = [[File:Development with download.png|50px|link=]]
 +
| released    = [[File:Icon-Released.png|50px|link=]]
 +
| dead        = [[File:Skull and crossbones.png|50px|link=]]
 +
| #default    = [[File:Development.png|50px|link=]]
 +
}}
 +
</p>
 +
<p style="overflow:auto;text-align:center;">
 +
This mod for [[{{{engine}}}]] {{#switch:{{lc:{{{status}}}}}
 +
| alpha      = is currently in [[Wikipedia:Development stage#Alpha|alpha]].
 +
| closed beta = is currently in [[Wikipedia:Development stage#Beta|closed beta]].
 +
| open beta  = is currently in [[Wikipedia:Development stage#Beta|open beta]]. '''[{{{download}}} Download it here.]'''
 +
| released    = has been released! [{{{download}}} Download the latest version here.]
 +
| dead        = is no longer being developed. {{if|{{{download}}}|'''[{{{download}}} Download the last release here.]'''| }}
 +
| #default    = is <strong style="color:red;font-family:monospace;">unrecognised status!</strong>.}}
 +
</p>{{#switch:{{lc:{{{status}}}}}
 
| alpha      = [[Category:Mods In Alpha]]
 
| alpha      = [[Category:Mods In Alpha]]
 
| closed beta = [[Category:Mods In Beta]]
 
| closed beta = [[Category:Mods In Beta]]
Line 33: Line 42:
 
| dead        = [[Category:Dead Mods]]
 
| dead        = [[Category:Dead Mods]]
 
| #default    =  
 
| #default    =  
}}
+
}}{{#switch:{{lc:{{{status}}}}}
 
 
{{#switch:{{lc:{{{status}}}}}
 
 
| dead        =
 
| dead        =
 
| #default    =
 
| #default    =
 
{{#switch:{{lc:{{{engine}}}}}
 
{{#switch:{{lc:{{{engine}}}}}
| goldsource  = [[Category:HL1 Third Party Mods]]
+
| goldsource  = [[Category:GoldSrc mods]][[Category:HL1 Third Party Mods]]
| source      = [[Category:HL2 Third Party Mods]]
+
| source      = [[Category:Source mods]][[Category:HL2 Third Party Mods]]
 
| #default    =  
 
| #default    =  
}}}}
+
}}}}</div>

Revision as of 10:21, 17 July 2009

Displays a status box on your mod's page.

Usage: {{ModStatus|engine=<source/goldsrc>|status=<alpha/closed beta/open beta/released/dead>|download=<url>}}

Development.png

This mod for [[{{{engine}}}]] is unrecognised status!.