Difference between revisions of "Template:Description/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(add 1_6_Strings.xnb)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
==Parameter==
 
==Parameter==
The name of the item in English (or the [[Modding:Object_data|item ID]] from <tt>Content\Data\ObjectInformation.xnb</tt>).
+
The name of the item in English (or the [[Modding:Items|item ID]] from <samp>Content\Data\ObjectInformation.xnb</samp>).
  
 
==Use==
 
==Use==
Line 54: Line 54:
  
 
Items from the following data files are included:
 
Items from the following data files are included:
#<tt>Data\BigCraftablesInformation.xnb</tt>
+
#<samp>Data\BigCraftablesInformation.xnb</samp>
#<tt>Data\Blueprints.xnb</tt>
+
#<samp>Data\Blueprints.xnb</samp>
#<tt>Data\Boots.xnb</tt>
+
#<samp>Data\Boots.xnb</samp>
#<tt>Data\Hats.xnb</tt>
+
#<samp>Data\Hats.xnb</samp>
#<tt>Data\ObjectInformation.xnb</tt>
+
#<samp>Data\ObjectInformation.xnb</samp>
#<tt>Data\weapons.xnb</tt>
+
#<samp>Data\weapons.xnb</samp>
#<tt>Data\Furniture.xnb</tt> (Catalogue & Furniture Catalogue names)
+
#<samp>Data\Furniture.xnb</samp> (Catalogue & Furniture Catalogue names)
#<tt>Strings\Objects.xnb</tt> (Catalogue & Furniture Catalogue descriptions)
+
#<samp>Strings\Objects.xnb</samp> (Catalogue & Furniture Catalogue descriptions)
#<tt>Data\FarmAnimals.xnb</tt> (name of Void Chicken)
+
#<samp>Data\FarmAnimals.xnb</samp> (name of Void Chicken)
#<tt>Strings\StringsFromCSFiles.xnb</tt> (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)
+
#<samp>Strings\StringsFromCSFiles.xnb</samp> (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)
 +
#<samp>Strings\1_6_Strings.xnb</samp> (various additions in version 1.6.x)
  
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
+
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}</includeonly>
 

Latest revision as of 22:49, 30 March 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)