Difference between revisions of "Template:Food"

From Official Wiki of the Renaissance Kingdoms
m (Mirilya moved page Template:TestFood to Template:Food)
Line 8: Line 8:
 
|{{{description}}}
 
|{{{description}}}
 
|}<br/>
 
|}<br/>
The {{#switch:{{{Singular/Plural}}}
+
The {{#switch:{{{singular/plural}}}
  |Plural = {{{name}}} are :
+
  |plural = {{{name}}} are :
  |Singular = {{{name}}} is :
+
  |singular = {{{name}}} is :
 
  |{{{name}}} is :}}
 
  |{{{name}}} is :}}
{{#switch:{{{typeFood}}}
+
{{#switch:{{{foodtype classic/luxury/medicinal/...|}}}
|Event = {{#switch:{{{typeVillage}}}
+
|classic= *a [[classic]] [[food]]
  |lake = * an [[event food]] :
+
**can be consumed by everyone {{#switch: {{{foodNote}}}
** cannot be fished in a [[village]] [[lake]] or from the deck of a [[ship]] {{#if: {{{obtainedBy|}}} |
+
**{{{foodNote}}} }}
** {{{obtainedBy}}} | }}
+
|luxury= * a [[luxury]] [[food]]:
  |orchard = * an [[event food]] :
+
** can only be consumed by characters in luxury level
** cannot be harvested in an [[orchard]] {{#if: {{{obtainedBy|}}} |
+
** used to gain luxury points by completing [[consumation card]]s {{#switch: {{{foodNote}}}
** {{{obtainedBy}}} | }}
+
** {{{foodNote}}} }}
  |monastery = * an [[event food]] :
+
* a luxury product:
**cannot be brewed by the [[monk]]s in a [[monastery]] {{#if: {{{obtainedBy|}}} |
+
** produced by the {{{artisan}}} in the [[workshop]] using {{{artisanIngredients}}}. {{#switch: {{{artisanNote|}}}
** {{{obtainedBy}}} | }}
+
**{{{artisanNote}}} }}
  |{{#if: {{{obtainedBy|}}} |* an [[event food]] :
+
|medicinal= *a [[medicinal]] food {{#switch: {{{medicinalProduction yes/no?}}}
** cannot be produced by an [[artisan]] in his/her [[workshop]]
+
|yes = ** produced by a [[physician]] in the [[consulting room]] by using [[medicinal herb]]s or mixing [[potion]]s. {{#switch: {{{foodNote}}}
** {{{obtainedBy}}} |* an [[event food]] }} }}
+
**{{{foodNote}}} }}
|Luxury = * a [[luxury food]] :
+
|no= ** cannot be produced by a [[physician]] in the [[consulting room]].}} {{#switch: {{{foodNote}}}
** can only be consumed by characters in the [[luxury]] [[level]]
+
**{{{foodNote}}} }} }} {{#switch: {{{eventFood |}}}
* a [[luxury product]] :
+
* an [[event]] [[food]]:  
** can be used to fill the [[consumation card]]s
+
** {{{eventFood}}} }} {{#switch: {{{artisanNote|}}} {{#switch: {{{artisan|}}}
|Medicine = {{#if: {{{obtainedBy|}}} |* a [[medical food]] :
+
|* an [[artisanal]] product:
** {{{obtainedBy}}} |* a [[medical food]] }}
+
** produced by the [[{{{artisan}}}]] in his/her [[workshop]] using {{{artisanIngredients}}}.
|{{#if: {{{obtainedBy|}}} |* a classic [[food]] :
+
** {{{artisanNote|}}} |}}
** {{{obtainedBy}}} |* a classic [[food]] }}
+
|* an [[artisanal]] product:
}}{{#if: {{{obtainedByObjectSpecial|}}} | * an [[event food]] :
+
**{{{artisanNote|}}} |}} {{#switch: {{{intermediateArtisan|}}} {{#switch: {{{medicinalProduction yes/no|}}}
** {{{obtainedByObjectSpecial}}} | }}{{#switch:{{{typeProduct}}}
+
|yes=* an [[intermediate]] [[medicinal]] product:
|field = * a [[ {{{typeProduct}}]] product :
+
** used as [[raw material]] by the [[physician]] in the [[consulting room]] to produce {{{craft}}}. {{#switch: {{{intermediateNote}}}
** produced on a [[{{{field}}}]] by a [[peasant]]
+
|** {{{intermediateNote|}}} |}} |}}
|monastery = * a [[{{{typeProduct}}} product]] :
+
|* an [[intermediate]] product:
** produced by the [[monk]]s in a [[brewing workshop]] of [[{{{typeProduct}}}]]
+
** used as [[raw material]] by the {{{intermediateArtisan}}} in the [[workshop]] to produce {{{craft}}}. {{#switch: {{{intermediateNote|}}}
|village = * a [[{{{typeProduct}}} product]] :<br/>{{#switch:{{{typeVillage}}}
+
|**{{{intermediateNote}}} }}
  |sea = ** can be fished in [[village]]s with a [[lake]]  
+
|*an [[intermediate]] product: {{#switch: {{{intermediateNote}}}
** can be fished on board of a  [[ship]]
+
|** {{{intermediateNote}}} |}} |}} {{#switch: {{{rawMaterial yes/-}}}
  |lake = ** can be fished in [[village]]s with a [[{{{typeVillage}}}]]
+
|yes= * a [[raw material]]:
  |orchard = ** can be harvested in [[villages]] with an [[{{{typeVillage}}}]]
+
** {{{rawMaterialNote}}} |}} {{#switch: {{{fieldType corn/vegetable/grape/olive/barley/cow/goat/dairy sheep|}}}
}}
+
|* a [[field]] product:
}}</br></br>{{#switch:{{{typeProduct}}}
+
** produced on a [[field]] by a [[peasant]].|}} {{#switch: {{{VillageType lake/orchard/monastery/boat/node/...|}}}
|philtre = {{#if: {{{artisanPIMP|}}} | * a [[ {{{typeMaterial}}}]] :
+
* a [[village product]]:
** used by the {{{artisanPIMP}}} to manufacture  {{{manufacturedProduct}}} | * a [[{{{typeMaterial}}}]] {{#if: {{{manufacturedProduct|}}} | {{{manufacturedProduct}}} | }} }}
+
|lake= **can be fished in [[villages]] with a [[lake]].
|{{#if: {{{raw material|}}} | * an [[artisanal product]] :
+
|orchard = **can be picked in [[villages]] with an [[orchard]]
** produced by the {{{artisan}}} in his/her [[workshop]] from {{{raw material}}} | }}{{#switch:{{{typeMaterial}}}
+
|monastery= **can be brewed by [[monk]]s in a [[monastery]].
|intermediate = {{#if: {{{artisanPIMP|}}} | * a [[{{{typeMaterial}}} product]] :
+
|boat =**can be fished in [[villages]] with a [[lake]] and from the [[deck]] of a [[boat]].
** used as [[raw material]] by the {{{artisanPIMP}}} to manufacture {{{manufacturedProduct}}} | * a [[{{{typeMaterial}}} product]] {{{manufacturedProduct}}} }}
+
|node=**can be collected in [[villages]] and on [[node]]s.
|raw = {{#if: {{{artisanPIMP|}}} | * a [[{{{typeMaterial}}} material]] :
+
|**{{{VillageType lake/orchard/monastery/boat/node/...}}} |}}
** used by the {{{artisanPIMP}}} to manufacture  {{{manufacturedProduct}}} | * a [[{{{typeMaterial}}} material]] {{{manufacturedProduct}}} }} }} }}<br/><br/>
+
 
{{#switch:{{{Singular/Plural}}}
+
{{#switch:{{{singular/plural}}}
|Singular = {{#switch:{{{typeBonus}}}
+
|singular = {{#switch: {{{typeBonus reduce/heal/provide/...|}}}
|Reduces = It reduces :
+
|reduce = It reduces :
 
* {{{bonus}}}
 
* {{{bonus}}}
|Random = It {{{bonus}}}
+
|heal = It heals :  
|Healing = It heals :  
 
 
* {{{bonus}}}  
 
* {{{bonus}}}  
|It provides :
+
|provide = It provides:
 
* {{{bonus}}}
 
* {{{bonus}}}
}}
+
|It {{{bonus}}} |}}
|Plural= {{#switch:{{{typeBonus}}}
+
|plural= {{#switch:{{{typeBonus reduce/heal/provide/...}}}
|Reduces = They reduce :
+
|reduce = They reduce :
 
* {{{bonus}}}
 
* {{{bonus}}}
|Random = They {{{bonus}}}
+
|heal = They heal :  
|Healing = They heal :  
 
 
* {{{bonus}}}  
 
* {{{bonus}}}  
|They provide :
+
|provide = They provide :  
* {{{bonus}}}
 
}}
 
|{{#switch:{{{typeBonus}}}
 
|Reduce  = They reduce :
 
 
* {{{bonus}}}
 
* {{{bonus}}}
|Random = They {{{bonus}}}
+
|They {{{bonus}}} |}}
|Healing = They heal :
+
|It {{{bonus}}} }}
* {{{bonus}}}  
+
<br/><br/>
|They provide :
+
{{#switch:{{{singular/plural}}}
* {{{bonus}}}
+
  |singular = {{#switch:{{{minPrice}}}
}}
 
}}<br/><br/>
 
{{#switch:{{{Singular/Plural}}}
 
  |Singular = {{#switch:{{{minPrice}}}
 
 
   |None = It cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |None = It cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |It can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/>
 
   |It can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/>
   }}{{#if: {{{premium|}}} |It can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |}}
+
   }}{{#switch: {{{premium|}}} |It can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |}}
  |Plural = {{#switch:{{{minPrice}}}
+
  |plural = {{#switch:{{{minPrice}}}
 
   |None = They cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |None = They cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |They can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[Pound]]s.<br/>
 
   |They can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[Pound]]s.<br/>
   }}{{#if: {{{premium|}}} |They can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |}}
+
   }}{{#switch: {{{premium|}}} |They can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |}}
 
   |None = It cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |None = It cannot be sold or bought on the [[village]] [[market]].<br/>  
 
   |It can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[Pound]]s.<br/>
 
   |It can be sold or bought on the [[village]] [[market]] between {{{minPrice}}} and {{{maxPrice}}} [[Pound]]s.<br/>
  }}{{#if: {{{premium|}}} |It can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |
+
{{#switch: {{{premium|}}} |It can be bought in [[Premium access]] for  {{{premium}}} [[gem]]s.<br/> |
}}<br/>
+
}} }}<br/>
{{#switch:{{{Singular/Plural}}}
+
 
  |Singular = It has a [[weight]] of {{{weight}}}.<br/>
+
{{#switch:{{{singular/plural}}}
  |Plural =They have a [[weight]] of {{{weight}}}.<br/>
+
  |singular = It has a [[weight]] of {{{weight}}}.<br/>
  |It has a [[weight]] of {{{weight}}}.<br/>
+
  |plural =They have a [[weight]] of {{{weight}}}.<br/>
}}{{#if: {{{ProductionPlace|}}} |<br/><br/>
+
  |It has a [[weight]] of {{{weight}}}.<br/> }}
{{{ProductionPlace}}}<br/> |}}<br/>
+
 
{{#switch:{{{field}}}
+
{{#switch:{{{fieldType corn/vegetable/grape/olive/barley/cow/goat/dairy sheep}}}
  |sheep field ='''Note : '''
+
  |dairy sheep ='''Note : '''
* Details about the milking yield can be found on the [[{{{field}}}]]s page.
+
* Details about the milking yield can be found on the [[dairy sheep field]] page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |goat field ='''Note : '''
+
  |goat ='''Note : '''
* Details about the milking yield can be found on the [[{{{field}}}]]s page.
+
* Details about the milking yield can be found on the [[goat field]] page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |cow field ='''Note : '''
+
  |cow ='''Note : '''
* Details about the milking yield can be found on the [[{{{field}}}]]s page.
+
* Details about the milking yield can be found on the [[cow field]] page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |vegetable field ='''Note : '''
+
  |vegetable ='''Note : '''
* Details about the harvest yield can be found on the [[{{{field}}}]]s page.
+
* Details about the harvest yield can be found on the [[vegetables field]] page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |corn field ='''Note : '''
+
  |corn ='''Note : '''
* Details about the harvest yield can be found on the [[{{{field}}}]]s page.
+
* Details about the harvest yield can be found on the [[corn field]]s page.
 
* A bag of corn has to be in the [[property inventory]] of your [[character]] for the field to be sown.
 
* A bag of corn has to be in the [[property inventory]] of your [[character]] for the field to be sown.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |olive field ='''Note : '''
+
  |olive ='''Note : '''
* Details about the harvest yield can be found on the [[{{{field}}}]]s page.
+
* Details about the harvest yield can be found on the [[olive orchard]] page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |barley field ='''Note : '''
+
  |barley ='''Note : '''
* Details about the harvest yield can be found on the [[{{{field}}}]]s page.
+
* Details about the harvest yield can be found on the [[barley field]] page.
* A sac of corn has to be in the [[property inventory]] of your [[character]] for the field to be sown.
+
* A sac of barley has to be in the [[property inventory]] of your [[character]] for the field to be sown.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
|wine field ='''Note : '''
+
|grape ='''Note : '''
* Details about the harvest yield can be found on the [[{{{field}}}]]s page.
+
* Details about the harvest yield can be found on the [[vineyard]]s page.
{{#if: {{{note|}}} |* {{{note}}}|}}
+
{{#switch: {{{note|}}} |* {{{note}}}|}}
  |{{#if: {{{raw material|}}} |'''Note : '''  
+
  |{{#switch: {{{raw material|}}} |'''Note : '''  
 
   *Details about the manufacturing can be found on the [[workshop]]s page of the  [[{{{artisan}}}]].
 
   *Details about the manufacturing can be found on the [[workshop]]s page of the  [[{{{artisan}}}]].
{{#if: {{{note|}}} |* {{{note}}}|}} |{{#if: {{{note|}}} |'''Note :'''
+
{{#switch: {{{note|}}} |* {{{note}}}|}} |{{#switch: {{{note|}}} |'''Note :'''
 
* {{{note}}}|}}
 
* {{{note}}}|}}
 
  }}
 
  }}
Line 139: Line 129:
 
[[Summary]]
 
[[Summary]]
 
----
 
----
 +
[[Category:Food]]
 +
{{#switch: {{{premium|}}} |[[Category:Premium Access]]}}{{#switch: {{{[[foodtype classic/luxury/medicinal]]}}} |medicinal = [[Category:medicinal food]] |luxury = [[Category:Luxury food]] |classic = [[classic food]] }}
 +
{{#switch: {{{eventFood|}}} |[[Category:Event food]]}} {{#switch:{{{artisan}}} | [[Category:Artisan product]]}} {{#switch:{{{raw material}}} |[[Category:Raw material]]}}
 +
{{#switch:{{{intermediateArtisan}}} |[[Category:Intermediate product]]}}
 +
{{#switch: {{{categorieSupp|}}} | {{{categorieSupp}}} | }}
 +
{{#switch: {{{FrName|}}} |[[FR:{{{FrName}}}]] |}}
  
 
 
{{#if: {{{premium|}}} | [[Category:Premium Access]] | }}[[Category:Food]]{{#switch:{{{typeFood}}}
 
|Medicine = {{#if: {{{obtainedBySpecialObject|}}} | [[Category:Event food]] | }}[[Category:Medical food]]
 
|Event = [[Category:Event food]]
 
|Luxury = [[Category:Luxury food]]{{#if: {{{obtainedBySpecialObject|}}} | [[Category:Event food]] | }}
 
|[[Category:Classic food]]{{#if: {{{obtainedBySpecialObject|}}} | [[Category:Event food]] | }}
 
}}{{#if: {{{typeMaterial|}}}
 
|{{#switch:{{{typeMaterial}}}
 
  |intermediate = {{#if: {{{raw material|}}} | [[Category:Intermediate product]] | [[Category:Intermediate product]] }}
 
  |raw material = {{#if: {{{raw material|}}} | [[Category:Artisan product]][[Category:raw material]] | [[Category:raw material]] }}
 
| }}
 
}}{{#if: {{{raw material|}}} | [[Category:Artisan product]] |}}{{#switch:{{{typeProduct}}}
 
|philtre = {{#if: {{{typeProduct|}}} | [[Category:Philtre]] | }}
 
|{{#if: {{{typeProduct|}}} | [[Category: {{{typeProduct}}} product]] | }} }}{{#if: {{{categorieSupp|}}} | {{{categorieSupp}}} | }}
 
{{#if: {{{FrName|}}} |[[FR:{{{FrName}}}]] |}}
 
  
 
<noinclude>
 
<noinclude>
Line 164: Line 144:
 
description=<nowiki>|</nowiki><br/>
 
description=<nowiki>|</nowiki><br/>
 
name=<nowiki>|</nowiki><br/>
 
name=<nowiki>|</nowiki><br/>
Singular/Plural=<nowiki>|</nowiki><br/>
+
singular/plural=<nowiki>|</nowiki><br/>
typeFood=<nowiki>|</nowiki><br/>
+
foodtype classic/luxury/medicinal=<nowiki>|</nowiki><br/>
obtainedBy=<nowiki>|</nowiki><br/>
+
foodNote<nowiki>|</nowiki><br/>
 +
medicinalProduction yes/no=<nowiki>|</nowiki><br/>
 +
eventFood=<nowiki>|</nowiki><br/>
 +
artisan=<nowiki>|</nowiki><br/>
 +
artisanIngredients=<nowiki>|</nowiki><br/>
 +
artisanNote=<nowiki>|</nowiki><br/>
 +
craft=<nowiki>|</nowiki><br/>
 +
intermediate yes/-=<nowiki>|</nowiki><br/>
 +
intermediateArtisan=<nowiki>|</nowiki><br/>
 +
intermediateNote=<nowiki>|</nowiki><br/>
 +
rawMaterial yes/-=<nowiki>|</nowiki><br/>
 +
rawMaterialNote=<nowiki>|</nowiki><br/>
 +
fieldType corn/vegetable/grape/olive/barley/cow/goat/dairy sheep=<nowiki>|</nowiki><br/>
 +
typeVillage lake/orchard/monastery/boat/node/…=<nowiki>|</nowiki><br/>
 +
typeBonus reduce/heal/provide/...=<nowiki>|</nowiki><br/>
 
bonus=<nowiki>|</nowiki><br/>
 
bonus=<nowiki>|</nowiki><br/>
typeBonus=<nowiki>|</nowiki><br/>
 
 
minPrice=<nowiki>|</nowiki><br/>
 
minPrice=<nowiki>|</nowiki><br/>
 
maxPrice=<nowiki>|</nowiki><br/>
 
maxPrice=<nowiki>|</nowiki><br/>
 +
premium=<nowiki>|</nowiki><br/>
 
weight=<nowiki>|</nowiki><br/>
 
weight=<nowiki>|</nowiki><br/>
 
note=<nowiki>|</nowiki><br/>
 
note=<nowiki>|</nowiki><br/>
premium=<nowiki>|</nowiki><br/>
 
typeProduct=<nowiki>|</nowiki><br/>
 
field=<nowiki>|</nowiki><br/>
 
typeMaterial=<nowiki>|</nowiki><br/>
 
artisan=<nowiki>|</nowiki><br/>
 
artisanPIMP=<nowiki>|</nowiki><br/>
 
raw material=<nowiki>|</nowiki><br/>
 
manufacturedProducts=<nowiki>|</nowiki><br/>
 
typeVillage=<nowiki>|</nowiki><br/>
 
obtainedBySpecialObject=<nowiki>|</nowiki><br/>
 
ProductionPlace=<nowiki>|</nowiki><br/>
 
 
categorieSupp=<nowiki>|</nowiki><br/>
 
categorieSupp=<nowiki>|</nowiki><br/>
 
FrName=<nowiki>|</nowiki><br/>
 
FrName=<nowiki>|</nowiki><br/>
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 14:07, 22 December 2024

Info button image.png [[File:{{{image}}}.png]] {{{description}}}

The {{{name}}} is :


It {{{bonus}}}

It can be sold or bought on the village market between {{{minPrice}}} and {{{maxPrice}}} Pounds.

It has a weight of {{{weight}}}.




Summary





{{Food|
image=|
imageExtension=|
description=|
name=|
singular/plural=|
foodtype classic/luxury/medicinal=|
foodNote|
medicinalProduction yes/no=|
eventFood=|
artisan=|
artisanIngredients=|
artisanNote=|
craft=|
intermediate yes/-=|
intermediateArtisan=|
intermediateNote=|
rawMaterial yes/-=|
rawMaterialNote=|
fieldType corn/vegetable/grape/olive/barley/cow/goat/dairy sheep=|
typeVillage lake/orchard/monastery/boat/node/…=|
typeBonus reduce/heal/provide/...=|
bonus=|
minPrice=|
maxPrice=|
premium=|
weight=|
note=|
categorieSupp=|
FrName=|
}}