Template:Infobox
Jump to navigation
Jump to search
The Infobox template displays a generic infobox for a wide variety of items, locations, and characters.
Use
Syntax
{{Infobox |name = Name of Item (Page name if omitted) |image = file_name.png (Page name.png if omitted) |caption = Smaller image description text inserted under image |description = In-game menu description of the item |category = Item category (Quest Item/Food/Ingredient) |source = Quest / Merchant / Cooking |type = Subcategory, for Ingredients (Vegetable/Meat/Seafood...etc) |stats = Base stats for food, each should be entered inside the {{stat}} template |price = Price (in Salt) to purchase from merchants |location = Location where item is found |locations = Locations where item is found - pluralization of location |connected = For locations. Lists connected area maps. |favfood = Favorite Food flavor text, for characters |likes = Likes flavor text, for characters |dislikes = Dislikes flavor text, for characters |relationship = Relationships to other characters |purchasedfrom = Purchased From |ingredients = Displays the recipe section, and a list of ingredients. Each should be inside a {{name}} template }}
Parameters
Only parameters relevant to the current item should be provided (completely delete irrelevant ones to fully omit from the infobox). Default value for all arguments is empty, unless specified otherwise.
- name = item_name
- Name of item. Default is page name
- image = image_name
- Name of image(s) to display in infobox. Default is page_name.png
- Default is page name.png on English wikis, and eng.png parameter on non-English wikis
- The image names should include the extension (.jpg, .gif, etc)
- caption = caption
- smaller version of description text - used for location images to describe the map/image
- description = description
- In-game inventory menu description of the item.
- Note that the description is expected to exactly match the in-game description -- if there are typos, errors, etc., they should be reproduced exactly.
- This isn't to be confused with item descriptions which display in the Cooking Station menu, or the recipes menu. Only descriptions listed in backpack/ingredients in the inventory tab, and Quest Items.
- category = value
- The category of the item - e.g., Quest Item, Food, Ingredient. Not applicable for non-items
- source = value
- How the item is obtained - e.g., Quest/Merchant/Cooking
- Value is inserted as plain text, page values should be properly link wrapped.
- type = Vegetable, Fruit Meat, Eggs and Dairy, Seafood, Spice
- For ingredient type items
- Automatically wraps the value in {{name}} template, which links to its page and adds a small icon
- stats = value
- Base (no star) stats for food items
- Each stat should be entered as individual value wrapped in a {{stat}} Template. E.g., - {{stat|health|8}}
- location = value
- Location where item is found
- locations = value
- Location(s) where item is found. Pluralization of location parameter.
- connected = values
- For locations. Lists connected area maps.
- Wrap each page location in a link tag, and add <br /> after each to separate the lines
- favfood = value
- Flavor text for character infoboxes
- Favorite Food Info sourced from the character section on the eastwardgame.com website.
- likes = value
- Flavor text for character infoboxes
- Likes Info sourced from the character section on the eastwardgame.com website.
- dislikes = value
- Flavor text for character infoboxes
- Dislikes Info sourced from the character section on the eastwardgame.com website.
- relationships= value
- Flavor text for character infoboxes
- Relationships to other characters. Each character should be entered as [[Character]] (relationship)
- purchasedfrom= value
- Info about merchant(s) which offers item for sale
- Specific vendor names, and locations
- ingredients = values
- List of all ingredients / source items necessary to cook a dish
- The Name template should be used to format each item name and specify the quantity necessary
Examples
Mushroom | |
Watch out for the poisonous ones. | |
Category: | Ingredients |
Type: | Vegetable |
The code below generates the infobox shown to the right.
{{Infobox |name= Mushroom |description = Watch out for the poisonous ones. |category=Ingredient |type = Vegetable }}
Taco | |
Flavor so intense, it'll put hair on your chest. | |
Category: | Food |
Source: | Cooking |
Base Stats: | |
Recipe | |
Ingredients: | Ribs (1) Tomato (1) Lettuce (1) |
The code below generates the infobox shown to the right.
{{Infobox |name= Taco |description = Flavor so intense, it'll put hair on your chest. |category=Food |source=Cooking |stats={{stat|health|6}} |ingredients={{name|Ribs|1}}<br />{{name|Tomato|1}}<br />{{name|Lettuce|1}} }}
Infobox | |
| |
A map of the Dig Site | |
Connected To: | Potcrock Isle Ancient Ruins |
The code below generates the infobox shown to the right. Note that the missing "name" parameter is populated with the page name.
{{stub}} {{Infobox |image=Dig Site.png |caption=A map of the Dig Site |connected=[[Potcrock Isle]]<br />[[Ancient Ruins]] }}
Sam | |
Favorite Food: | John's Cooking |
Likes: | Playing Earth Born |
Dislikes: | Slimes, Being Mistaken for someone else |
The code below generates the infobox shown to the right.
{{infobox |name=Sam |image=Sam Early Art.png |favfood=[[John]]'s Cooking |likes=Playing [[Earth Born]] |dislikes=Slimes, Being Mistaken for someone else }}