Difference between revisions of "Template:Description/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(update)
(update)
Line 24: Line 24:
  
 
{{Description|700}}
 
{{Description|700}}
 +
 +
==Recipes/Blueprints==
 +
These take a second parameter, the name of the item in the wiki's native language.
 +
<pre>{{Description|Recipe|Lucky Lunch}}
 +
{{Description|Blueprint|Stone Brazier}}</pre>
 +
 +
===Spanish Example===
 +
In Spanish, for example, this would look like:
 +
<pre>{{Description|Recipe|Almuerzo de la suerte}}
 +
{{Description|Blueprint|Brasero de piedra}}</pre>
 +
...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:
 +
<pre>{{Description|Recipe|幸运午餐}}
 +
{{Description|Blueprint|石头火炬}}</pre>
 +
...which would result in
 +
 +
一个用于制作 幸运午餐 的配方
 +
 +
用于制造 石头火炬 的设计图
 +
 
==Notes==
 
==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.
 
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.

Revision as of 20:10, 11 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:

  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. Strings\StringsFromCSFiles.xnb (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)