Difference between revisions of "Template:Server"

From Wurmpedia
Jump to navigation Jump to search
m (More changes)
m
 
(53 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
<templatestyles src="InfoTable/styles.css />
 
<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}}}}} <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''' |t|tutorial = '''Tutorial Server''' |#default = '''Special Server'''}}
 
|-
 
|-
 
|
 
|
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
+
{{#if:{{{noimage|}}}
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|200px|A {{{name|{{PAGENAME}}}}}]]
+
| '''No image published'''
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
+
}}
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|200px|{{{name|{{PAGENAME}}}}}]]
+
{{#if:{{{image|}}}
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|200px|{{{name|{{PAGENAME}}}}}]] [[Category:Needs image]]
+
| [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|250px|A {{{name|{{PAGENAME}}}}}]]
    }}
 
 
}}
 
}}
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | General Information
+
! class="infobox-header-row" | General Information
 
|-
 
|-
 
|
 
|
Line 25: Line 25:
 
}}
 
}}
 
{{#if:{{{mrtg-name|}}}
 
{{#if:{{{mrtg-name|}}}
  | '''MRTG''': [http://{{{mrtg-name}}}.game.wurmonline.com/mrtg/ {{{mrtg-name}}}]<br />
+
  | '''MRTG''': {{#switch: {{lc:{{{mrtg-name}}}}}
}}
+
  |elevation
 +
  |affliction
 +
  |desertion
 +
  |serenity = [http://{{{mrtg-name}}}.wurmonline.com/mrtg/ {{{mrtg-name}}}]<br />
 +
  |#default = [http://{{{mrtg-name}}}.game.wurmonline.com/mrtg/ {{{mrtg-name}}}]<br />
 +
}}}}
 
{{#if:{{{forum-url|}}}
 
{{#if:{{{forum-url|}}}
 
  | '''Forum''': [{{{forum-url}}} {{PAGENAME}}]
 
  | '''Forum''': [{{{forum-url}}} {{PAGENAME}}]
 
}}
 
}}
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | Starting Towns
+
! class="infobox-header-row" | Starting Towns
 
|-
 
|-
 
|
 
|
 
{{{start-towns}}}
 
{{{start-towns}}}
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | Server Settings
+
! class="infobox-header-row" | Server Settings
 
|-
 
|-
 
|
 
|
Line 49: Line 54:
 
}}
 
}}
 
{{#ifeq:{{lc:{{{theft}}}}}|yes|;Theft: Yes. Players can [[steal]] items.|;Theft: No. Players cannot [[steal]] items that are secured.}}
 
{{#ifeq:{{lc:{{{theft}}}}}|yes|;Theft: Yes. Players can [[steal]] items.|;Theft: No. Players cannot [[steal]] items that are secured.}}
{{#ifeq:{{lc:{{{deeds}}}}}|influence|;Deeds: [[Settlements]] can only be placed within kingdom influence.|;Deeds: [[Settlements]] can be placed anywhere.}}
+
{{#switch: {{lc:{{{deeds}}}}}
 +
|influence = ;Deeds: [[Settlements]] can only be placed within kingdom influence.
 +
|no = ;Deeds: [[Settlements]] can not be placed on this server.
 +
|#default = ;Deeds: [[Settlements]] can be placed anywhere.
 +
}}
 
{{#ifeq:{{lc:{{{guard-towers}}}}}|yes|;Guard Towers: Required to expand kingdom influence.|;Guard Towers: Optional}}
 
{{#ifeq:{{lc:{{{guard-towers}}}}}|yes|;Guard Towers: Required to expand kingdom influence.|;Guard Towers: Optional}}
{{#ifeq:{{lc:{{{champions}}}}}|yes|;Champions: Yes, players may become [[Champion_player|champions]].|;Champions: No, players cannot become [[Champion_player|champions]]}}
+
<noinclude> {{#ifeq:{{lc:{{{champions}}}}}|yes|;Champions: Yes, players may become [[Champion_player|champions]].|;Champions: No, players cannot become [[Champion_player|champions]]}} </noinclude>
{{#ifeq:{{lc:{{{artifacts}}}}}|yes|;Artifacts: Yes, [[Locate_Artifact#List_of_artifacts|artifacts]] spawn in the world.|;Artifacts: No, [[Locate_Artifact#List_of_artifacts|artifacts]] do not spawn.}}
+
{{#ifeq:{{lc:{{{artifacts}}}}}|yes|;Artifacts: Yes, [[Locate_artifact#List_of_artifacts|artifacts]] spawn in the world.|;Artifacts: No, [[Locate_artifact#List_of_artifacts|artifacts]] do not spawn.}}
{{#if:{{{faiths|}}}|;Allowed Faiths: {{{faiths}}}|&nbsp;}}
+
{{#if:{{{faiths|}}}|;Allowed Faiths: {{{faiths}}}|&nbsp;
{{#ifeq:{{lc:{{{traders}}}}}|no|;Traders: Cannot be placed by players.|&nbsp;}}
+
}}{{#if:{{{nopriest|}}}|;Priests: Priesthood is not possible|&nbsp;
{{#ifeq:{{lc:{{{spy-prevention}}}}}|yes|;Spy Protection: Enabled. The same IP cannot log into two different kingdoms.|&nbsp;}}
+
}}{{#if:{{{spy-prevention|}}}|;Spy Protection: Enabled. The same IP cannot log into two different kingdoms.|&nbsp;
{{#if:{{{skillgain|}}}|;Skill gain: {{{skillgain}}}|&nbsp;}}
+
}}{{#if:{{{skillgain|}}}|;Skill gain: {{{skillgain}}}|&nbsp;
{{#ifeq:{{lc:{{{curve}}}}}|yes|;The [[Curve]]: Enabled|&nbsp;}}
+
}}{{#if:{{{skillcap|}}}|;Skills: Capped at 30|&nbsp;
{{#ifeq:{{lc:{{{scenarios}}}}}|yes|;Scenarios: Enabled|&nbsp;}}
+
}}{{#ifeq:{{lc:{{{curve}}}}}|yes|;The [[Curve]]: Enabled|&nbsp;
{{#ifeq:{{lc:{{{ore-cap}}}}}|yes|;50QL Ore Cap: Enabled|&nbsp;}}
+
}}{{#ifeq:{{lc:{{{scenarios}}}}}|yes|;Scenarios: Enabled|&nbsp;
 +
}}{{#ifeq:{{lc:{{{ore-cap}}}}}|yes|;50QL Ore Cap: Enabled|&nbsp;
 +
}}
 
{{#if:{{{kingdoms|}}} |
 
{{#if:{{{kingdoms|}}} |
 
{{!}}-
 
{{!}}-
! style="background-color:#4B3E30; color:#FFFFFF;" {{!}} Kingdoms
+
! class="infobox-header-row" {{!}} Kingdoms
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
Line 70: Line 81:
 
</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>

Latest revision as of 09:47, 22 June 2024


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]]
}}