Template:ItemDescription: Difference between revisions

Jump to navigation Jump to search
Refactor to remove a duplicated switch statement. remove outdated usage of functions for table. Add table language if surfaceArea exists. Add Tool Dream Style example
(eliminate some double periods, link unlinked storage container text for noncrafted furniture items, fix crafted furniture link to furniture (was clothing))
(Refactor to remove a duplicated switch statement. remove outdated usage of functions for table. Add table language if surfaceArea exists. Add Tool Dream Style example)
Line 62: Line 62:
           |XXXXX={{{critterType|}}} [[Companions#Critter Companions]]
           |XXXXX={{{critterType|}}} [[Companions#Critter Companions]]
           |#default={{{critterType|}}} [[Companions|Companion]]}}
           |#default={{{critterType|}}} [[Companions|Companion]]}}
     |Crafted Furniture={{#ifeq:{{{furnitureCollection|}}}|yes|{{UniverseAnchorLink|type=Furniture|universe={{{universe|}}} }}|{{UniverseAnchorLink|type=Furniture|universe={{{universe|}}}|unlinkedGeneral=yes}}}} piece of {{#switch:{{{functions|}}}
     |Crafted Furniture
    |Furniture={{#ifeq:{{{type|}}}|Crafted Furniture|{{#ifeq:{{{furnitureCollection|}}}|yes|{{UniverseAnchorLink|type=Furniture|universe={{{universe|}}} }}|{{UniverseAnchorLink|type=Furniture|universe={{{universe|}}}|unlinkedGeneral=yes}}}}<!-- Previous clause links to Furniture page whether or not it is included for Disney items, but only links to Furniture page if included in the Furniture Collection for Other universe items -->|{{UniverseAnchorLink|type=Furniture|universe={{{universe|}}} }}}}<!--/type=Crafted Furniture--> piece of {{#switch:{{{functions|}}}
           |Arch=arch
           |Arch=arch
           |Attraction=interactive
           |Attraction=interactive
Line 87: Line 88:
           |Vitascope=interactive
           |Vitascope=interactive
           |Window=window
           |Window=window
           |Table - 1x1=table
           |#default=}} {{#if:{{{surfaceArea|}}}|{{#ifeq:{{{surfaceArea|}}}|none||table}}|}} {{#switch:{{{craftingcategory|}}}
          |#default=}} {{#switch:{{{craftingcategory|}}}
              |Functional Items=[[Crafting#Functional Items|functional craftable furniture]]
          |Functional Items=[[Crafting#Functional Items|functional craftable furniture]]
              |Furniture=[[Crafting#Furniture|craftable furniture]]
          |#default=[[Crafting#Furniture|craftable furniture]]}}<!-- Above clause links to Furniture page whether or not it is included for Disney items, but only links to Furniture page if included in the Furniture Collection for Other universe items -->
              |#default=[[Furniture]]}}  
    |Temporary Quest Furniture= is a [[Quests|quest]] piece of temporary Furniture
    |Character Dream Style= is a [[Dream Styles|Character Dream Style]] that can be applied to the {{UniverseAnchorLink|type=Dream Style|universe={{{universe|}}}|includeIsA=no}} Character [[{{{character|}}}]]
     |House Dream Style= is a [[Dream Styles#House Dream Styles|House Dream Style]] that can be applied to the [[Player's House]]
     |House Dream Style= is a [[Dream Styles#House Dream Styles|House Dream Style]] that can be applied to the [[Player's House]]
     |Tool Dream Style= is a [[Dream Styles#Tool Dream Styles|Tool Dream Style]] that can be applied to the [[{{{tool|}}}]]
     |Tool Dream Style= is a [[Dream Styles#Tool Dream Styles|Tool Dream Style]] that can be applied to the [[{{{tool|}}}]]
    |Character Dream Style= is a [[Dream Styles|Character Dream Style]] that can be applied to the {{UniverseAnchorLink|type=Dream Style|universe={{{universe|}}}|includeIsA=no}} Character [[{{{character|}}}]]
    |Furniture={{UniverseAnchorLink|type=Furniture|universe={{{universe|}}} }} piece of {{#switch:{{{functions|}}}
          |Arch=arch
          |Attraction=interactive
          |Bed=bed
          |Cooking Station=[[:Category:Cooking Stations|Cooking Station]]
          |Crafting Station=[[:Category:Crafting_Stations|Crafting Station]]
          |Door=[[:Category:Doors|Door]]
          |Fireplace=fireplace
          |Lighting, Arch
          |Lighting
          |Lighting (Constant)
          |Lighting (Controllable)
          |Lighting (Automatic)=lighting
          |Mailbox=mailbox<!-- TODO: language is slightly wonky -->
          |Mannequin=mannequin
          |Memory Frame=functional
          |Radio=radio<!-- TODO: language is slightly wonky -->
          |Stool
          |Seating
          |Sit=seating
          |Storage (16)
          |Storage (32)
          |Storage (48)=[[:Category:Storage Container|storage]]
          |Vitascope=interactive
          |Window=window
          |Table - 1x1=table
          |#default=}} [[Furniture]]
    |Temporary Quest Furniture= is a [[Quests|quest]] piece of temporary Furniture
     |Landscaping= is a [[Landscaping#Rocks|rock]] type of [[Landscaping]] item. ''{{PAGENAME}}''' is a [[Landscaping]] item
     |Landscaping= is a [[Landscaping#Rocks|rock]] type of [[Landscaping]] item. ''{{PAGENAME}}''' is a [[Landscaping]] item
     |Character House=is a [[Character Houses|Character House]] where [[{{{residents|}}}]] lives. It is a {{{description|}}}. {{#ifeq:{{{alreadyPlaced|}}}|yes|It will already be placed when beginning a new game and is found {{{found|}}}|NOTALREADYPLACED}}. It is unlocked after the [[Quests#Story Quests|Story quest]] [[{{{questName|}}}]] is completed. {{#ifeq:{{{canMove}}}|yes|Even before unlocking, it can be placed anywhere in the Village on land on paved or unpaved ground.|It cannot be moved.}}
     |Character House=is a [[Character Houses|Character House]] where [[{{{residents|}}}]] lives. It is a {{{description|}}}. {{#ifeq:{{{alreadyPlaced|}}}|yes|It will already be placed when beginning a new game and is found {{{found|}}}|NOTALREADYPLACED}}. It is unlocked after the [[Quests#Story Quests|Story quest]] [[{{{questName|}}}]] is completed. {{#ifeq:{{{canMove}}}|yes|Even before unlocking, it can be placed anywhere in the Village on land on paved or unpaved ground.|It cannot be moved.}}
Line 149: Line 123:
           |Vitascope=
           |Vitascope=
           |Window=
           |Window=
          |Table - 1x1=
           |#default=}}.
           |#default=}}.


Line 232: Line 205:
     |Character Dream Style=It can be applied from the [[Characters]] tab of the [[Collections]] menu.
     |Character Dream Style=It can be applied from the [[Characters]] tab of the [[Collections]] menu.
     |House Dream Style=It can be applied using [[Furniture#Furniture Placement Mode|furniture placement mode]] by picking up the [[Player's House]], which enables an option to '''Replace''', and then choosing a replacement House Dream Style. The Player's House must be fully upgraded to change its Dream Style.
     |House Dream Style=It can be applied using [[Furniture#Furniture Placement Mode|furniture placement mode]] by picking up the [[Player's House]], which enables an option to '''Replace''', and then choosing a replacement House Dream Style. The Player's House must be fully upgraded to change its Dream Style.
    |Tool Dream Style=It can be applied using the '''Wardrobe''' tab inside the Inventory, inside the '''Tools''' category.
     |Temporary Quest Furniture=It can be positioned and placed using [[Furniture#Furniture Placement Mode|furniture placement mode]] and will disappear from the Valley after the quest is completed.
     |Temporary Quest Furniture=It can be positioned and placed using [[Furniture#Furniture Placement Mode|furniture placement mode]] and will disappear from the Valley after the quest is completed.
     |Crafted Furniture
     |Crafted Furniture
Line 279: Line 253:
     |Vitascope=the Player can '''Interact''' with the object to toggle the light and noise of the object on and off.
     |Vitascope=the Player can '''Interact''' with the object to toggle the light and noise of the object on and off.
     |Window=the window object acts as a light source, and will adjust based on the time of day. <!-- TODO REWORD-->
     |Window=the window object acts as a light source, and will adjust based on the time of day. <!-- TODO REWORD-->
    |Table - 1x1=items can be set on the 1x1 surface space.<!-- TODO: this looks weird -->
     |none=the Player cannot interact with the object.<!--TODO: make this more robust--><!--TODO: check for functions=none, in cases where item has category storage but doesn't actually store, etc.-->
     |none=the Player cannot interact with the object.<!--TODO: make this more robust--><!--TODO: check for functions=none, in cases where item has category storage but doesn't actually store, etc.-->
     |#default=the Player can interact with the object.
     |#default=the Player can interact with the object.
Line 298: Line 271:
* fix extra spacing when no collection param provided - temporary quest furniture, dream styles too? - avoided for now
* fix extra spacing when no collection param provided - temporary quest furniture, dream styles too? - avoided for now
* verify placement/environment/functions consistent with new usage - also verify seating/sit, and lighting
* verify placement/environment/functions consistent with new usage - also verify seating/sit, and lighting
*improve language for surface area/table language
* establish consistent order of params, particularly for collection, placement
*improve language for surface area/table language - verify "XX slots" use case
*memory frame (cycling)
*memory frame (cycling)
*Hairstyles (e.g. Short Fringed Wavy Bob, Short Beard -- Can be obtained from Clothing Pouches. Is not labeled in-game - name is only known if obtaining via a Clothing Pouch.
*Hairstyles (e.g. Short Fringed Wavy Bob, Short Beard -- Can be obtained from Clothing Pouches. Is not labeled in-game - name is only known if obtaining via a Clothing Pouch.
Line 331: Line 305:
*'''Character Dream Style'''
*'''Character Dream Style'''
*'''House Dream Style'''
*'''House Dream Style'''
*'''Tool Dream Style'''
*'''Temporary Quest Furniture'''
*'''Temporary Quest Furniture'''


Line 361: Line 336:
*'''Green Reward Chest, Scrooge's Store''' - must also specify the '''found''' parameter
*'''Green Reward Chest, Scrooge's Store''' - must also specify the '''found''' parameter
*'''Pickup, Scrooge's Store''' - must also specify the '''found''' parameter
*'''Pickup, Scrooge's Store''' - must also specify the '''found''' parameter
*'''Pickup''' - must also specify the '''found''' parameter
*'''Village Task''' - must also specify '''taskLinkedName''' (with formatting, if relevant), and '''taskRequirements'''
*'''Village Task''' - must also specify '''taskLinkedName''' (with formatting, if relevant), and '''taskRequirements'''
*'''Premium Shop''' - must also specify the '''bundleName''' and '''bundlePrice''' parameters
*'''Premium Shop''' - must also specify the '''bundleName''' and '''bundlePrice''' parameters
Line 426: Line 402:
====note====
====note====
-->
-->




Line 486: Line 460:
</pre>
</pre>
{{ItemDescription
{{ItemDescription
|Celestial Sea Turtle|type=Companion
|Celestial Sea Turtle
|type=Companion
|critterType=Sea Turtle
|critterType=Sea Turtle
|from=Founder's Pack: Deluxe Edition
|from=Founder's Pack: Deluxe Edition
Line 554: Line 529:
|bundleName=Purple Cottage
|bundleName=Purple Cottage
|bundlePrice=3000
|bundlePrice=3000
}}
===Dream Style - Tool===
<pre>
{{ItemDescription
|Nefarious Fishing Rod
|type=Tool Dream Style
|tool=Fishing Pole
|from=Premium Shop
|bundleName=Nefarious Set
|bundlePrice=3750
|clothingCollection=no
}}
</pre>
{{ItemDescription
|Nefarious Fishing Rod
|type=Tool Dream Style
|tool=Fishing Pole
|from=Premium Shop
|bundleName=Nefarious Set
|bundlePrice=3750
|clothingCollection=no
}}
}}
===Furniture===
===Furniture===
moderator
27,386

edits

Navigation menu