Template:Server: Difference between revisions

From The Blockheads Wiki
JarlPenguin (talk | contribs)
Add community link support and refine padding
JarlPenguin (talk | contribs)
→ExampleLand: Fix Connect link position
Tags: Mobile edit Mobile web edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=={{{Name|ExampleLand}}}==
=={{{Name|ExampleLand}}}==
{| style="width:100%; margin-top:10px; margin-bottom:10px; clear:both; padding:3px; border: 1px grey solid; background-color:#E6EEFF;"
{| style="width:100%; margin-top:10px; margin-bottom:10px; clear:both; padding:3px; border: 1px grey solid; background-color:var(--bh-sky); color:white;"
| style="padding-left:5px; background-color:#99B4FF; height:30px; width:100%" | '''{{{Name|ExampleLand}}}'''<br>{{#switch: {{{Hosted By|Mac}}} | Mac | Mac Server | Mac Server App = ''Hosted using the [[Server#Mac Server App|Mac Server App]]'' | Linux | Linux Server = ''Hosted using the [[Server#Linux Server|Linux Server]]''}}
| style="padding-left:5px; background-color:var(--bh-sky-dark); height:30px; width:100%" | '''{{{Name|ExampleLand}}}'''<br>{{#switch: {{{Hosted By|Mac}}} | Mac | Mac Server | Mac Server App = ''Hosted using the [[Server#Mac Server App|<span style="color:lightgray;">Mac Server App</span>]]'' | Linux | Linux Server = ''Hosted using the [[Server#Linux Server|<span style="color:lightgray;">Linux Server</span>]]''}}
| style="padding-left:5px; padding-right:5px; background-color:#99B4FF; text-align:center" | <span class="plainlinks">[{{fullurl:Server talk:{{{Name|ExampleLand}}}}} Discussion]</span>
| style="padding-left:5px; padding-right:5px; background-color:var(--bh-sky-dark); text-align:center" | <span class="plainlinks">[{{fullurl:Server talk:{{{Name|ExampleLand}}}}} <span style="color:lightgray;">Discussion</span>]</span>
| style="padding-left:5px; padding-right:5px; background-color:#99B4FF; text-align:center; height:30px;" | '''[http://theblockheads.net/join.php?ip={{{IP/URL|0.0.0.0}}}&port={{{Port|15151}}}&name={{urlencode:{{uc:{{{Name|ExampleLand}}}}}|PATH}} Connect]'''
| style="padding-left:5px; padding-right:5px; background-color:var(--bh-sky-dark); text-align:center" | '''<span class="plainlinks">[https://theblockheads.xyz/join.php?ip={{{IP/URL|0.0.0.0}}}&port={{{Port|15151}}}&name={{urlencode:{{uc:{{{Name|ExampleLand}}}}}|PATH}} <span style="color:lightgray;">Connect</span>]</span>'''
|-
|-
| colspan="3" style="vertical-align:top;" |  
| colspan="3" style="vertical-align:top;" |  
{| height="100%" width="100%"
{| height="100%" width="100%"
| style="vertical-align:top;" width="70%" rowspan="2" | {{#if: {{{Image|{{{Name|}}}}}} | [[File:{{{Image|Server {{{Name|}}}.png}}}|thumb|left|150px]] }} <includeonly>{{#ifexist: Server:{{{Name|ExampleLand}}} | {{:Server:{{{Name|ExampleLand}}}}} | No blurb }}</includeonly>
| style="vertical-align:top;" width="70%" rowspan="2" | {{#if: {{{Image|{{{Name|}}}}}} | [[File:{{{Image|Server {{{Name|}}}.png}}}|thumb|left|150px]] }} <includeonly>{{#ifexist: Server:{{{Name|ExampleLand}}} | {{:Server:{{{Name|ExampleLand}}}}} | No blurb }}</includeonly>
! style="background-color:#99B4FF; {{#if: {{{Community Links|}}}||display:none;}}" width="10%" height="12px" | Community Links
! style="background-color:var(--bh-sky-dark); {{#if: {{{Community Links|}}}||display:none;}}" width="10%" height="12px" | Community Links
! style="background-color:#99B4FF; {{#if: {{{Admins|}}}||display:none;}}" width="10%" height="12px" | Admins
! style="background-color:var(--bh-sky-dark); {{#if: {{{Admins|}}}||display:none;}}" width="10%" height="12px" | Admins
! style="background-color:#99B4FF; {{#if: {{{Mods|}}}||display:none;}}" width="10%" height="12px" | Mods
! style="background-color:var(--bh-sky-dark); {{#if: {{{Mods|}}}||display:none;}}" width="10%" height="12px" | Mods
|- style="background-color:#B2C6FF; vertical-align:top;"
|- style="background-color:var(--bh-sky-mid); vertical-align:top;"
| style="padding:5px; {{#if: {{{Community Links|}}}||display:none;}}" | {{{Community Links|None}}}
| style="padding:5px; {{#if: {{{Community Links|}}}||display:none;}}" | {{{Community Links|None}}}
| style="padding:5px; {{#if: {{{Admins|}}}||display:none;}}" | {{{Admins|None}}}
| style="padding:5px; {{#if: {{{Admins|}}}||display:none;}}" | {{{Admins|None}}}

Latest revision as of 07:53, 22 September 2026

ExampleLand

ExampleLand
Hosted using the Mac Server App
Discussion Connect
Community Links Admins Mods
None None None

How to use:

{{Server
|Name=Server name
|Image=File name and extension, if not at File:Server (server name).png
|Hosted By=How hosted (Mac or Linux)
|IP/URL=IP or URL (such as example.com or 10.310.71.158)
|Port=Server port
|Community Links=List of community links
|Admins=List of admins
|Mods=List of moderators
}}
Blurb references page Server:Server name