Template:Town/Documentation

From GodWiki
Jump to navigation Jump to search

This template also categorises the article into Category:Towns and supplies information about it. For details on how to create a town article, refers to the Creators Manual and the Guideline: Town Articles.

Parameters

|milestone=
The number of milestones the town is from Godville. Default is 'Unknown'.
|code=
The town's one- (Godville) or two-letter (all others) map code. Default is '??'.
(Alternate parameter name: |abbreviation=)
|features=
Features the town is known for, e.g. "Good trading, expensive skills". Default is 'Unknown'.
(Alternate parameter names: |known= or |description=)
|motto=
Optional The motto of the town.
|image=
Optional The town's emblem. It will be resized to 200px width. Full name of image file is needed.
|caption=Image description
Optional — Use only if |image= is also set. Text of a descriptive caption to display beneath the image.
|ignore-no-image=yes
Optional — Set to yes (or any similar positive-state value) to disable the automatic placement of {{Picture}} above the infobox.
|top=no
Optional — Set to no to disable the automatic placement of the {{Top}} template on the article.
|nocat=anything
Optional — If set to any value, the template will not apply [[Category:Geography]] [[Category:Towns]] to the page in which it appears. The default behaviour for the template is to correctly categorise the page.

Example of Use

Towns of Godville
Town/Documentation
Example.jpg
Example
Home milestone 9000
Map code OK
Known for Cheap wine, three day growth
Motto wtf?
{{town
| image     = Example.jpg
| caption   = Example
| milestone = 9000
| code      = OK
| features  = Cheap wine, three day growth
| motto     = wtf?
}}