MstrPoptart (talk | contribs) m (+Back Accessories, -Hair Accessories) |
MstrPoptart (talk | contribs) mNo edit summary |
||
(34 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
-->{{#cargo_declare: |
-->{{#cargo_declare: |
||
_table=Clothing |
_table=Clothing |
||
⚫ | |||
|Name=String |
|Name=String |
||
|Image=String |
|Image=String |
||
⚫ | |||
|Theme=String |
|Theme=String |
||
|CatalogCategory=String |
|CatalogCategory=String |
||
⚫ | |||
+ | |CraftTimeSec=Integer |
||
|BuyingPrice=Wikitext |
|BuyingPrice=Wikitext |
||
|SellingPrice=Wikitext |
|SellingPrice=Wikitext |
||
⚫ | |||
⚫ | |||
+ | |DifficultyToObtain=String |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |GulliverPoint=String |
||
+ | |Event=String |
||
⚫ | |||
⚫ | |||
|Mat1=String |
|Mat1=String |
||
|Mat1Cost=Integer |
|Mat1Cost=Integer |
||
Line 25: | Line 33: | ||
|Mat6=String |
|Mat6=String |
||
|Mat6Cost=Integer |
|Mat6Cost=Integer |
||
⚫ | |||
|NumBells=Integer |
|NumBells=Integer |
||
|UnlockReq=Wikitext |
|UnlockReq=Wikitext |
||
⚫ | |||
⚫ | |||
+ | |Reissue=Wikitext (size=1000) |
||
⚫ | |||
− | | |
+ | |ReMat1=String |
+ | |ReMat1Cost=Integer |
||
⚫ | |||
− | | |
+ | |ReMat2=String |
+ | |ReMat2Cost=Integer |
||
⚫ | |||
+ | |ReMat3=String |
||
⚫ | |||
+ | |ReMat3Cost=Integer |
||
⚫ | |||
− | | |
+ | |ReMat4=String |
+ | |ReMat4Cost=Integer |
||
+ | |ReMat5=String |
||
+ | |ReMat5Cost=Integer |
||
+ | |ReMat6=String |
||
+ | |ReMat6Cost=Integer |
||
+ | |ReMaterialCost=Wikitext |
||
+ | |ReNumBells=Integer |
||
+ | |ReCraftTime=Wikitext |
||
+ | |ReCraftTimeSec=Integer |
||
}}</noinclude><includeonly><!-- |
}}</noinclude><includeonly><!-- |
||
Line 41: | Line 59: | ||
-->{{#cargo_store: |
-->{{#cargo_store: |
||
_table=Clothing |
_table=Clothing |
||
− | | |
+ | |ClothType={{#switch:{{{clothType|}}} |
+ | |Pants=Bottom |
||
⚫ | |||
+ | |Skirt=Bottom |
||
− | | |
+ | |{{{clothType|}}} }} |
+ | |Name={{{name|{{#titleparts:{{PAGENAME}}}}}}} |
||
⚫ | |||
|Theme={{{theme|}}} |
|Theme={{{theme|}}} |
||
|CatalogCategory={{{catalogCategory|}}} |
|CatalogCategory={{{catalogCategory|}}} |
||
− | | |
+ | |CraftTime={{sthc|{{{craftTime|}}}}} |
− | | |
+ | |CraftTimeSec={{{craftTime|}}} |
+ | |BuyingPrice={{#if:{{{buyingPrice|}}}|{{#invoke:String|replace|source={{{buyingPrice|}}}|{{ItemText|Bells}}}} {{ItemText|Bells}}}} |
||
⚫ | |||
+ | |SellingPrice={{#if:{{{sellingPrice|}}}|{{#invoke:String|replace|source={{{sellingPrice|}}}|{{ItemText|Bells}}}} {{ItemText|Bells}}}} |
||
⚫ | |MaterialCost={{#if:{{{mat1|}}} | {{{mat1Cost|}}} {{MaterialText|{{{mat1|}}}}} | N/A }} {{#if:{{{mat2|}}} | <br/><br/>{{{mat2Cost|}}} {{MaterialText|{{{mat2|}}}}} | }} {{#if:{{{mat3|}}} | <br/><br/>{{{mat3Cost|}}} {{MaterialText|{{{mat3|}}}}} | }} {{#if:{{{mat4|}}} | <br/><br/>{{{mat4Cost|}}} {{MaterialText|{{{mat4|}}}}} | }} {{#if:{{{mat5|}}} | <br/><br/>{{{mat5Cost|}}} {{MaterialText|{{{mat5|}}}}} | }} {{#if:{{{mat6|}}} | <br/><br/>{{{mat6Cost|}}} {{MaterialText|{{{mat6|}}}}} | }} |
||
+ | |AnimalSuitability={{#ifeq:{{{animalSuitability|}}}|Yes|Can wear|{{#ifeq:{{{animalSuitability|}}}|No|Cannot wear|}}}} |
||
+ | |DifficultyToObtain={{{difficulty|}}} |
||
+ | |FavGiftGroup={{{favGiftGroup|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|Mat1={{{mat1|}}} |
|Mat1={{{mat1|}}} |
||
|Mat1Cost={{{mat1Cost|0}}} |
|Mat1Cost={{{mat1Cost|0}}} |
||
Line 62: | Line 91: | ||
|Mat6={{{mat6|}}} |
|Mat6={{{mat6|}}} |
||
|Mat6Cost={{{mat6Cost|0}}} |
|Mat6Cost={{{mat6Cost|0}}} |
||
⚫ | |MaterialCost={{#if:{{{mat1|}}} | {{{mat1Cost|}}} {{MaterialText|{{{mat1|}}}}} | N/A }} {{#if:{{{mat2|}}} | <br/><br/>{{{mat2Cost|}}} {{MaterialText|{{{mat2|}}}}} | }} {{#if:{{{mat3|}}} | <br/><br/>{{{mat3Cost|}}} {{MaterialText|{{{mat3|}}}}} | }} {{#if:{{{mat4|}}} | <br/><br/>{{{mat4Cost|}}} {{MaterialText|{{{mat4|}}}}} | }} {{#if:{{{mat5|}}} | <br/><br/>{{{mat5Cost|}}} {{MaterialText|{{{mat5|}}}}} | }} {{#if:{{{mat6|}}} | <br/><br/>{{{mat6Cost|}}} {{MaterialText|{{{mat6|}}}}} | }} |
||
|NumBells={{{bells|}}} |
|NumBells={{{bells|}}} |
||
|UnlockReq={{{unlock|}}} |
|UnlockReq={{{unlock|}}} |
||
− | | |
+ | |Obtain={{{obtain|}}} |
− | | |
+ | |Reissue={{{reissue|}}} |
− | | |
+ | |ReMat1={{{reMat1|}}} |
− | | |
+ | |ReMat1Cost={{{reMat1Cost|0}}} |
− | | |
+ | |ReMat2={{{reMat2|}}} |
− | | |
+ | |ReMat2Cost={{{reMat2Cost|0}}} |
− | | |
+ | |ReMat3={{{reMat3|}}} |
− | | |
+ | |ReMat3Cost={{{reMat3Cost|0}}} |
− | | |
+ | |ReMat4={{{reMat4|}}} |
+ | |ReMat4Cost={{{reMat4Cost|0}}} |
||
+ | |ReMat5={{{reMat5|}}} |
||
+ | |ReMat5Cost={{{reMat5Cost|0}}} |
||
+ | |ReMat6={{{reMat6|}}} |
||
+ | |ReMat6Cost={{{reMat6Cost|0}}} |
||
+ | |ReMaterialCost={{#if:{{{reMat1|}}} | {{{reMat1Cost|}}} {{MaterialText|{{{reMat1|}}}}} | N/A }} {{#if:{{{reMat2|}}} | <br/><br/>{{{reMat2Cost|}}} {{MaterialText|{{{reMat2|}}}}} | }} {{#if:{{{reMat3|}}} | <br/><br/>{{{reMat3Cost|}}} {{MaterialText|{{{reMat3|}}}}} | }} {{#if:{{{reMat4|}}} | <br/><br/>{{{reMat4Cost|}}} {{MaterialText|{{{reMat4|}}}}} | }} {{#if:{{{reMat5|}}} | <br/><br/>{{{reMat5Cost|}}} {{MaterialText|{{{reMat5|}}}}} | }} {{#if:{{{reMat6|}}} | <br/><br/>{{{reMat6Cost|}}} {{MaterialText|{{{reMat6|}}}}} | }} |
||
+ | |ReNumBells={{{reBells|}}} |
||
+ | |ReCraftTime={{sthc|{{{reCraftTime|}}}}} |
||
+ | |ReCraftTimeSec={{{reCraftTime|}}} |
||
}}<!-- |
}}<!-- |
||
+ | |||
+ | -->{{EntitiesStore|name={{{name|{{#titleparts:{{PAGENAME}}}}}}}|type={{{type|Clothing}}}|catalogCategory={{{catalogCategory|}}}|image={{{image|{{#titleparts:{{PAGENAME}}}}}}} }}<!-- |
||
-->{{Cloth Infobox |
-->{{Cloth Infobox |
||
− | | |
+ | |clothType={{#switch:{{{clothType|}}} |
+ | |Pants=Bottom |
||
⚫ | |||
+ | |Skirt=Bottom |
||
⚫ | |||
+ | |name={{{name|{{#titleparts:{{PAGENAME}}}}}}} |
||
+ | |image={{{image|{{#titleparts:{{PAGENAME}}}}}}} |
||
|theme={{{theme|}}} |
|theme={{{theme|}}} |
||
|catalogCategory={{{catalogCategory|}}} |
|catalogCategory={{{catalogCategory|}}} |
||
⚫ | |||
|buyingPrice={{{buyingPrice|}}} |
|buyingPrice={{{buyingPrice|}}} |
||
|sellingPrice={{{sellingPrice|}}} |
|sellingPrice={{{sellingPrice|}}} |
||
+ | |animalSuitability={{#ifeq:{{{animalSuitability|}}}|Yes|Can wear|{{#ifeq:{{{animalSuitability|}}}|No|Cannot wear|}}}} |
||
⚫ | |||
− | |animalSuitability={{{animalSuitability|}}} |
||
|difficulty={{{difficulty|}}} |
|difficulty={{{difficulty|}}} |
||
⚫ | |||
⚫ | |||
|favGiftGroup={{{favGiftGroup|}}} |
|favGiftGroup={{{favGiftGroup|}}} |
||
⚫ | |||
⚫ | |||
}} |
}} |
||
+ | __NOTOC__ |
||
− | |||
=How to Obtain= |
=How to Obtain= |
||
− | {| class="wikitable |
+ | {| class="wikitable" |
! Name |
! Name |
||
− | ! Material Cost |
+ | ! {{#if:{{{mat1|}}} | Material Cost |
! Bell Cost |
! Bell Cost |
||
! How to Unlock |
! How to Unlock |
||
− | ! How to Obtain |
+ | !}} How to Obtain |
|- |
|- |
||
− | | style="padding: |
+ | | style="padding:.5em;text-align:center;" | [[File:{{{image|{{#titleparts:{{PAGENAME}}}}}}}.png|60px|link=]]<br/>{{#titleparts:{{PAGENAME}}}} |
− | + | | {{#if:{{{mat1|}}} | style="padding:.5em;" {{!}} {{{mat1Cost|}}} {{MaterialText|{{{mat1|}}}}} {{#if:{{{mat2|}}} | <br/><br/>{{{mat2Cost|}}} {{MaterialText|{{{mat2|}}}}} | }} {{#if:{{{mat3|}}} | <br/><br/>{{{mat3Cost|}}} {{MaterialText|{{{mat3|}}}}} | }} {{#if:{{{mat4|}}} | <br/><br/>{{{mat4Cost|}}} {{MaterialText|{{{mat4|}}}}} | }} {{#if:{{{mat5|}}} | <br/><br/>{{{mat5Cost|}}} {{MaterialText|{{{mat5|}}}}} | }} {{#if:{{{mat6|}}} | <br/><br/>{{{mat6Cost|}}} {{MaterialText|{{{mat6|}}}}} | }} |
|
− | + | {{!}} style="padding:.5em;text-align:center;" {{!}} {{#if:{{{bells|}}} | {{{bells|}}} {{ItemText|Bells}} | N/A }} |
|
− | + | {{!}} style="padding:.5em;text-align:center;" {{!}} {{{unlock|N/A}}} |
|
− | + | {{!}}}} style="padding:.5em;" | {{{obtain|}}} |
|
|} |
|} |
||
⚫ | |||
{{#if: {{{reissue|}}} | =Reissue= |
{{#if: {{{reissue|}}} | =Reissue= |
||
{{{reissue|}}} |
{{{reissue|}}} |
||
− | {{{!}} class="wikitable |
+ | {{{!}} class="wikitable" |
! Name |
! Name |
||
! Material Cost |
! Material Cost |
||
Line 117: | Line 157: | ||
! Availability |
! Availability |
||
{{!}}- |
{{!}}- |
||
− | {{!}} style="padding: |
+ | {{!}} style="padding:.5em;text-align:center;" {{!}} [[File:{{{image|{{#titleparts:{{PAGENAME}}}}}}}.png|60px|link=]]<br/>{{#titleparts:{{PAGENAME}}}} |
− | {{!}} style="padding: |
+ | {{!}} style="padding:.5em;" {{!}} {{#if:{{{reMat1|}}} | {{{reMat1Cost|}}} {{MaterialText|{{{reMat1|}}}}} | N/A }} {{#if:{{{reMat2|}}} | <br/><br/>{{{reMat2Cost|}}} {{MaterialText|{{{reMat2|}}}}} | }} {{#if:{{{reMat3|}}} | <br/><br/>{{{reMat3Cost|}}} {{MaterialText|{{{reMat3|}}}}} | }} {{#if:{{{reMat4|}}} | <br/><br/>{{{reMat4Cost|}}} {{MaterialText|{{{reMat4|}}}}} | }} {{#if:{{{reMat5|}}} | <br/><br/>{{{reMat5Cost|}}} {{MaterialText|{{{reMat5|}}}}} | }} {{#if:{{{reMat6|}}} | <br/><br/>{{{reMat6Cost|}}} {{MaterialText|{{{reMat6|}}}}} | }} |
− | {{!}} style="padding: |
+ | {{!}} style="padding:.5em;text-align:center;" {{!}} {{#if:{{{reBells}}} | {{{reBells|}}} {{ItemText|Bells}} | N/A }} |
− | {{!}} style="padding: |
+ | {{!}} style="padding:.5em;text-align:center;" {{!}} {{sthc|{{{reCraftTime|}}}}} |
− | {{!}} style="padding: |
+ | {{!}} style="padding:.5em;" {{!}} {{{reAvailibility|N/A}}} |
{{!}}} | |
{{!}}} | |
||
+ | }} |
||
+ | |||
+ | ==Islands That Give This== |
||
+ | {{#cargo_query:tables=Island |
||
+ | |fields=CONCAT('<div style="display:none;">',Name,'</div><div style="padding-right:84px;">[[File:',Image,'.png|64px|link=]] [[',_pageName,']]</div>')=Name, CONCAT('<div style="padding-top:19px;text-align:center;">',TravelTime,'</div>')=Travel Time, CONCAT('<div style="padding-top:19px;text-align:center;">',TotalPoints,' pts.</div>')=Points Required, CONCAT('<div style="padding-top:19px;padding-left:38px;padding-right:39px;text-align:center;">',CompleteBonus,' x',BonusAmt,'</div>')=Completion Bonus |
||
+ | |where=Reward1="{{#titleparts:{{PAGENAME}}}}" OR Reward2="{{#titleparts:{{PAGENAME}}}}" OR Reward3="{{#titleparts:{{PAGENAME}}}}" OR Reward4="{{#titleparts:{{PAGENAME}}}}" OR Reward5="{{#titleparts:{{PAGENAME}}}}" |
||
+ | |format=table |
||
+ | |group by=_pageName |
||
+ | |order by=Name |
||
+ | |default=* None |
||
}} |
}} |
||
Line 129: | Line 179: | ||
tables=Class |
tables=Class |
||
|fields=CONCAT('[[File:', Image, '.png|60px|link=', _pageName, ']] [[', _pageName, ']]')=Name,Type,DATE_FORMAT(StartDate, '%b %D %Y')=Start Date,DATE_FORMAT(EndDate, '%b %D %Y')=End Date |
|fields=CONCAT('[[File:', Image, '.png|60px|link=', _pageName, ']] [[', _pageName, ']]')=Name,Type,DATE_FORMAT(StartDate, '%b %D %Y')=Start Date,DATE_FORMAT(EndDate, '%b %D %Y')=End Date |
||
− | |where=Class.FurnReq1 = "{{PAGENAME}}" OR Class.FurnReq2 = "{{PAGENAME}}" OR Class.FurnReq3 = "{{PAGENAME}}" OR Class.FurnReq4 = "{{PAGENAME}}" OR Class.FurnReq5 = "{{PAGENAME}}" OR Class.FurnReq6 = "{{PAGENAME}}" OR Class.FurnReq7 = "{{PAGENAME}}" OR Class.FurnReq8 = "{{PAGENAME}}" |
+ | |where=Class.FurnReq1 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq2 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq3 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq4 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq5 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq6 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq7 = "{{#titleparts:{{PAGENAME}}}}" OR Class.FurnReq8 = "{{#titleparts:{{PAGENAME}}}}" |
|group by=_pageName |
|group by=_pageName |
||
|format=table |
|format=table |
||
Line 135: | Line 185: | ||
}} |
}} |
||
+ | {{#if:{{{trivia|}}} | |
||
− | {{Clothing Navbox}} |
||
+ | =Trivia= |
||
+ | {{{trivia|}}} |
||
+ | }} |
||
+ | |||
⚫ | |||
[[Category:Clothes]]{{#switch:{{{clothType|}}} |
[[Category:Clothes]]{{#switch:{{{clothType|}}} |
||
|Top=[[Category:Tops]] |
|Top=[[Category:Tops]] |
||
Line 146: | Line 201: | ||
|Shoes=[[Category:Shoes]] |
|Shoes=[[Category:Shoes]] |
||
|Socks=[[Category:Socks]] |
|Socks=[[Category:Socks]] |
||
+ | |Handheld Accessory=[[Category:Handheld Accessories]] |
||
|Outfit=[[Category:Outfits]] |
|Outfit=[[Category:Outfits]] |
||
}}[[Category:Catalog {{{catalogCategory|}}}]]{{#ifeq:{{{theme}}} | | | [[Category:{{{theme|}}} Clothing]]}}</includeonly> |
}}[[Category:Catalog {{{catalogCategory|}}}]]{{#ifeq:{{{theme}}} | | | [[Category:{{{theme|}}} Clothing]]}}</includeonly> |
Revision as of 07:27, 26 February 2021
Description
This is the template used for all clothes pages.
Usage
{{Cloth Page |clothType= |name= |image= |theme= |catalogCategory= |craftTime= |buyingPrice= |sellingPrice= |animalSuitability= |difficulty= |favGiftGroup= |event= |startDate= |endDate= |mat1= |mat1Cost= |mat2= |mat2Cost= |mat3= |mat3Cost= |mat4= |mat4Cost= |mat5= |mat5Cost= |mat6= |mat6Cost= |bells= |unlock= |obtain= |reissue= |reAvailibility= |reCraftTime= |reMat1= |reMat1Cost= |reMat2= |reMat2Cost= |reMat3= |reMat3Cost= |reMat4= |reMat4Cost= |reMat5= |reMat5Cost= |reMat6= |reMat6Cost= |reBells= |trivia= }}
Parameters
clothType | One of: Top, Pants, Skirt, Dress, Hat, Face Accessory, Backpiece, Shoes, Socks, Handheld Accessory, or Outfit |
---|---|
name | Used to specify the item's name if it differs from the page name. |
image | The image filename for the item without the presumed .png extension. |
theme | The displayed theme. Natural, Civic, Hip, etc... |
catalogCategory | The name of the category in which the item is located, in the catalog. |
craftTime | Time required to craft, in seconds, left blank if not crafted. |
buyingPrice | The cost in bells to purchase from marketplace. |
sellingPrice | Selling price as a number of bells. |
animalSuitability | "Yes" if it can be worn by villagers, "No" otherwise. |
difficulty | A string consisting of a number of "★" corresponding to the rarity reported in the catalog. |
favGiftGroup | The group on Villager Furniture Gifts (of the form "Group 1xx") that includes this item, or "N/A". |
event | The name of the event the item is/was related to. Left blank if no event. |
startDate | The date on which the item became available in the YYYY-MM-DD format. |
endDate | The date on which the item becomes/became unavailable in the YYYY-MM-DD format. |
mat1 | The name of the first material used to craft the item. Left blank if not crafted. |
mat1Cost | The number of material 1 required. Left blank if not crafted. |
mat2 | |
mat2Cost | |
mat3 | |
mat3Cost | |
mat4 | |
mat4Cost | |
mat5 | |
mat5Cost | |
mat6 | |
mat6Cost | |
bells | The cost in bells to craft, left blank if not crafted. |
unlock | A description of how/when the ability to craft the item is unlocked. Left blank if not craftable. |
obtain | A description of how/when the item was/is obtained. To appear in the "How to Obtain" field. |
reissue | If a limited time item is reissued this field should describe in what manner. Usually by linking the notice or time frame. This field must have content in order for the following field to display. Left blank if no reissue. |
reAvailibility | The availability period of the reissued item. |
reCraftTime | The time in seconds required to craft the reissue of the item. |
reMat1 | First material required to craft the reissue of the item. |
reMat1Cost | Number of material 1 required to craft the reissue of the item. |
reMat2 | |
reMat2Cost | |
reMat3 | |
reMat3Cost | |
reMat4 | |
reMat4Cost | |
reMat5 | |
reMat5Cost | |
reMat6 | |
reMat6Cost | |
reBells | the bells required to craft the reissue of the item. |
trivia | Any note about the item that is otherwise unfit for the other fields. Not commonly used. |
The above documentation is transcluded from Template:Cloth Page/doc. (edit | history)
This template defines the table "Clothing". View table.