Difference between revisions of "Template:Serverinfobox"
From Space Engineers Wiki
m (Fixed box width.) |
(Add website field to box.) |
||
Line 40: | Line 40: | ||
<!--pvp--> | <!--pvp--> | ||
<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> | <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;"> </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|}}}| | ||
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> |