Difference between revisions of "Template:Description"

From Stardew Valley Wiki
Jump to navigation Jump to search
(testing a template for automatically populating item descriptions from data files)
 
(Add meowmere)
(108 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{italic|}}}|false||<i>}}{{#switch:{{{1|}}}
+
<onlyinclude>{{#switch:{{lc:{{{1|}}}}}
|16|Wild Horseradish=A spicy root found in the spring.
+
|16|wild horseradish=A spicy root found in the spring.
|18|Daffodil=A traditional spring flower that makes a nice gift.
+
|18|daffodil=A traditional spring flower that makes a nice gift.
|20|Leek=A tasty relative of the onion.
+
|20|leek=A tasty relative of the onion.
|22|Dandelion=Not the prettiest flower, but the leaves make a good salad.
+
|22|dandelion=Not the prettiest flower, but the leaves make a good salad.
|24|Parsnip=A spring tuber closely related to the carrot. It has an earthy taste and is full of nutrients.
+
|24|parsnip=A spring tuber closely related to the carrot. It has an earthy taste and is full of nutrients.
|30|Lumber=A versatile resource used for building and fuel.
+
|60|emerald=A precious stone with a brilliant green color.
|60|Emerald=A precious stone with a brilliant green color.
+
|62|aquamarine=A shimmery blue-green gem.
|62|Aquamarine=A shimmery blue-green gem .
+
|64|ruby=A precious stone that is sought after for its rich color and beautiful luster.
|64|Ruby=A precious stone that is sought after for its rich color and beautiful luster.
+
|66|amethyst=A purple variant of quartz.
|66|Amethyst=A purple variant of quartz.
+
|68|topaz=Fairly common but still prized for its beauty.
|68|Topaz=Fairly common but still prized for its beauty.
+
|69|banana sapling=Takes 28 days to produce a mature Banana tree. Bears fruit in the summer, or all year round when planted on Ginger Island.
|70|Jade=A pale green ornamental stone.
+
|70|jade=A pale green ornamental stone.
|72|Diamond=A rare and valuable gem.
+
|71|trimmed lucky purple shorts=Purple silk shorts trimmed in luxurious gold...
|74|Prismatic Shard=A very rare and powerful substance with unknown origins.
+
|72|diamond=A rare and valuable gem.
|78|Cave Carrot=A starchy snack found in caves. It helps miners work longer.
+
|73|golden walnut=To the parrots of Ginger Island, this nut is the finest delicacy.
|79|Secret Note=It's old and crumpled, but if you look closely you can make out the details...
+
|74|prismatic shard=A very rare and powerful substance with unknown origins.
|80|Quartz=A clear crystal commonly found in caves and mines.
+
|78|cave carrot=A starchy snack found in caves. It helps miners work longer.
|82|Fire Quartz=A glowing red crystal commonly found near hot lava.
+
|79|secret note=It's old and crumpled, but if you look closely you can make out the details...
|84|Frozen Tear=A crystal fabled to be the frozen tears of a yeti.
+
|80|quartz=A clear crystal commonly found in caves and mines.
|86|Earth Crystal=A resinous substance found near the surface.
+
|82|fire quartz=A glowing red crystal commonly found near hot lava.
|88|Coconut=A seed of the coconut palm. It has many culinary uses.
+
|84|frozen tear=A crystal fabled to be the frozen tears of a yeti.
|90|Cactus Fruit=The sweet fruit of the prickly pear cactus.
+
|86|earth crystal=A resinous substance found near the surface.
|92|Sap=A fluid obtained from trees.
+
|88|coconut=A seed of the coconut palm. It has many culinary uses.
|93|Torch=Provides a modest amount of light.
+
|90|cactus fruit=The sweet fruit of the prickly pear cactus.
|96|Dwarf Scroll I=A yellowed scroll of parchment filled with dwarven script. This one's tied with a red bow.
+
|91|banana=A sweet, starchy tropical fruit.
|97|Dwarf Scroll II=A yellowed scroll of parchment filled with dwarven script. This one's tied with a green ribbon.
+
|92|sap=A fluid obtained from trees.
|98|Dwarf Scroll III=A yellowed scroll of parchment filled with dwarven script. This one's tied with
+
|93|torch=Provides a modest amount of light.
 +
|96|dwarf scroll i=A yellowed scroll of parchment filled with dwarven script. This one's tied with a red bow.
 +
|97|dwarf scroll ii=A yellowed scroll of parchment filled with dwarven script. This one's tied with a green ribbon.
 +
|98|dwarf scroll iii=A yellowed scroll of parchment filled with dwarven script. This one's tied with a blue rope.
 +
|99|dwarf scroll iv=A yellowed scroll of parchment filled with dwarven script. This one's tied with a golden chain.
 +
|100|chipped amphora=An ancient vessel made of ceramic material. Used to transport both dry and wet goods.
 +
|101|arrowhead=A crudely fashioned point used for hunting.
 +
|102|lost book=Writings from a wide variety of time periods.
 +
|103|ancient doll=An ancient doll covered in grime. This doll may have been used as a toy, a decoration, or a prop in some kind of ritual.
 +
|104|elvish jewelry=Dirty but still beautiful. On the side is a flowing script thought by some to be the ancient language of the elves. No Elvish bones have ever been found.
 +
|105|chewing stick=Ancient people chewed on these to keep their teeth clean.
 +
|106|ornamental fan=This exquisite fan most likely belonged to a noblewoman. Historians believe that the valley was a popular sixth-era vacation spot for the wealthy.
 +
|107|dinosaur egg=A giant dino egg... The entire shell is still intact!
 +
|108|rare disc=A heavy black disc studded with peculiar red stones. When you hold it, you're overwhelmed with a feeling of dread.
 +
|109|ancient sword=It's the remains of an ancient sword. Most of the blade has turned to rust, but the hilt is very finely crafted.
 +
|110|rusty spoon=A plain old spoon, probably ten years old. Not very interesting.
 +
|111|rusty spur=An old spur that was once attached to a cowboy's boot. People must have been raising animals in this area for many generations.
 +
|112|rusty cog=A well preserved cog that must have been part of some ancient machine. This could be dwarven technology.
 +
|113|chicken statue=It's a statue of a chicken on a bronze base. The ancient people of this area must have been very fond of chickens.
 +
|114|ancient seed=It's a dry old seed from some ancient plant. By all appearances it's long since dead...
 +
|115|prehistoric tool=Some kind of gnarly old digging tool.
 +
|116|dried starfish=A starfish from the primordial ocean. It's an unusually pristine specimen!
 +
|117|anchor=It may have belonged to ancient pirates.
 +
|118|glass shards=A mixture of glass shards smoothed by
 
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
<noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 16:56, 23 April 2024

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:

  1. Data\BigCraftablesInformation.xnb
  2. Data\Blueprints.xnb
  3. Data\Boots.xnb
  4. Data\Hats.xnb
  5. Data\ObjectInformation.xnb
  6. Data\weapons.xnb
  7. Data\Furniture.xnb (Catalogue & Furniture Catalogue names)
  8. Strings\Objects.xnb (Catalogue & Furniture Catalogue descriptions)
  9. Data\FarmAnimals.xnb (name of Void Chicken)
  10. Strings\StringsFromCSFiles.xnb (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)
  11. Strings\1_6_Strings.xnb (various additions in version 1.6.x)