Difference between revisions of "Template:RawMaterial"

From Official Wiki of the Renaissance Kingdoms
(Creation)
 
(Update)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
** {{{herbNote}}} | }}{{#if: {{{materialNote|}}} | * a [[raw material]]:
 
** {{{herbNote}}} | }}{{#if: {{{materialNote|}}} | * a [[raw material]]:
 
{{{materialNote}}} | * a [[raw material]] }}{{#if: {{{specialNote|}}} | * a [[special object]]:
 
{{{materialNote}}} | * a [[raw material]] }}{{#if: {{{specialNote|}}} | * a [[special object]]:
{{{specialNote}}} | }}{{#if: {{{artisan|}}} | * an [[artisanal product]]:
+
** {{{specialNote}}} | }}{{#if: {{{artisan|}}} | * an [[artisanal product]]:
 
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.| }}{{#if: {{{fieldNote|}}} | * a [[field product]]:
 
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.| }}{{#if: {{{fieldNote|}}} | * a [[field product]]:
 
** supplied by a {{fieldNote}}| }}{{#switch:{{{mineNote}}}  
 
** supplied by a {{fieldNote}}| }}{{#switch:{{{mineNote}}}  
Line 27: Line 27:
 
** {{{specialNote}}} | }}<br/><br/>}}
 
** {{{specialNote}}} | }}<br/><br/>}}
  
{{#if: {{{bonusNote|}}} | It {{{bonusNote}}}<br/><br/> |}}{{#switch:{{{minPrice}}}
+
{{#switch:{{{typeName}}}
|No = It can't be sold or bought on the [[market]] of the [[town]].<br/>  
+
|P = {{#if: {{{bonusNote|}}} | They {{{bonusNote}}}<br/><br/> |}}{{#switch:{{{minPrice}}}
|It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}}.<br/>   
+
  |No = They can't be sold or bought on the [[market]] of the [[town]].<br/>
}}{{#if: {{{premium|}}} |It can also be purchased via the {{{Premium}}}.<br/> |}}<br/>
+
  |They can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}}.<br/> 
 +
}}{{#if: {{{premium|}}} |They can also be purchased via the {{{Premium}}}.<br/> |}}
 +
|{{#if: {{{bonusNote|}}} | It {{{bonusNote}}}<br/><br/> |}}{{#switch:{{{minPrice}}}
 +
  |No = It can't be sold or bought on the [[market]] of the [[town]].<br/>  
 +
  |It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}}.<br/>   
 +
}}{{#if: {{{premium|}}} |It can also be purchased via the {{{Premium}}}.<br/> |}} }}<br/>
  
It has a [[weight]] of {{{weight}}} in the inventory.<br/><br/>
+
{{#switch:{{{typeName}}}
 +
|P = They have a [[weight]] of {{{weight}}} in the inventory
 +
|It has a [[weight]] of {{{weight}}} in the inventory.}}<br/><br/>
  
 
{{#if: {{{artisan|}}}  
 
{{#if: {{{artisan|}}}  

Latest revision as of 22:54, 25 July 2024

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

The {{{itemName}}} is :

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

It has a weight of {{{weight}}} in the inventory.




Summary


[[FR:{{{frName}}}]]


Usage

The various variable of the template Raw material are:

{{RawMaterial|
image=|
description=|
itemName=|
typeName=|
typeMaterial=|
materialNote=|
specialNote=|
artisan=|
recipes=|
intermediateArtisan=|
intermediateRecipes=|
fieldNote=|
herbNote=|
mineNote=|
bonusNote=|
minPrice=|
maxPrice=|
Premium=|
weight=|
suppSection=|
SuppCategorie=|
frName=|
}}