Difference between revisions of "Template:Server"

From Wurmpedia
Jump to navigation Jump to search
m (Fixed abbreviation)
m
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
{| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}} {{#if:{{{abbr|}}}| ({{{abbr}}}) }}<br /> {{#switch: {{lc:{{{cluster}}}}} |f|freedom = '''Freedom Cluster''' |e|epic = '''Epic Cluster''' |#default = '''Special Server'''}}
+
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}<br />{{#switch: {{lc:{{{cluster}}}}} |f|freedom = '''Southern Freedom Isles''' |n|northern = '''Northern Freedom Isles''' |e|epic = '''Epic Cluster''' |#default = '''Special Server'''}}
 
|-
 
|-
 
|
 
|
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
+
{{#if:{{{noimage|}}}
 +
| '''No image published'''
 +
}}
 +
{{#if:{{{image|}}}
 
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|250px|A {{{name|{{PAGENAME}}}}}]]
 
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|250px|A {{{name|{{PAGENAME}}}}}]]
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
 
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|250px|{{{name|{{PAGENAME}}}}}]]
 
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|250px|{{{name|{{PAGENAME}}}}}]] [[Category:Needs image]]
 
    }}
 
 
}}
 
}}
 
|-
 
|-
Line 75: Line 74:
 
</includeonly>
 
</includeonly>
  
<noinclude>'''Usage'''
+
<noinclude>
 +
Creates a sidebar containing information about a server.
  
TBC[[Category:Template]]
+
==Usage Example==
 +
<pre>
 +
{{server
 +
|image=Exodus_250.jpg
 +
|cluster=freedom
 +
|date=September 15th, 2011
 +
|size=2048x2048
 +
|twitter=freedom003
 +
|mrtg-name=Freedom003
 +
|forum-url=http://forum.wurmonline.com/index.php?/forum/72-exodus/
 +
|start-towns=[[Settlement:Esert|Esert]]
 +
|faiths=Vynora, Fo, Magranon, Tosiek, Nahjo, Nathan
 +
|kingdoms=[[Freedom]]
 +
}}
 +
</pre>
 +
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 07:16, 10 August 2020


Creates a sidebar containing information about a server.

Usage Example

{{server
|image=Exodus_250.jpg
|cluster=freedom
|date=September 15th, 2011
|size=2048x2048
|twitter=freedom003
|mrtg-name=Freedom003
|forum-url=http://forum.wurmonline.com/index.php?/forum/72-exodus/
|start-towns=[[Settlement:Esert|Esert]]
|faiths=Vynora, Fo, Magranon, Tosiek, Nahjo, Nathan
|kingdoms=[[Freedom]]
}}