Difference between revisions of "Template:GenericItem"

From Official Wiki of the Renaissance Kingdoms
(Formate)
 
(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"|{{#switch:{{{imageExtension}}}
 +
  |gifall = [[File:{{{image}}}.gif]]
 +
  |gifmini = [[File:{{{image}}}.gif]]
 +
  |giffiche = [[File:{{{image}}}.png]]
 +
  |[[File:{{{image}}}.png]] }}
 +
|{{{description}}}
 
|}<br/>
 
|}<br/>
  
Line 7: Line 13:
 
** {{{toolNote}}}<br/>|}}{{#if: {{{artisan|}}}|
 
** {{{toolNote}}}<br/>|}}{{#if: {{{artisan|}}}|
 
* an [[artisanal product]]:
 
* an [[artisanal product]]:
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.<br/>|}}{{#if: {{{intermediateArtisan|}}}|
+
** made by a [[{{{artisan}}}]] in their [[workshop]] from {{{recipes}}}.<br/>|}}{{#if: {{{intermediateNote|}}}
* an [[intermediate product]]:
+
| {{#if: {{{intermediateArtisan|}}}
** used as [[raw material]] by the [[{{{intermediateArtisan}}}]] to make a [[{{{craft}}}]].<br/>|}}{{#if: {{{specialNote|}}}|
+
| * an [[intermediate product]]:
* a [[special item]]:
+
** used as [[raw material]] by the [[{{{intermediateArtisan}}}]] to make a [[{{{craft}}}]].
 +
** {{{intermediateNote}}}.
 +
| * an [[intermediate product]]:
 +
** {{{intermediateNote}}}.
 +
    }}
 +
}}{{#if: {{{specialNote|}}}|
 +
* a [[special object]]:
 
** {{{specialNote}}}<br/>|}}{{#if: {{{foodItem|}}}|
 
** {{{specialNote}}}<br/>|}}{{#if: {{{foodItem|}}}|
 
* an [[event food]]:
 
* an [[event food]]:
 
** that can not be made by an [[artisan]] in their [[workshop]]
 
** that can not be made by an [[artisan]] in their [[workshop]]
** that can not be brew in [[monasteries]]<br/>|}}<br/>
+
** that can not be brew in [[monasteries]]<br/>|
 +
}}{{#if: {{{raw material|}}}
 +
|* a [[raw material]]:
 +
** {{{raw material}}} |}}<br/>
  
It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/><br/>
+
{{#switch: {{{minPrice|}}}
 +
|No= It cannot be sold or bought on the [[market]] of the [[town]].
 +
|It can be sold or bought on the [[market]] of the [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.}} <br>
 +
{{#if: {{{Premium|}}} |It can also be purchased via the {{{Premium}}} |}}<br/><br/>
  
 +
{{#if: {{{weight|}}}
 
{{#if: {{{foodItem|}}}|{{{foodItem}}}<br/><br/>
 
{{#if: {{{foodItem|}}}|{{{foodItem}}}<br/><br/>
 
+
It has a [[weight]] of {{{weight}}} in the inventory.|}}
It has a [[weight]] of {{{weight}}} in the inventory.<br/><br/> |}}{{#if: {{{toolNote|}}}|
+
{{#if: {{{wardrobeSlot|}}} | It has a [[weight]] of {{{weight}}} in the inventory, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]].|}}
It has a [[weight]] of {{{weight}}} in the inventory|}}{{#if: {{{wardrobeSlot|}}}|, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]]|}}.<br/><br/>
+
|It has a [[weight]] of {{{weight}}} in the inventory. |}}
 
+
<br/>
{{#if: {{{durability|}}}|It [[Durability|breaks]] after{{{durability}}}.<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/>|}}
 
{{#if: {{{wardrobeSlot|}}}|It can be found on the [[wardrobe's slot]] {{{wardrobeSlot}}}.<br/><br/>|}}
 
+
{{#ifeq: {{{noteSection|}}}|No||'''Note :'''}}
'''Note :'''<br/>{{#if: {{{artisan|}}}|
+
{{#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]].
* 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]].
 
 
* 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 40: Line 58:
 
{{GenericItem<nowiki>|</nowiki><br/>
 
{{GenericItem<nowiki>|</nowiki><br/>
 
image=<nowiki>|</nowiki><br/>
 
image=<nowiki>|</nowiki><br/>
 +
imageExtension=<nowiki>|</nowiki><br/>
 
description=<nowiki>|</nowiki><br/>
 
description=<nowiki>|</nowiki><br/>
 
itemName=<nowiki>|</nowiki><br/>
 
itemName=<nowiki>|</nowiki><br/>
Line 47: Line 66:
 
intermediateArtisan=<nowiki>|</nowiki><br/>
 
intermediateArtisan=<nowiki>|</nowiki><br/>
 
craft=<nowiki>|</nowiki><br/>
 
craft=<nowiki>|</nowiki><br/>
 +
intermediateNote=<nowiki>|</nowiki><br/>
 
specialNote=<nowiki>|</nowiki><br/>
 
specialNote=<nowiki>|</nowiki><br/>
 
foodItem=<nowiki>|</nowiki><br/>
 
foodItem=<nowiki>|</nowiki><br/>
 +
raw material=<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/>
 
durability=<nowiki>|</nowiki><br/>
 
durability=<nowiki>|</nowiki><br/>
 
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 18:01, 6 July 2025

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=|
imageExtension=|
description=|
itemName=|
toolNote=|
artisan=|
recipes=|
intermediateArtisan=|
craft=|
intermediateNote=|
specialNote=|
foodItem=|
raw material=|
minPrice=|
maxPrice=|
Premium=|
weight=|
durability=|
wardrobeSlot=|
additionalNote=|
noteSection=|
frName=|
}}