Difference between revisions of "Template:Settlement"
Jump to navigation
Jump to search
(+ an empty template example and additional instructions) |
m |
||
| (71 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| style="float:right; | + | <templatestyles src="Settlement/styles.css" /> |
| − | + | <includeonly> | |
| + | {| class="wikitable" style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1" | ||
| + | |+ '''{{{name|{{PAGENAME}}}}}''' <br> ''{{{motto|A village like any other}}}'' | ||
|- | |- | ||
| − | + | | style="text-align: center;" | | |
| − | |||
| − | |||
| − | |||
| − | |||
{{#switch:{{{type}}} | {{#switch:{{{type}}} | ||
| − | |no | + | |no|No |
| − | |none | + | |none|None |
='''Undeeded settlement''' | ='''Undeeded settlement''' | ||
| − | |v | + | |v|V |
| − | |Village | + | |village|Village |
| − | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} ''' | + | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} '''Village''' |
| − | |hs | + | |hs|HS |
| − | |homestead | + | |homestead|Homestead |
| − | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} ''' | + | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} '''Homestead''' |
|Deed info missing | |Deed info missing | ||
| + | }} | ||
| + | {{#if:{{{server|}}}| | ||
| + | {{!}}- | ||
| + | ! class="settlement-highlight-row" {{!}} Server | ||
| + | {{!}}- | ||
| + | {{!}} style="text-align: center;" {{!}} {{{server|Unknown}}} | ||
}} | }} | ||
|- | |- | ||
| − | ! | + | ! class="settlement-highlight-row" | Mayor |
|- | |- | ||
| − | | style="text-align: center;"|{{{mayor|Unknown}}} | + | | style="text-align: center;" | {{{mayor|Unknown}}} |
| + | {{#if:{{{comayors|}}}| | ||
| + | {{!}}- | ||
| + | ! class="settlement-highlight-row" {{!}} Co-Mayor(s) | ||
| + | {{!}}- | ||
| + | {{!}} style="text-align: center;" {{!}} {{{comayors|Unknown}}} | ||
| + | }} | ||
|- | |- | ||
| − | ! | + | ! class="settlement-highlight-row" | Population |
|- | |- | ||
| − | | style="text-align: center;"| | + | | style="text-align: center;" | {{{population|Unknown}}} |
| − | {{{population|Unknown}}} | ||
|- | |- | ||
| − | ! | + | ! class="settlement-highlight-row" | Allies |
|- | |- | ||
| | | | ||
{{{allies|Unknown}}} | {{{allies|Unknown}}} | ||
| + | |||
|- | |- | ||
| − | ! | + | ! class="settlement-highlight-row" | Enemies |
|- | |- | ||
| | | | ||
{{{enemies|Unknown}}} | {{{enemies|Unknown}}} | ||
|} | |} | ||
| − | + | ||
| + | </includeonly> | ||
<noinclude> | <noinclude> | ||
| − | Usage | + | |
| + | == Usage examples == | ||
| + | |||
| + | {{settlement | ||
| + | |name=Roadside | ||
| + | |motto=All for one and every man for himself | ||
| + | |type=Village | ||
| + | |size=12x12 | ||
| + | |mayor=Roadsidemayor | ||
| + | |comayors=Roadsidecomayor1, Roadsidecomayor1 | ||
| + | |population=21 | ||
| + | |server=XXX | ||
| + | |allies= | ||
| + | *[[Camelot]] | ||
| + | *[[Broken Hills]] | ||
| + | *[[Westport]] | ||
| + | |enemies=None | ||
| + | }} | ||
<pre>{{settlement | <pre>{{settlement | ||
| Line 48: | Line 76: | ||
|motto=All for one and every man for himself | |motto=All for one and every man for himself | ||
|type=Village | |type=Village | ||
| − | |size= | + | |size=12x12 |
| + | |server=XXX | ||
|mayor=Roadsidemayor | |mayor=Roadsidemayor | ||
| + | |comayors=Roadsidecomayor1, Roadsidecomayor1 | ||
|population=21 | |population=21 | ||
|allies= | |allies= | ||
| Line 66: | Line 96: | ||
|type= | |type= | ||
|size= | |size= | ||
| + | |server= | ||
|mayor= | |mayor= | ||
|population= | |population= | ||
| Line 72: | Line 103: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | *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. | ||
[[Category:Template]] | [[Category:Template]] | ||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:20, 27 December 2025
Usage examples
|
Size 12x12 Village |
| Server |
|---|
| XXX |
| 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=12x12
|server=XXX
|mayor=Roadsidemayor
|comayors=Roadsidecomayor1, Roadsidecomayor1
|population=21
|allies=
*[[Camelot]]
*[[Broken Hills]]
*[[Westport]]
|enemies=None
}}
Empty template thing for copypasters:
{{settlement
|name=
|motto=
|type=
|size=
|server=
|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.