Difference between revisions of "Template:Settlement"

From Wurmpedia
Jump to navigation Jump to search
m (changed colours again)
(Adding CSS)
Line 1: Line 1:
 +
<templatestyles src="Settlement/styles.css" />
 
<includeonly>
 
<includeonly>
 
{| class="wikitable" style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1"
 
{| class="wikitable" style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1"
Line 18: Line 19:
  
 
|-
 
|-
! style="background-color:#006400; color:#FFFFFF;" | Mayor
+
! class="settlement-highlight-row" | Mayor
 
|-
 
|-
 
| style="text-align: center;" | {{{mayor|Unknown}}}
 
| style="text-align: center;" | {{{mayor|Unknown}}}
Line 24: Line 25:
 
{{#if:{{{comayors|}}}|
 
{{#if:{{{comayors|}}}|
 
{{!}}-
 
{{!}}-
! style="background-color:#006400; color:#FFFFFF;" {{!}} Co-Mayor(s)
+
! class="settlement-highlight-row" {{!}} Co-Mayor(s)
 
{{!}}-
 
{{!}}-
 
{{!}} style="text-align: center;" {{!}} {{{comayors|Unknown}}}
 
{{!}} style="text-align: center;" {{!}} {{{comayors|Unknown}}}
Line 30: Line 31:
  
 
|-
 
|-
! style="background-color:#006400; color:#FFFFFF;" | Population
+
! class="settlement-highlight-row" | Population
 
|-
 
|-
 
| style="text-align: center;" | {{{population|Unknown}}}
 
| style="text-align: center;" | {{{population|Unknown}}}
 
|-
 
|-
! style="background-color:#006400; color:#FFFFFF;" | Allies
+
! class="settlement-highlight-row" | Allies
 
|-
 
|-
 
|
 
|
Line 40: Line 41:
  
 
|-
 
|-
! style="background-color:#006400; color:#FFFFFF;" | Enemies
+
! class="settlement-highlight-row" | Enemies
 
|-
 
|-
 
|
 
|

Revision as of 20:46, 22 April 2021



Usage examples

Roadside
All for one and every man for himself

Size 10 Village

Mayor
Roadsidemayor
Co-Mayor(s)
Roadsidecomayor1, Roadsidecomayor1
Population
21
Allies
Enemies

None



{{settlement
|name=Roadside
|motto=All for one and every man for himself
|type=Village
|size=10
|mayor=Roadsidemayor
|comayors=Roadsidecomayor1, Roadsidecomayor1
|population=21
|allies=
*[[Camelot]]
*[[Broken Hills]]
*[[Westport]]
|enemies=None
}}

Empty template thing for copypasters:

{{settlement
|name=
|motto=
|type=
|size=
|mayor=
|population=
|allies=
|enemies=
}}
  • For type write either v or village for a village, homestead or hs for a homestead or no or none for an undeeded settlement.
  • To use the default value, erase the 'equals'-sign after a parameter.
  • Links, lists and other wiki formatting works fine.