Difference between revisions of "Template:Server"

From Wurmpedia
Jump to navigation Jump to search
m
m
 
(43 intermediate revisions by 6 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}}}}}{{#if:{{{abbr|}}}|<br />({{{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''' |t|tutorial = '''Tutorial Server''' |#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]]
 
    }}
 
 
}}
 
}}
 
|-
 
|-
! style="background-color:#4B3E30; color:#FFFFFF;" | General Information
+
! class="infobox-header-row" | General Information
 
|-
 
|-
 
|
 
|
Line 36: Line 36:
 
}}
 
}}
 
|-
 
|-
! 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 54: 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 75: 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]]
}}