Difference between revisions of "Template:Settlement"
Jump to navigation
Jump to search
(testing nonsquare deed sizes) |
m |
||
(36 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
+ | <templatestyles src="Settlement/styles.css" /> | ||
<includeonly> | <includeonly> | ||
− | {| 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" |
|+ '''{{{name|{{PAGENAME}}}}}''' <br> ''{{{motto|A village like any other}}}'' | |+ '''{{{name|{{PAGENAME}}}}}''' <br> ''{{{motto|A village like any other}}}'' | ||
|- | |- | ||
Line 10: | Line 11: | ||
|v|V | |v|V | ||
|village|Village | |village|Village | ||
− | ={{#if:{{{size|}}}|'''Size {{{size | + | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} '''Village''' |
|hs|HS | |hs|HS | ||
|homestead|Homestead | |homestead|Homestead | ||
Line 16: | Line 17: | ||
|Deed info missing | |Deed info missing | ||
}} | }} | ||
+ | |||
|- | |- | ||
− | ! | + | ! 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;" | {{{population|Unknown}}} | | style="text-align: center;" | {{{population|Unknown}}} | ||
|- | |- | ||
− | ! | + | ! class="settlement-highlight-row" | Allies |
|- | |- | ||
| | | | ||
{{{allies|Unknown}}} | {{{allies|Unknown}}} | ||
+ | |||
|- | |- | ||
− | ! | + | ! class="settlement-highlight-row" | Enemies |
|- | |- | ||
| | | | ||
{{{enemies|Unknown}}} | {{{enemies|Unknown}}} | ||
|} | |} | ||
− | </includeonly><noinclude> | + | |
+ | </includeonly> | ||
+ | |||
+ | <noinclude> | ||
== Usage examples == | == Usage examples == | ||
Line 45: | Line 57: | ||
|size=10 | |size=10 | ||
|mayor=Roadsidemayor | |mayor=Roadsidemayor | ||
+ | |comayors=Roadsidecomayor1, Roadsidecomayor1 | ||
|population=21 | |population=21 | ||
|allies= | |allies= | ||
Line 59: | Line 72: | ||
|size=10 | |size=10 | ||
|mayor=Roadsidemayor | |mayor=Roadsidemayor | ||
+ | |comayors=Roadsidecomayor1, Roadsidecomayor1 | ||
|population=21 | |population=21 | ||
|allies= | |allies= | ||
Line 64: | Line 78: | ||
*[[Broken Hills]] | *[[Broken Hills]] | ||
*[[Westport]] | *[[Westport]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|enemies=None | |enemies=None | ||
}} | }} | ||
Line 88: | Line 88: | ||
|motto= | |motto= | ||
|type= | |type= | ||
− | | | + | |size= |
− | |||
|mayor= | |mayor= | ||
|population= | |population= | ||
Line 100: | Line 99: | ||
*To use the default value, erase the 'equals'-sign after a parameter. | *To use the default value, erase the 'equals'-sign after a parameter. | ||
*Links, lists and other wiki formatting works fine. | *Links, lists and other wiki formatting works fine. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:23, 23 November 2023
Usage examples
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.