Difference between revisions of "Template:Serverinfobox"

From Space Engineers Wiki
Jump to: navigation, search
(Add website field to box.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="position:relative;float:right;width:320px;">
+
<div style="position:relative;float:right;width:340px;">
 
<!--header-->
 
<!--header-->
<div style="background:#486d82;position:relative;width:320px;">
+
<div style="background:#486d82;position:relative;width:340px;">
 
<div style="background:#486d82;padding:5px;text-align:center;"><span style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;position:relative;">{{{name|Server Name}}}</span></div>
 
<div style="background:#486d82;padding:5px;text-align:center;"><span style="color:white;font-size:2em;text-shadow:0px 0px 0.40em rgba(0,0,0,1);font-family:Gotham;position:relative;">{{{name|Server Name}}}</span></div>
 
<!--header divider--->
 
<!--header divider--->
<div style="background:#9c0c0c;width:310px;margin-left:5px;height:2px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div></div>
+
<div style="background:#9c0c0c;width:330px;margin-left:5px;height:2px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div></div>
 
<div style="background:#b2d5e8;">
 
<div style="background:#b2d5e8;">
 
<!--operator-->
 
<!--operator-->
<div style="width:320px"><div style="padding:2px;width:126px;text-align:right;display:inline-block;position:absolute;">Operator:</div><div style="padding:2px;display:inline-block;width=186px;position:relative;left:130px;">{{{op|Operator}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;width:146px;text-align:right;display:inline-block;position:absolute;">Operator:</div><div style="padding:2px;display:inline-block;width=206px;position:relative;left:150px;">{{{op|Operator}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;height:1px;text-align:center;margin-left:5px;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;height:1px;text-align:center;margin-left:5px;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--server mode-->
 
<!--server mode-->
<div style="width:320px"><div style="padding:2px;width:126px;text-align:right;display:inline-block;position:absolute;">Server Mode:</div><div style="padding:2px;display:inline-block;width=186px;position:relative;left:130px;">{{{mode|Survival}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;width:146px;text-align:right;display:inline-block;position:absolute;">Server Mode:</div><div style="padding:2px;display:inline-block;width=206px;position:relative;left:150px;">{{{mode|Survival}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;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:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Max Players:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{maxplayers|0}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Max Players:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{maxplayers|0}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--settings-->
 
<!--settings-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Speed ([[Dedicated_Servers#2._Game_settings|I]]) ([[Dedicated_Servers#2._Game_settings|R]]) ([[Dedicated_Servers#2._Game_settings|E]]) ([[Dedicated_Servers#2._Game_settings|A]]):</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{inventorycapacity|1}}} {{{refinespeed|1}}} {{{assembleefficiency|1}}} {{{assemblespeed|1}}} </div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Speed ([[Dedicated_Servers#Inventory Size|I]]) ([[Dedicated_Servers#Refinery Speed|R]]) ([[Dedicated_Servers#Assembler Efficiency|E]]) ([[Dedicated_Servers#Assembler Speed|A]]):</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{inventorysize|1}}} {{{refinespeed|1}}} {{{assembleefficiency|1}}} {{{assemblespeed|1}}} </div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--cargo ships-->
 
<!--cargo ships-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Cargo Ships:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{cargoships|No}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Cargo Ships:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{cargoships|No}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--meteors-->
 
<!--meteors-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Meteors:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{meteors|Safe}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Meteors:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{meteors|Safe}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--map-->
 
<!--map-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Map:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{map|Unknown}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Map:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{map|Unknown}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--group only-->
 
<!--group only-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Group Only:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{grouponly|No}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Group Only:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{grouponly|No}}}</div></div>
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 
<!--pvp-->
 
<!--pvp-->
<div style="width:320px"><div style="padding:2px;float:left;width:126px;text-align:right;display:inline-block;">Map:</div><div style="padding:2px;display:inline-block;width=186px;position:right;">{{{pvp|No}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Map:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{pvp|No}}}</div></div>
 +
<!--section divider--->
 +
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
 +
<!--pvp-->
 +
<div style="width:340px"><div style="padding:2px;float:left;width:146px;text-align:right;display:inline-block;">Website:</div><div style="padding:2px;display:inline-block;width=206px;position:right;">{{{website|No}}}</div></div>
 
<!--Custom fields-->
 
<!--Custom fields-->
 
{{#if: {{{CustomRow1|}}}|
 
{{#if: {{{CustomRow1|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:320px"><div style="padding:2px;position:left;width:126px;text-align:right;display:inline-block;">{{{CustomRow1|}}}:</div><div style="padding:2px;display:inline-block;width:186px;position:right;">{{{CustomData1|}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;position:left;width:146px;text-align:right;display:inline-block;">{{{CustomRow1|}}}:</div><div style="padding:2px;display:inline-block;width:206px;position:right;">{{{CustomData1|}}}</div></div>
 
|}}{{#if: {{{CustomRow2|}}}|
 
|}}{{#if: {{{CustomRow2|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:320px"><div style="padding:2px;position:left;width:126px;text-align:right;display:inline-block;">{{{CustomRow2|}}}:</div><div style="padding:2px;display:inline-block;width:186px;position:right;">{{{CustomData2|0}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;position:left;width:146px;text-align:right;display:inline-block;">{{{CustomRow2|}}}:</div><div style="padding:2px;display:inline-block;width:206px;position:right;">{{{CustomData2|0}}}</div></div>
 
|}}{{#if: {{{CustomRow3|}}}|
 
|}}{{#if: {{{CustomRow3|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:320px"><div style="padding:2px;position:left;width:126px;text-align:right;display:inline-block;">{{{CustomRow3|}}}:</div><div style="padding:2px;display:inline-block;width:186px;position:right;">{{{CustomData3|0}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;position:left;width:146px;text-align:right;display:inline-block;">{{{CustomRow3|}}}:</div><div style="padding:2px;display:inline-block;width:206px;position:right;">{{{CustomData3|0}}}</div></div>
 
|}}{{#if: {{{CustomRow4|}}}|
 
|}}{{#if: {{{CustomRow4|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:320px"><div style="padding:2px;position:left;width:126px;text-align:right;display:inline-block;">{{{CustomRow4|}}}:</div><div style="padding:2px;display:inline-block;width:186px;position:right;">{{{CustomData4|0}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;position:left;width:146px;text-align:right;display:inline-block;">{{{CustomRow4|}}}:</div><div style="padding:2px;display:inline-block;width:206px;position:right;">{{{CustomData4|0}}}</div></div>
 
|}}{{#if: {{{CustomRow5|}}}|
 
|}}{{#if: {{{CustomRow5|}}}|
 
<!--section divider--->
 
<!--section divider--->
<div style="background:#659bb7;width:310px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
+
<div style="background:#659bb7;width:330px;margin-left:5px;height:1px;text-align:center;margin-top:5px;margin-bot:5px;position:relative;">&nbsp;</div>
<div style="width:320px"><div style="padding:2px;position:left;width:126px;text-align:right;display:inline-block;">{{{CustomRow5|}}}:</div><div style="padding:2px;display:inline-block;width:186px;position:right;">{{{CustomData5|0}}}</div></div>
+
<div style="width:340px"><div style="padding:2px;position:left;width:146px;text-align:right;display:inline-block;">{{{CustomRow5|}}}:</div><div style="padding:2px;display:inline-block;width:206px;position:right;">{{{CustomData5|0}}}</div></div>
 
|}}
 
|}}
 
</div></div>
 
</div></div>
Line 74: Line 78:
 
{{#set:servername={{{name|}}} }}
 
{{#set:servername={{{name|}}} }}
 
{{#set:servermap={{{map|}}} }}
 
{{#set:servermap={{{map|}}} }}
{{#set:serverinventorycapacity={{{inventorycapacity|1}}} }}
+
{{#set:serverinventorysize={{{inventorysize|1}}} }}
 
{{#set:serverrefinespeed={{{refinespeed|1}}} }}
 
{{#set:serverrefinespeed={{{refinespeed|1}}} }}
{{#set:serverassembleefficiency={{{refineefficiency|1}}} }}
+
{{#set:serverassembleefficiency={{{assembleefficiency|1}}} }}
 
{{#set:serverassemblespeed={{{assemblespeed|1}}} }}
 
{{#set:serverassemblespeed={{{assemblespeed|1}}} }}
 
{{#set:servergrouponly= {{ucfirst: {{lc:{{{grouponly|no}}} }} }} }}
 
{{#set:servergrouponly= {{ucfirst: {{lc:{{{grouponly|no}}} }} }} }}
Line 82: Line 86:
 
{{#set:serverpvp= {{ucfirst: {{lc:{{{pvp|no}}} }} }} }}
 
{{#set:serverpvp= {{ucfirst: {{lc:{{{pvp|no}}} }} }} }}
 
{{#ifeq: {{ucfirst: {{lc: {{{pvp|no}}} }} }} | Yes | [[Category:PvP Server]] |}}
 
{{#ifeq: {{ucfirst: {{lc: {{{pvp|no}}} }} }} | Yes | [[Category:PvP Server]] |}}
 +
{{#set:serverwebsite= {{ucfirst: {{lc:{{{website|no}}} }} }} }}
 
|}}</includeonly>
 
|}}</includeonly>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 23:12, 8 August 2017

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