Template:Tavern/Documentation

From GodWiki
Jump to navigation Jump to search

As well as automatically categorizing an article into Category:Taverns, this template supplies some standard information about the subject of the article. For details on how to create a Tavern article, refers to the Creators Manual and the Guideline: Tavern Articles.

Parameters

|image=filename
Optional but preferred — The full image file name.
If an image is not supplied, a placeholder will be used, and by default the template will place the {{picture}} hatnote before the infobox. Disable this if necessary with |ignore-no-image=yes (see below).
|caption=Image description
Optional — Use only if |image= is also set. Text of a descriptive caption to display beneath the image.
|feature=
Optional — Brief description of features of the Tavern.
|dish=
Optional — The name of a signature dish of the tavern
|drink=
Optional — The name of a signature drink of the tavern
|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.

Example of Use

{{tavern
| image   = <!-- An image filename (e.g. Example_picture_name.jpg). If the filename doesn't exist, this gives you a link to upload it. -->
| caption = <!-- A caption to be displayed beneath the image. -->
| feature = <!-- Features of the tavern. -->
| dish    = <!-- The signature or offered dish(es) at the tavern. -->
| drink   = <!-- The signature or offered drink(s) at the tavern. -->
}}
Taverns of Godville
Tavern/Documentation
Example.jpg
Example
Feature An exemplary beer at all time!
Signature Dish Dish-proportionate
Signature Drink The Example beer
{{tavern
| image   = Example.jpg
| caption = Example
| feature = An exemplary beer at all time!
| dish    = Dish-proportionate
| drink   = The Example beer
}}