Difference between revisions of "Template:Serverinfobox"

From Space Engineers Wiki
Jump to: navigation, search
Line 15: Line 15:
 
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--max players-->
 
<!--max players-->
<div style="width:300px"><div style="padding:2px;float:left;width:116px;text-align:right;display:inline-block;">Max Players:</div><div style="padding:2px;display:inline-block;width=176px;position:right;">{{{maxplayers|16}}}</div></div>
+
<div style="width:300px"><div style="padding:2px;float:left;width:116px;text-align:right;display:inline-block;">Max Players:</div><div style="padding:2px;display:inline-block;width=176px;position:right;">{{{maxplayers|0}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
 
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<div style="background:#659bb7;width:290px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
Line 63: Line 63:
 
|}}
 
|}}
 
</div></div>
 
</div></div>
<includeonly>[[category:Player Servers]]</includeonly>
+
<includeonly>{{#ifeq: {{NAMESPACE}} | Server | [[category:Player Servers]]
 +
{{#if: {{#pos:{{lc: {{{mode}}} }} | survival }} | [[Category: Server Mode - Survival]] | }}
 +
{{#if: {{#pos:{{lc: {{{mode}}} }} | creative}} | [[Category: Server Mode - Creative]] | }}
 +
{{#set:serverop={{{op|}}} }}
 +
{{#set:servermaxplayers={{{maxplayers|0}}} }}
 +
{{#set:servername={{{name|}}} }}
 +
{{#set:serverinventorycapacity={{{inventorycapacity|1}}} }}
 +
{{#set:serverrefinespeed={{{refinespeed|1}}} }}
 +
{{#set:serverassemblespeed={{{assemblespeed|1}}} }}
 +
{{#set:servergrouponly= {{ucfirst: {{lc:{{{grouponly|no}}} }} }} }}
 +
{{#set:servercargoships= {{ucfirst: {{lc:{{{cargoships|no}}} }} }} }}
 +
{{#set:serverpvp= {{ucfirst: {{lc:{{{pvp|no}}} }} }} }}
 +
{{#ifeq: {{ucfirst: {{lc: {{{pvp|no}}} }} }} | Yes | [[Category:PvP Server]] |}}
 +
|}} }}</includeonly>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 15:20, 31 May 2014

Server Name
 
Operator:
Operator
 
Server Mode:
Survival
 
Max Players:
0
 
Speed (I) (R) (A):
1 1 1
 
Cargo Ships:
No
 
Cargo Ships:
Safe
 
Map:
Unknown
 
Group Only:
No
 
Map:
No