Difference between revisions of "Template:GenericItem"

From Official Wiki of the Renaissance Kingdoms
(NEW - Creation of the template)
 
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
:{| class="wikitable"
 
:{| class="wikitable"
|width="25px"|[[File:Info_button_image.png]]||width="25px"|[[File:{{{image}}}.png]]||{{{description}}}.
+
|width="25px"|[[File:Info_button_image.png]]||width="25px"|[[File:{{{image}}}.png]]||{{{description}}}
 
|}<br/>
 
|}<br/>
  
The {{{itemName}}} is:
+
The {{{itemName}}} is:{{#if: {{{toolNote|}}}|
{{#if: {{{toolNote|}}}|* a [[tool]]:
+
* a [[tool]]:
** {{{toolNote}}}|}}
+
** {{{toolNote}}}<br/>|}}{{#if: {{{artisan|}}}|
{{#if: {{{artisan|}}}|* an [[artisanal product]]:
+
* an [[artisanal product]]:
** made by a {{{artisan}}} in their [[workshop]] from {{{recipes}}}.|}}
+
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.<br/>|}}{{#if: {{{intermediateArtisan|}}}|
{{#if: {{{intermediateProduct|}}}|* an [[intermediate product]]:
+
* an [[intermediate product]]:
** used as [[raw material]] by the {{{intermediateArtisan}}} to make a {{{craft}}}.|}}
+
** used as [[raw material]] by the [[{{{intermediateArtisan}}}]] to make a [[{{{craft}}}]].<br/>|}}{{#if: {{{specialNote|}}}|
{{#if: {{{specialNote|}}}|* a [[special item]]:
+
* a [[special object]]:
** {{{specialNote}}}|}}<br/><br/>
+
** {{{specialNote}}}<br/>|}}{{#if: {{{foodItem|}}}|
 +
* an [[event food]]:
 +
** that can not be made by an [[artisan]] in their [[workshop]]
 +
** that can not be brew in [[monasteries]]<br/>|}}<br/>
  
 
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: {{{toolNote|}}}|It has a [[weight]] of {{{weight}}} in the inventory, but a weight of 0 when in the [[wardrobe]].|}}<br/><br/>
+
{{#if: {{{foodItem|}}}|{{{foodItem}}}<br/><br/>
 
+
It has a [[weight]] of {{{weight}}} in the inventory|}}{{#if: {{{toolNote|}}}|
{{#if: {{{durability|}}}|It [[Durability|breaks]] after {{{durability}}} uses.<br/><br/>
+
It has a [[weight]] of {{{weight}}} in the inventory|}}{{#if: {{{wardrobeSlot|}}}|, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]]|}}.<br/>
 
+
{{#if: {{{durability|}}}|It [[Durability|breaks]] after{{{durability}}}.<br/><br/> |}}
{{#if: {{{wardrobeSlot|}}}|It can be found on the [[wardrobe's slot]] {{{wardrobneSlot}}}.|}}
+
{{#if: {{{wardrobeSlot|}}}|It can be found on the [[wardrobe's slot]] {{{wardrobeSlot}}}.<br/><br/>|}}
 
+
{{#ifeq: {{{noteSection|}}}|No||'''Note :'''}}
'''Note :'''<br/>
+
{{#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]].
{{#if: {{{artisan|}}}|* Details of how it is made can be found on the page of the {{{artisan}}}.|}}
+
* Its effect starts as soon as it is in [[Clothes and Equipment]].|}}{{#if: {{{additionalNote|}}}|
{{{#if: {{{wardrobeSlot|}}}|* As soon as it is used from the inventory: it will be temporary transferred to the [[Clothes and Equipment|wardrobe]].
+
{{{additionalNote}}}|}}
* Its effect starts as soon as it is in [[Clothes and Equipment]].|}}
+
{{#ifeq: {{{noteSection|}}}|No||<br/>}}
{{#if: {{{additionalNote|}}}|{additionalNote}}}|}}<br/><br/>
 
 
 
 
----
 
----
 
[[Summary]] [[FR:{{{frName}}}]]
 
[[Summary]] [[FR:{{{frName}}}]]
 
----
 
----
 +
{{#if: {{{specialNote|}}}|[[Category:Special object]]|}}
 +
 +
<noinclude>
 +
== Use ==
 +
{{GenericItem<nowiki>|</nowiki><br/>
 +
image=<nowiki>|</nowiki><br/>
 +
description=<nowiki>|</nowiki><br/>
 +
itemName=<nowiki>|</nowiki><br/>
 +
toolNote=<nowiki>|</nowiki><br/>
 +
artisan=<nowiki>|</nowiki><br/>
 +
recipes=<nowiki>|</nowiki><br/>
 +
intermediateArtisan=<nowiki>|</nowiki><br/>
 +
craft=<nowiki>|</nowiki><br/>
 +
specialNote=<nowiki>|</nowiki><br/>
 +
foodItem=<nowiki>|</nowiki><br/>
 +
minPrice=<nowiki>|</nowiki><br/>
 +
maxPrice=<nowiki>|</nowiki><br/>
 +
weight=<nowiki>|</nowiki><br/>
 +
durability=<nowiki>|</nowiki><br/>
 +
wardrobeSlot=<nowiki>|</nowiki><br/>
 +
additionalNote=<nowiki>|</nowiki><br/>
 +
noteSection=<nowiki>|</nowiki><br/>
 +
frName=<nowiki>|</nowiki><br/>
 +
}}
 +
</noinclude>

Latest revision as of 00:46, 8 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=|
}}