Difference between revisions of "Template:Description"
Margotbean (talk | contribs) (add catalogue & furn. catalogue) |
Margotbean (talk | contribs) (add animals) |
||
Line 701: | Line 701: | ||
|catalogue=Provides unlimited access to all wallpapers and floors... from the convenience of your home! | |catalogue=Provides unlimited access to all wallpapers and floors... from the convenience of your home! | ||
|furniture catalogue=Provides unlimited access to almost every furniture item... from the convenience of your home! | |furniture catalogue=Provides unlimited access to almost every furniture item... from the convenience of your home! | ||
+ | |chicken=Well cared-for adult chickens lay eggs every day. Lives in the coop. | ||
+ | |duck=Happy adults lay duck eggs every other day. Lives in the coop. | ||
+ | |rabbit=These are wooly rabbits! They shed precious wool every few days. Lives in the coop. | ||
+ | |cow|dairy cow=Adults can be milked daily. A milk pail is required to harvest the milk. Lives in the barn. | ||
+ | |sheep=Adults can be shorn for wool. Sheep who form a close bond with their owners can grow wool faster. A pair of shears is required to harvest the wool. Lives in the barn. | ||
+ | |goat=Happy adults provide goat milk every other day. A milk pail is required to harvest the milk. Lives in the barn. | ||
+ | |pig=These pigs are trained to find truffles! Lives in the barn. | ||
|#default= }}</onlyinclude> | |#default= }}</onlyinclude> | ||
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | <noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 22:33, 2 October 2018
Description
This template automatically populates the description for several items.
Parameter
The name of the item in English (or the item ID from Content\Data\ObjectInformation.xnb).
Use
Enter the following:
{{Description|''item name''}} {{Description|''item number''}}
Examples
{{Description|Wild Horseradish}}
...results in
A spicy root found in the spring.
{{Description|Prismatic Shard}}
...results in
A very rare and powerful substance with unknown origins.
{{Description|700}}
...results in
A relative of the catfish that eats a variety of foods off the lake bottom.
Recipes/Blueprints
These take a second parameter, the name of the item in the wiki's native language.
{{Description|Recipe|Lucky Lunch}} {{Description|Blueprint|Stone Brazier}}
Spanish Example
In Spanish, for example, this would look like:
{{Description|Recipe|Almuerzo de la suerte}} {{Description|Blueprint|Brasero de piedra}}
...which would result in
Receta para cocinar «Almuerzo de la suerte»
Planos para fabricar «Brasero de piedra»
Chinese Example
In Chinese, this would look like:
{{Description|Recipe|幸运午餐}} {{Description|Blueprint|石头火炬}}
...which would result in
一个用于制作 幸运午餐 的配方
用于制造 石头火炬 的设计图
Notes
This template was created to assist in translating the wiki from English into other languages. In other languages, this template allows the item name to be in English or in the other language.
Items from the following data files are included:
- Data\BigCraftablesInformation.xnb
- Data\Blueprints.xnb
- Data\Boots.xnb
- Data\Hats.xnb
- Data\ObjectInformation.xnb
- Data\weapons.xnb
- Data\Furniture.xnb (Catalogue & Furniture Catalogue names)
- Strings\Objects.xnb (Catalogue & Furniture Catalogue descriptions)
- Data\FarmAnimals.xnb (name of Void Chicken)
- Strings\StringsFromCSFiles.xnb (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)
- Strings\1_6_Strings.xnb (various additions in version 1.6.x)