Difference between revisions of "Template:GenericItem"

From Official Wiki of the Renaissance Kingdoms
(Update)
 
(13 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
The {{{itemName}}} is:{{#if: {{{toolNote|}}}|
 
The {{{itemName}}} is:{{#if: {{{toolNote|}}}|
 
* a [[tool]]:
 
* a [[tool]]:
** {{{toolNote}}}|}}{{#if: {{{artisan|}}}|
+
** {{{toolNote}}}<br/>|}}{{#if: {{{artisan|}}}|
 
* an [[artisanal product]]:
 
* an [[artisanal product]]:
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.|}}{{#if: {{{intermediateArtisan|}}}|
+
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.<br/>|}}{{#if: {{{intermediateArtisan|}}}|
 
* an [[intermediate product]]:
 
* an [[intermediate product]]:
** used as [[raw material]] by the [[{{{intermediateArtisan}}}]] to make a [[{{{craft}}}]].|}}{{#if: {{{specialNote|}}}|
+
** used as [[raw material]] by the [[{{{intermediateArtisan}}}]] to make a [[{{{craft}}}]].<br/>|}}{{#if: {{{specialNote|}}}|
* a [[special item]]:
+
* a [[special object]]:
 
** {{{specialNote}}}<br/>|}}{{#if: {{{foodItem|}}}|
 
** {{{specialNote}}}<br/>|}}{{#if: {{{foodItem|}}}|
 
* an [[event food]]:
 
* an [[event food]]:
Line 18: Line 18:
 
It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/><br/>
 
It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/><br/>
  
{{#if: {{{foodItem|}}}|{{{foodItem}}}|}}{{#if: {{{toolNote|}}}|
+
{{#if: {{{foodItem|}}}|{{{foodItem}}}<br/><br/>
It has a [[weight]] of {{{weight}}} in the inventory, but a weight of 0 when in the [[wardrobe]].<br/><br/>|}}{{#if: {{{durability|}}}|
+
It has a [[weight]] of {{{weight}}} in the inventory|}}{{#if: {{{toolNote|}}}|
It [[Durability|breaks]] after {{{durability}}}.<br/><br/>|}}{{#if: {{{wardrobeSlot|}}}|
+
It has a [[weight]] of {{{weight}}} in the inventory|}}{{#if: {{{wardrobeSlot|}}}|, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]]|}}.<br/>
It can be found on the [[wardrobe's slot]] {{{wardrobeSlot}}}.<br/><br/>|}}
+
{{#if: {{{durability|}}}|It [[Durability|breaks]] after{{{durability}}}.<br/><br/> |}}
 
+
{{#if: {{{wardrobeSlot|}}}|It can be found on the [[wardrobe's slot]] {{{wardrobeSlot}}}.<br/><br/>|}}
'''Note :'''<br/>{{#if: {{{artisan|}}}|
+
{{#ifeq: {{{noteSection|}}}|No||'''Note :'''}}
* Details of how it is made can be found on the page of the {{{artisan}}}.|}}{{#if: {{{wardrobeSlot|}}}|
+
{{#if: {{{artisan|}}} |* Details of how it is made can be found on the page of the [[{{{artisan}}}]].|}}{{#if: {{{wardrobeSlot|}}}|* As soon as it is used from the inventory: it will be temporary transferred to the [[Clothes and Equipment|wardrobe]].
* As soon as it is used from the inventory: it will be temporary transferred to the [[Clothes and Equipment|wardrobe]].
 
 
* Its effect starts as soon as it is in [[Clothes and Equipment]].|}}{{#if: {{{additionalNote|}}}|
 
* Its effect starts as soon as it is in [[Clothes and Equipment]].|}}{{#if: {{{additionalNote|}}}|
{{{additionalNote}}}|}}<br/><br/>
+
{{{additionalNote}}}|}}
 
+
{{#ifeq: {{{noteSection|}}}|No||<br/>}}
 
----
 
----
 
[[Summary]] [[FR:{{{frName}}}]]
 
[[Summary]] [[FR:{{{frName}}}]]
 
----
 
----
 +
{{#if: {{{specialNote|}}}|[[Category:Special object]]|}}
  
 
<noinclude>
 
<noinclude>
Line 52: Line 52:
 
wardrobeSlot=<nowiki>|</nowiki><br/>
 
wardrobeSlot=<nowiki>|</nowiki><br/>
 
additionalNote=<nowiki>|</nowiki><br/>
 
additionalNote=<nowiki>|</nowiki><br/>
 +
noteSection=<nowiki>|</nowiki><br/>
 
frName=<nowiki>|</nowiki><br/>
 
frName=<nowiki>|</nowiki><br/>
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:46, 7 March 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}}} pounds.

.


Note :



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



Use

{{GenericItem|
image=|
description=|
itemName=|
toolNote=|
artisan=|
recipes=|
intermediateArtisan=|
craft=|
specialNote=|
foodItem=|
minPrice=|
maxPrice=|
weight=|
durability=|
wardrobeSlot=|
additionalNote=|
noteSection=|
frName=|
}}