Difference between revisions of "Template:Clothing"

From Official Wiki of the Renaissance Kingdoms
(image extension gif to gifall, and gif for handling backward compatibility)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
:{| class="wikitable"  
+
:{| class="wikitable"
 
|width="25px"|[[File:Info_button_image.png]]
 
|width="25px"|[[File:Info_button_image.png]]
|width="25px"|[[File:{{{image}}}.png|24px]]
+
|width="25px"|{{#switch:{{{imageExtension}}}
 +
  |gifall = [[File:{{{image}}}.gif]]
 +
  |gifmini = [[File:{{{image}}}.gif]]
 +
  |giffiche = [[File:{{{image}}}.png]]
 +
  |[[File:{{{image}}}.png]] }}
 
|{{{description}}}
 
|{{{description}}}
 
|}<br/>
 
|}<br/>
  
The {{{ClothingName}}} is:
+
The {{{ClothingName}}} {{#switch:{{{typeName}}}
 +
|P = are:
 +
|is:}}
 
{{#switch:{{{ClothingType}}}
 
{{#switch:{{{ClothingType}}}
 
  |Accessory = * an [[accessory]]:
 
  |Accessory = * an [[accessory]]:
 
** {{{ClothingGender}}}{{#if: {{{AccessoryNote|}}} | ** {{{AccessoryNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
 
** {{{ClothingGender}}}{{#if: {{{AccessoryNote|}}} | ** {{{AccessoryNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by an [[artisan]] in their [[shop]]. }}{{#if: {{{elementPack|}}} | * an item of the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * a [[special object]]{{{SpecialObjtNote}}} | }}
+
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by an [[artisan]] in their [[workshop]] }}{{#if: {{{ArtisanNote|}}} | {{{ArtisanNote}}} | }}{{#if: {{{elementPack|}}} | * an item of the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }}
 +
|Appearance = * a [[appearance|physical trait]]:
 +
** {{{ClothingGender}}}
 +
** cannot be made by an [[artisan]] in their [[workshop]]{{#if: {{{SpecialObjtNote|}}} |* an [[event clothing]] :
 +
{{{SpecialObjtNote}}} | }}
 +
|Mark = * a [[clothing|tattoo]]:
 +
** {{{ClothingGender}}}
 +
** cannot be made by an [[artisan]] in their [[workshop]].{{#if: {{{elementPack|}}} | * an item of the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }}
 
  |Outfit = * an [[outfit]]:
 
  |Outfit = * an [[outfit]]:
 
** {{{ClothingGender}}}{{#if: {{{elementOutfit|}}} | ** made up of {{{elementOutfit}}} | }}{{#if: {{{OutfitNote|}}} | ** {{{OutfitNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
 
** {{{ClothingGender}}}{{#if: {{{elementOutfit|}}} | ** made up of {{{elementOutfit}}} | }}{{#if: {{{OutfitNote|}}} | ** {{{OutfitNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by an [[artisan]] in their [[shop]]. }}{{#if: {{{elementPack|}}} | * an item for the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }}
+
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by an [[artisan]] in their [[workshop]] }}{{#if: {{{elementPack|}}} | * an item of the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }}
 
   |* a piece of [[clothing]]:
 
   |* a piece of [[clothing]]:
 
** {{{ClothingGender}}}{{#if: {{{ClothingNote|}}} | ** {{{ClothingNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
 
** {{{ClothingGender}}}{{#if: {{{ClothingNote|}}} | ** {{{ClothingNote}}} | }}{{#if: {{{Artisan|}}} | * an [[artisanal product]]:
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by a [[artisan]] in their [[shop]]. }}{{#if: {{{elementPack|}}} | * an item for the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }} }}
+
** made by a [[{{{Artisan}}}]] in their [[workshop]] from {{{Recipes}}}. | ** cannot be made by an [[artisan]] in their [[workshop]] }}{{#if: {{{elementPack|}}} | * an item of the {{{elementPack}}} | }}{{#if: {{{SpecialObjtNote|}}} | * an [[event clothing]]{{{SpecialObjtNote}}} | }} }}<br/><br/>
  
{{#if: {{{Bonus|}}} |<br/>It provides:  
+
{{#switch:{{{typeName}}}
{{{Bonus}}}<br/><br/> |}}
+
|P = {{#if: {{{Bonus|}}} |<br/>They provide:
{{#switch:{{{Weight}}}
+
{{{Bonus}}}<br/><br/> |}}{{#switch:{{{minPrice}}}
|0 = It can't be either sold or bought on the [[market]] of [[town]].<br/>  
+
  |No = They can't be either sold or bought on the [[market]] of [[town]].<br/>
|It can be sold or bought on the [[market]] of [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/>
+
  |They can be sold or bought on the [[market]] of [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/>
}}{{#if: {{{Premium|}}} |It can also be purchased via the {{{Premium}}}<br/> |}}<br/>
+
}}{{#if: {{{Premium|}}} |They can also be purchased via the {{{Premium}}}<br/> |}}<br/>
 +
|{{#if: {{{Bonus|}}} |<br/>It provides:  
 +
{{{Bonus}}}<br/><br/> |}}{{#switch:{{{minPrice}}}
 +
  |No = It can't be either sold or bought on the [[market]] of [[town]].<br/>  
 +
  |It can be sold or bought on the [[market]] of [[town]] between {{{minPrice}}} and {{{maxPrice}}} [[pound]]s.<br/>
 +
}}{{#if: {{{Premium|}}} |It can also be purchased via the {{{Premium}}}<br/> |}}<br/>}}
  
{{#switch:{{{Weight}}}
+
{{#switch:{{{typeName}}}
  |0 = It has a [[weight]] of {{{Weight}}} in the inventory.
+
|P = {{#switch:{{{Weight}}}
|It has a [[weight]] of {{{Weight}}} in the inventory, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]].
+
  |0 = They have a [[weight]] of {{{Weight}}} in the inventory.
 +
  |They have a [[weight]] of {{{Weight}}} in the inventory, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]].}}  
 +
  |{{#switch:{{{Weight}}}
 +
  |0 = It has a [[weight]] of {{{Weight}}} in the inventory.
 +
  |It has a [[weight]] of {{{Weight}}} in the inventory, but a weight of 0 when in the [[Clothes and Equipment|wardrobe]].}}
 
}}<br/><br/>
 
}}<br/><br/>
  
{{#switch:{{{Weight}}}
+
{{#switch:{{{typeName}}}
 +
|P = {{#switch:{{{Slot}}}
 +
|0 = They can't be found on no [[wardrobe's slot]].
 +
|They can be found on the [[wardrobe's slot]] {{{Slot}}}.}}
 +
|{{#switch:{{{Slot}}}
 
  |0 = It can't be found on no [[wardrobe's slot]].
 
  |0 = It can't be found on no [[wardrobe's slot]].
  |It can be found on the [[wardrobe's slot]] {{{Slot}}}.
+
  |It can be found on the [[wardrobe's slot]] {{{Slot}}}.}}
 
}}<br/><br/>
 
}}<br/><br/>
  
 
'''Note:'''{{#switch:{{{Weight}}}
 
'''Note:'''{{#switch:{{{Weight}}}
  |0 = * Its weight is 0 because it is automatically transferred to the [[Clothes and Equipment|wardrobe]].<br/>
+
  |0 = {{#switch:{{{typeName}}}
 +
  |P = Their weight is 0 because they are automatically transferred to the [[Clothes and Equipment|wardrobe]].<br/>
 +
  |* Its weight is 0 because it is automatically transferred to the [[Clothes and Equipment|wardrobe]].<br/> }}
 
  |{{#if: {{{Artisan|}}}
 
  |{{#if: {{{Artisan|}}}
   | * Details of how it is made can be found in the [[{{{Artisan}}}|{{{Artisan}}}'s shop]].
+
   | * Details of how it is made can be found in the [[{{{Artisan}}}|{{{Artisan}}}'s workshop]].
 
   | }}
 
   | }}
* As soon as it is used from the inventory: it will be permanently transferred to the [[Clothes and Equipment|wardrobe]].<br/>
+
{{#switch:{{{typeName}}}
 +
  |P = * As soon as they are used from the inventory: they will be permanently transferred to the [[Clothes and Equipment|wardrobe]].<br/>
 +
  |* As soon as it is used from the inventory: it will be permanently transferred to the [[Clothes and Equipment|wardrobe]].}}<br/>
 
}}{{#if: {{{additionalNote|}}} | * {{{additionalNote}}}<br/> | <br/> }}
 
}}{{#if: {{{additionalNote|}}} | * {{{additionalNote}}}<br/> | <br/> }}
  
 
{{#switch:{{{imageExtension}}}
 
{{#switch:{{{imageExtension}}}
  |gif = {{#switch:{{{ClothingGender}}}
+
  |gifall = {{#switch:{{{ClothingGender}}}
 
   |women's clothing = [[File:{{{image}}}F.gif]]
 
   |women's clothing = [[File:{{{image}}}F.gif]]
 
   |men's clothing = [[File:{{{image}}}M.gif]]
 
   |men's clothing = [[File:{{{image}}}M.gif]]
   |[[File:{{{image}}}F.gif]][[File:{{{image}}}M.gif]]
+
   |[[File:{{{image}}}F.gif]][[File:{{{image}}}M.gif]] }}
  }}
+
  |giffiche|gif = {{#switch:{{{ClothingGender}}}
 +
  |women's clothing = [[File:{{{image}}}F.gif]]
 +
  |men's clothing = [[File:{{{image}}}M.gif]]
 +
  |[[File:{{{image}}}F.gif]][[File:{{{image}}}M.gif]] }}
 +
|gifmini = {{#switch:{{{ClothingGender}}}
 +
  |women's clothing = [[File:{{{image}}}F.png]]
 +
  |men's clothing = [[File:{{{image}}}M.png]]
 +
  |[[File:{{{image}}}F.png]][[File:{{{image}}}M.png]] }}
 
  |{{#switch:{{{ClothingGender}}}
 
  |{{#switch:{{{ClothingGender}}}
 
   |women's clothing = [[File:{{{image}}}F.png]]
 
   |women's clothing = [[File:{{{image}}}F.png]]
 
   |men's clothing = [[File:{{{image}}}M.png]]
 
   |men's clothing = [[File:{{{image}}}M.png]]
   |[[File:{{{image}}}F.png]][[File:{{{image}}}M.png]]
+
   |[[File:{{{image}}}F.png]][[File:{{{image}}}M.png]] }} }}
}} }}
 
  
 
----
 
----
Line 58: Line 94:
 
----
 
----
  
{{#if: {{{Premium|}}} | [[Category:Premium Access]] | }}{{#switch:{{{ClothingType}}} |Accessory = [[Category:Accessory]]{{#if: {{{Artisan|}}} | [[Category:Artisanal product]] | [[Category:Special object]] | }} |[[Category:Clothing]]{{#if: {{{Artisan|}}} | [[Category:Artisanal product]] | [[Category:Event clothing]] | }} }}{{#if: {{{frName|}}} |[[FR:{{{frName}}}]] |}}
+
{{#if: {{{Premium|}}} | [[Category:Premium Access]] | }}{{#switch:{{{ClothingType}}}  
 +
|Accessory = [[Category:{{{ClothingType}}}]]{{#if: {{{Artisan|}}} | [[Category:Artisanal product]][[Category:Clothing]] | [[Category:Clothing]][[Category:Special object]] | }}
 +
|Appearance = [[Category:{{{ClothingType}}}]]{{#if: {{{Artisan|}}} | [[Category:Artisanal product]][[Category:Clothing]] | [[Category:Clothing]][[Category:Special object]] | }}
 +
|Mark = {{#if: {{{Artisan|}}} | [[Category:Artisanal product]][[Category:Clothing]][[Category:Tattoo]] | [[Category:Clothing]][[Category:Special object]][[Category:Tattoo]] | }}
 +
|Outfit = {{#if: {{{Artisan|}}} | [[Category:Artisanal product]][[Category:Clothing]][[Category:{{{ClothingType}}}]] | [[Category:Clothing]][[Category:Event clothing]][[Category:{{{ClothingType}}}]] | }}
 +
|{{#if: {{{Artisan|}}} | [[Category:Artisanal product]][[Category:Clothing]] | [[Category:Clothing]][[Category:Event clothing]] | }} }}{{#if: {{{frName|}}} |[[FR:{{{frName}}}]] |}}
  
  
Line 68: Line 109:
 
description=<nowiki>|</nowiki><br/>
 
description=<nowiki>|</nowiki><br/>
 
ClothingName=<nowiki>|</nowiki><br/>
 
ClothingName=<nowiki>|</nowiki><br/>
 +
typeName=<nowiki>|</nowiki><br/>
 
ClothingType=<nowiki>|</nowiki><br/>
 
ClothingType=<nowiki>|</nowiki><br/>
 
ClothingGender=<nowiki>|</nowiki><br/>
 
ClothingGender=<nowiki>|</nowiki><br/>
Line 75: Line 117:
 
Artisan=<nowiki>|</nowiki><br/>
 
Artisan=<nowiki>|</nowiki><br/>
 
Recipes=<nowiki>|</nowiki><br/>
 
Recipes=<nowiki>|</nowiki><br/>
 +
ArtisanNote=<nowiki>|</nowiki><br/>
 
Bonus=<nowiki>|</nowiki><br/>
 
Bonus=<nowiki>|</nowiki><br/>
 
elementOutfit=<nowiki>|</nowiki><br/>
 
elementOutfit=<nowiki>|</nowiki><br/>

Latest revision as of 01:11, 5 November 2024

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

The {{{ClothingName}}} is:

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

It has a weight of {{{Weight}}} in the inventory, but a weight of 0 when in the wardrobe.

It can be found on the wardrobe's slot {{{Slot}}}.

Note:

  • As soon as it is used from the inventory: it will be permanently transferred to the wardrobe.

[[File:{{{image}}}F.png]][[File:{{{image}}}M.png]]


Summary



Use

{{Clothing|
image=|
imageExtension=|
description=|
ClothingName=|
typeName=|
ClothingType=|
ClothingGender=|
AccessoryNote=|
ClothingNote=|
SpecialObjtNote=|
Artisan=|
Recipes=|
ArtisanNote=|
Bonus=|
elementOutfit=|
elementPack=|
Premium=|
minPrice=|
maxPrice=|
Weight=|
Slot=|
additionalNote=|
frName=|
}}