m (added tags : check, uncheck, seasonal, archived + color scheme with bolean) |
mNo edit summary |
||
Line 15: | Line 15: | ||
{{#if: {{{station3|}}} |<br> [[Image:Veloren_{{{station3|}}}.png|25px|link=]] [[{{{station3|}}}]]| }}</td> |
{{#if: {{{station3|}}} |<br> [[Image:Veloren_{{{station3|}}}.png|25px|link=]] [[{{{station3|}}}]]| }}</td> |
||
| }} |
| }} |
||
<td>{{#ifexpr: {{{check|}}}|<span style="background: rgb(0, 145, 70); padding:3px; border-radius: 5px">checked</span> <br>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}<br>|<span style="background: rgb(255, 0, 0); padding:3px; border-radius: 5px">unchecked<br></span>}} |
<td>{{#ifexpr: {{{check|}}}|<span style="background: rgb(0, 145, 70); padding:3px; border-radius: 5px">checked</span> <br>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}<br>|<span style="background: rgb(255, 0, 0); padding:3px; border-radius: 5px">unchecked<br></span>}}{{#ifexpr: {{{seasonal|}}}|<span style="background: rgb(255, 90, 0); padding:3px; border-radius: 5px">seasonal</span><br>{{{partydate|}}}|}}{{#ifexpr: {{{archive|}}}|<span style="background: rgb(127, 85, 50); padding:3px; border-radius: 5px">archived</span><br>{{{archivedate|}}}<br>|}}</td> |
||
</tr> |
</tr> |
||
</includeonly> |
</includeonly> |
Revision as of 17:27, 3 October 2022
This template is to be used under Template:RecipeHeader and before Template:RecipeEnd. Each words in ingredients and recipe must be capitalized (except : of, and) and in singular.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quantity of the final item | qttR | no description | Number | suggested |
Result name (in title case) : | result | The name of the result of the recipe in title case.
| Page name | required |
Merge stations | mergestations | Use this on the first reciperow you want to merge. Any
| Boolean | optional |
Rowspan | rowspan | Use on the top reciperow you want to merge. Add the number of rows you want to merge.
| Number | optional |
Set of items as : "All iron items" | item0 | no description
| String | suggested |
Quantity item1 : | qtt1 | no description | Number | suggested |
item1 (in title case) : | item1 | The name of the first ingredient of the recipe in title case.
| Page name | suggested |
Quantity of item2 | qtt2 | no description | Number | suggested |
Item2 name (in title case) : | item2 | The name of the second ingredient of the recipe in title case.
| Page name | suggested |
Quantity of item3 | qtt3 | no description | Number | suggested |
Item3 name (in title case) : | item3 | The name of the third ingredient of the recipe in title case. | Page name | suggested |
Quantity of item4 | qtt4 | no description | Page name | optional |
Item4 name (in title case) : | item4 | The name of the fourth ingredient of the recipe in title case. | Page name | optional |
Quantity of item5 | qtt5 | no description | Number | optional |
Item5 name (in title case) : | item5 | The name of the fifth ingredient of the recipe in title case. | Page name | optional |
Quantity of item6 | qtt6 | no description | Number | optional |
Item6 name (in title case) : | item6 | The name of the sixth ingredient of the recipe in title case. | Page name | optional |
Quantity of item7 | qtt7 | no description | Number | optional |
Item7 name (in title case) : | item7 | The name of the seventh ingredient of the recipe in title case. | Page name | optional |
Quantity of item8 | qtt8 | no description | Number | optional |
Item8 name (in title case) : | item8 | The name of the eighth ingredient of the recipe in title case. | Page name | optional |
Required station/tool1 for the recipe : | station1 | The name of the required first station or tool for the recipe
| Page name | required |
Required station/tool2 for the recipe : | station2 | The name of the required second station or tool for the recipe
| Page name | suggested |
Required station/tool3 for the recipe : | station3 | The name of the required third station or tool for the recipe
| Page name | optional |
Is the recipe correct ? | check | Here is the recipe book : https://gitlab.com/veloren/veloren/-/blob/master/assets/common/recipe_book.ron
| Boolean | suggested |
Is the recipe removed from veloren ? | archive | After an update, the recipe no longer appear in crafting recipe. if the recipe has changed, don't check, change the recipe.
| Boolean | suggested |
Removal date | archivedate | no description | Date | suggested |
Seasonal ? | seasonal | Is the item only available during some event ? eg : Christmas or Veloren's anniversary celebration ?
| Boolean | optional |
Party date : | partydate | The date of the party, type either Christmas or YY-MM-DD | Date | optional |