Difference between revisions of "Template:Settlement"
Jump to navigation
Jump to search
m |
(Checking single table) |
||
| Line 1: | Line 1: | ||
| − | + | <includeonly> | |
| − | |||
| − | |||
| − | |||
{| style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="1" border="1" | {| 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 | ||
}} | }} | ||
| Line 22: | Line 19: | ||
! style="background-color:#3c5;" | Mayor | ! style="background-color:#3c5;" | Mayor | ||
|- | |- | ||
| − | | style="text-align: center;"|{{{mayor|Unknown}}} | + | | style="text-align: center;" | {{{mayor|Unknown}}} |
|- | |- | ||
! style="background-color:#3c5;" | Population | ! style="background-color:#3c5;" | Population | ||
|- | |- | ||
| − | | style="text-align: center;"| | + | | style="text-align: center;" | {{{population|Unknown}}} |
| − | {{{population|Unknown}}} | ||
|- | |- | ||
! style="background-color:#3c5;" | Allies | ! style="background-color:#3c5;" | Allies | ||
| Line 39: | Line 35: | ||
{{{enemies|Unknown}}} | {{{enemies|Unknown}}} | ||
|} | |} | ||
| − | + | </includeonly><noinclude> | |
| − | + | == Usage examples == | |
| − | + | ||
| + | {{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 | ||
| + | }} | ||
<pre>{{settlement | <pre>{{settlement | ||
| Line 73: | Line 82: | ||
</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. | *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. | *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]] | ||
</noinclude> | </noinclude> | ||
Revision as of 23:08, 9 November 2007
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
}}
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.