Difference between revisions of "Template:Settlement"
Jump to navigation
Jump to search
(Undoing, what the hell) |
(testing nonsquare deed sizes) |
||
Line 10: | Line 10: | ||
|v|V | |v|V | ||
|village|Village | |village|Village | ||
− | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}} '''Village''' | + | ={{#if:{{{size|}}}|'''Size {{{size}}}'''|}}{{#if:{{{x-size|}}}|'''Size {{{x-size}}}{{#if:{{{y-size|}}}x{{{y-size}}}}}'''|}} '''Village''' |
|hs|HS | |hs|HS | ||
|homestead|Homestead | |homestead|Homestead | ||
Line 64: | Line 64: | ||
*[[Broken Hills]] | *[[Broken Hills]] | ||
*[[Westport]] | *[[Westport]] | ||
+ | |enemies=None | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | {{settlement | ||
+ | |name=Non-square Settlement | ||
+ | |motto=All for one and every man for himself | ||
+ | |type=Village | ||
+ | |x-size=25 | ||
+ | |y-size=81 | ||
+ | |mayor=test | ||
+ | |population=0 | ||
+ | |allies=None | ||
|enemies=None | |enemies=None | ||
}} | }} | ||
Line 74: | Line 88: | ||
|motto= | |motto= | ||
|type= | |type= | ||
− | |size= | + | |x-size= |
+ | |y-size= | ||
|mayor= | |mayor= | ||
|population= | |population= | ||
Line 85: | Line 100: | ||
*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. | ||
+ | *For new-style sizes, use x-size= and y-size= | ||
+ | *For old-style sizes, use size= | ||
+ | |||
+ | {{settlement | ||
+ | |name=Non-square Settlement | ||
+ | |motto=All for one and every man for himself | ||
+ | |type=Village | ||
+ | |x-size=25 | ||
+ | |y-size=81 | ||
+ | |mayor=test | ||
+ | |population=0 | ||
+ | |allies=None | ||
+ | |enemies=None | ||
+ | }} | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Revision as of 23:39, 12 January 2011
Usage examples
Size 10 Village |
Mayor |
---|
Roadsidemayor |
Population |
21 |
Allies |
Enemies |
None |
{{settlement |name=Roadside |motto=All for one and every man for himself |type=Village |size=10 |mayor=Roadsidemayor |population=21 |allies= *[[Camelot]] *[[Broken Hills]] *[[Westport]] |enemies=None }}
{{settlement |name=Non-square Settlement |motto=All for one and every man for himself |type=Village |x-size=25 |y-size=81 |mayor=test |population=0 |allies=None |enemies=None }}
Empty template thing for copypasters:
{{settlement |name= |motto= |type= |x-size= |y-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.
- For new-style sizes, use x-size= and y-size=
- For old-style sizes, use size=
Size 25 Village |
Mayor |
---|
test |
Population |
0 |
Allies |
None |
Enemies |
None |