Template:EffectsTable
Jump to navigation
Jump to search
The EffectsTable template displays a standard table design for food pages, specifically to outline a grid of quality based effects and buffs.
Use
Syntax
{{Infobox |image = The English name of the item image that will display below quality stars |0starstats = The stats for no star quality. Each stat should be wrapped in a {{stat}} template. |1starstats = The stats for 1 star quality. Each stat should be wrapped in a {{stat}} template. |2starstats = The stats for 2 star quality. Each stat should be wrapped in a {{stat}} template. |3starstats = The stats for 3 star quality. Each stat should be wrapped in a {{stat}} 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.
- image = value
- Name of item image to display in the quality column. Default is page_name.png
- The extension .png is automatically added, just the name should be entered.
- 0starstats = value
- The stats for no star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 1starstats = value
- The stats for 1 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 2starstats = value
- The stats for 2 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 3starstats = value
- The stats for 3 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
The following optional parameters apply to recipes with only two ingredient types which can be combined in a 2-1 and 1-2 recipe. For example - Sweet and Sour Pork can be made using Fruit (2) & Meat (1) OR Fruit (1) & Meat (2), which each produce different base stats.
- ingredient1 = value
- First (of two) ingredient types.
- Text, no formatting
- ingredient2 = value
- Second (of two) ingredient types.
- Text, no formatting
- 0starstats2 = value
- The second set of stats for no star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 1starstats2 = value
- The second set of stats for 1 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 2starstats2 = value
- The second set of stats for 2 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
- 3starstats2 = value
- The second set of stats for 3 star quality.
- Each stat should be wrapped in a {{stat}} template.
- Example: {{stat|health|5}}{{stat|armor|2}}
Examples
The code below generates the infobox below it.
{{EffectsTable |image=Lasagna |0starstats={{stat|health|6}}{{stat|armor|2}} |1starstats={{stat|armor|9}}{{stat|energy|3}} |2starstats={{stat|health|12}}{{stat|armor|4}} |3starstats={{stat|health|15}}{{stat|armor|5}} }}
Quality | Effects | SP | LC | FM | ECS |
---|---|---|---|---|---|
{{EffectsTable |image=Pork Chop |ingredient1=Vegetable |ingredient2=Meat |0starstats={{stat|health|6}} |0starstats2={{stat|health|7}} |1starstats={{stat|health|9}} |1starstats2={{stat|health|11}} |2starstats={{stat|health|12}} |2starstats2={{stat|health|14}} |3starstats={{stat|health|15}} |3starstats2={{stat|health|18}} }}
Quality | Effects | SP | LC | FM | ECS | |
---|---|---|---|---|---|---|
Vegetable (2) Meat (1) |
Vegetable (1) Meat (2) |
|||||